Examples of inserseMapping()


Examples of org.teiid.query.sql.util.SymbolMap.inserseMapping()

    }
    GroupSymbol modifiedGroup = group.clone();
    SymbolMap symbolMap = createSymbolMap(modifiedGroup, symbols, sourceNode, metadata);
    sourceNode.setProperty(Info.SYMBOL_MAP, symbolMap);
   
    FrameUtil.convertFrame(sourceNode, group, Collections.singleton(modifiedGroup), symbolMap.inserseMapping(), metadata);
  }

  private boolean canPushGroupByToUnionChild(QueryMetadataInterface metadata,
      CapabilitiesFinder capFinder,
      List<SingleElementSymbol> groupingExpressions,
View Full Code Here

Examples of org.teiid.query.sql.util.SymbolMap.inserseMapping()

    PlanNode view = RulePushAggregates.createView(group, projectedSymbols, newUnion, metadata);
   
    SymbolMap newSymbolMap = (SymbolMap)view.getProperty(Info.SYMBOL_MAP);
   
    Map<Expression, ElementSymbol> inverseMap = newSymbolMap.inserseMapping();
    toReplace.getParent().replaceChild(toReplace, view);
    Set<GroupSymbol> newGroups = Collections.singleton(group);
    for (PlanNode node : toMap) {
      FrameUtil.convertFrame(view, node.getGroups().iterator().next(), newGroups, inverseMap, metadata);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.