Uses of Class
org.teiid.query.sql.symbol.GroupSymbol
-
-
Uses of GroupSymbol in org.teiid.dqp.internal.datamgr
Methods in org.teiid.dqp.internal.datamgr with parameters of type GroupSymbol Modifier and Type Method Description NamedTable
LanguageBridgeFactory. translate(GroupSymbol symbol)
-
Uses of GroupSymbol in org.teiid.query.optimizer
Methods in org.teiid.query.optimizer that return GroupSymbol Modifier and Type Method Description static GroupSymbol
BatchedUpdatePlanner. getUpdatedGroup(Command command)
Get the group being updated by the update command -
Uses of GroupSymbol in org.teiid.query.optimizer.relational
Methods in org.teiid.query.optimizer.relational with parameters of type GroupSymbol Modifier and Type Method Description static boolean
RowBasedSecurityHelper. applyRowSecurity(QueryMetadataInterface metadata, GroupSymbol group, CommandContext cc)
org.teiid.query.optimizer.relational.RelationalPlanner.PlanningStackEntry
RelationalPlanner. createPlanningStackEntry(GroupSymbol group, Command nestedCommand, boolean isUpdateProcedure, Set<org.teiid.query.optimizer.relational.RelationalPlanner.PlanningStackEntry> entries)
static Criteria
RowBasedSecurityHelper. getRowBasedFilters(QueryMetadataInterface metadata, GroupSymbol group, CommandContext cc, boolean constraintsOnly, Policy.Operation operation)
static Object
RelationalPlanner. getTrackableGroup(GroupSymbol group, QueryMetadataInterface metadata)
static List<? extends Expression>
ColumnMaskingHelper. maskColumns(List<ElementSymbol> cols, GroupSymbol group, QueryMetadataInterface metadata, CommandContext cc)
static Map<ElementSymbol,List<Set<Constant>>>
RelationalPlanner. remapPartitionInfo(GroupSymbol group, Map<ElementSymbol,List<Set<Constant>>> partitionInfo)
Method parameters in org.teiid.query.optimizer.relational with type arguments of type GroupSymbol Modifier and Type Method Description void
RelationalPlanner. planSubqueries(Set<GroupSymbol> groupSymbols, PlanNode node, List<SubqueryContainer<?>> subqueryContainers, boolean isStackEntry, boolean skipPlanning)
-
Uses of GroupSymbol in org.teiid.query.optimizer.relational.plantree
Methods in org.teiid.query.optimizer.relational.plantree that return types with arguments of type GroupSymbol Modifier and Type Method Description Set<GroupSymbol>
PlanNode. getGroups()
Methods in org.teiid.query.optimizer.relational.plantree with parameters of type GroupSymbol Modifier and Type Method Description void
PlanNode. addGroup(GroupSymbol groupID)
Method parameters in org.teiid.query.optimizer.relational.plantree with type arguments of type GroupSymbol Modifier and Type Method Description void
PlanNode. addGroups(Collection<GroupSymbol> newGroups)
-
Uses of GroupSymbol in org.teiid.query.optimizer.relational.rules
Methods in org.teiid.query.optimizer.relational.rules that return GroupSymbol Modifier and Type Method Description static GroupSymbol
RulePlaceAccess. recontextSymbol(GroupSymbol oldSymbol, Set<String> names)
Creates a uniquely named group symbol given the old symbolMethods in org.teiid.query.optimizer.relational.rules with parameters of type GroupSymbol Modifier and Type Method Description static LinkedHashMap<ElementSymbol,Expression>
FrameUtil. buildSymbolMap(GroupSymbol oldGroup, GroupSymbol newGroup, QueryMetadataInterface metadata)
creates a symbol map of elements in oldGroup mapped to corresponding elements in newGroup if newGroup is null, then a mapping of oldGroup elements to null constants will be returnedstatic void
FrameUtil. convertFrame(PlanNode startNode, GroupSymbol oldGroup, Set<GroupSymbol> newGroups, Map symbolMap, QueryMetadataInterface metadata)
static boolean
RuleRaiseAccess. matchesForeignKey(QueryMetadataInterface metadata, Collection<Object> leftIds, Collection<Object> rightIds, GroupSymbol leftGroup, boolean exact, boolean inner)
static GroupSymbol
RulePlaceAccess. recontextSymbol(GroupSymbol oldSymbol, Set<String> names)
Creates a uniquely named group symbol given the old symbolMethod parameters in org.teiid.query.optimizer.relational.rules with type arguments of type GroupSymbol Modifier and Type Method Description static void
FrameUtil. convertFrame(PlanNode startNode, GroupSymbol oldGroup, Set<GroupSymbol> newGroups, Map symbolMap, QueryMetadataInterface metadata)
static JoinType
JoinUtil. getJoinTypePreventingCriteriaOptimization(PlanNode joinNode, Set<GroupSymbol> groups)
static Object
NewCalculateCostUtil. getKeyUsed(Collection<? extends Expression> allElements, Set<GroupSymbol> groups, QueryMetadataInterface metadata, Boolean unique)
static boolean
JoinUtil. isNullDependent(QueryMetadataInterface metadata, Collection<GroupSymbol> innerGroups, Criteria crit)
Returns true if the given criteria can be anything other than false (or unknown) given all null values for elements in the inner groupsstatic boolean
JoinUtil. isNullDependent(QueryMetadataInterface metadata, Collection<GroupSymbol> innerGroups, Expression expr)
boolean
RulePlanSubqueries. planQuery(Collection<GroupSymbol> leftGroups, boolean requireDistinct, RulePlanSubqueries.PlannedResult plannedResult)
static void
RuleChooseJoinStrategy. separateCriteria(Collection<GroupSymbol> leftGroups, Collection<GroupSymbol> rightGroups, List<Expression> leftExpressions, List<Expression> rightExpressions, List<Criteria> crits, Collection<Criteria> nonEquiJoinCriteria)
static boolean
NewCalculateCostUtil. usesKey(Collection<? extends Expression> allElements, Set<GroupSymbol> groups, QueryMetadataInterface metadata, boolean unique)
-
Uses of GroupSymbol in org.teiid.query.processor.relational
Methods in org.teiid.query.processor.relational that return types with arguments of type GroupSymbol Modifier and Type Method Description Map<GroupSymbol,RelationalPlan>
AccessNode. getSubPlans()
Methods in org.teiid.query.processor.relational with parameters of type GroupSymbol Modifier and Type Method Description void
ProjectIntoNode. setIntoGroup(GroupSymbol group)
Method parameters in org.teiid.query.processor.relational with type arguments of type GroupSymbol Modifier and Type Method Description void
AccessNode. setSubPlans(Map<GroupSymbol,RelationalPlan> plans)
-
Uses of GroupSymbol in org.teiid.query.resolver
Methods in org.teiid.query.resolver that return GroupSymbol Modifier and Type Method Description static GroupSymbol
ProcedureContainerResolver. addScalarGroup(String name, TempMetadataStore metadata, GroupContext externalGroups, List<? extends Expression> symbols)
static GroupSymbol
ProcedureContainerResolver. addScalarGroup(String name, TempMetadataStore metadata, GroupContext externalGroups, List<? extends Expression> symbols, boolean updatable)
static GroupSymbol
ProcedureContainerResolver. addScalarGroup(String name, TempMetadataStore metadata, GroupContext externalGroups, List<? extends Expression> symbols, boolean[] updatable)
Methods in org.teiid.query.resolver with parameters of type GroupSymbol Modifier and Type Method Description static void
ProcedureContainerResolver. findChildCommandMetadata(Command currentCommand, GroupSymbol container, int type, QueryMetadataInterface metadata, boolean inferProcedureResultSetColumns)
Set the appropriate "external" metadata for the given commandprotected abstract String
ProcedureContainerResolver. getPlan(QueryMetadataInterface metadata, GroupSymbol group)
For a given resolver, this returns the unparsed command.static UpdateValidator.UpdateInfo
ProcedureContainerResolver. getUpdateInfo(GroupSymbol group, QueryMetadataInterface metadata)
static UpdateValidator.UpdateInfo
ProcedureContainerResolver. getUpdateInfo(GroupSymbol group, QueryMetadataInterface metadata, int type, boolean validate)
static boolean
QueryResolver. isView(GroupSymbol virtualGroup, QueryMetadataInterface qmi)
static TempMetadataStore
QueryResolver. resolveCommand(Command currentCommand, GroupSymbol container, int type, QueryMetadataInterface metadata, boolean inferProcedureResultSetColumns)
Resolve a command in a given type container and type context.static QueryNode
QueryResolver. resolveView(GroupSymbol virtualGroup, QueryNode qnode, String cacheString, QueryMetadataInterface qmi, boolean logValidation)
static void
QueryResolver. validateProjectedSymbols(GroupSymbol virtualGroup, List<? extends Expression> symbols, List<? extends Expression> projectedSymbols)
static void
QueryResolver. validateProjectedSymbols(GroupSymbol virtualGroup, QueryMetadataInterface qmi, Command result)
static String
ProcedureContainerResolver. validateUpdateInfo(GroupSymbol group, int type, UpdateValidator.UpdateInfo info)
Method parameters in org.teiid.query.resolver with type arguments of type GroupSymbol Modifier and Type Method Description static void
QueryResolver. resolveSubqueries(Command command, TempMetadataAdapter metadata, Collection<GroupSymbol> externalGroups)
-
Uses of GroupSymbol in org.teiid.query.resolver.command
Methods in org.teiid.query.resolver.command that return types with arguments of type GroupSymbol Modifier and Type Method Description LinkedHashSet<GroupSymbol>
SimpleQueryResolver.QueryResolverVisitor. preTableFunctionReference(TableFunctionReference tfr)
Methods in org.teiid.query.resolver.command with parameters of type GroupSymbol Modifier and Type Method Description protected String
DeleteResolver. getPlan(QueryMetadataInterface metadata, GroupSymbol group)
protected String
ExecResolver. getPlan(QueryMetadataInterface metadata, GroupSymbol group)
protected String
InsertResolver. getPlan(QueryMetadataInterface metadata, GroupSymbol group)
protected String
UpdateResolver. getPlan(QueryMetadataInterface metadata, GroupSymbol group)
void
SimpleQueryResolver.QueryResolverVisitor. visit(GroupSymbol obj)
Method parameters in org.teiid.query.resolver.command with type arguments of type GroupSymbol Modifier and Type Method Description void
SimpleQueryResolver.QueryResolverVisitor. postTableFunctionReference(TableFunctionReference obj, LinkedHashSet<GroupSymbol> saved)
-
Uses of GroupSymbol in org.teiid.query.resolver.util
Methods in org.teiid.query.resolver.util that return GroupSymbol Modifier and Type Method Description GroupSymbol
ResolverUtil.ResolvedLookup. getGroup()
Methods in org.teiid.query.resolver.util that return types with arguments of type GroupSymbol Modifier and Type Method Description static List<GroupSymbol>
ResolverUtil. findMatchingGroups(String groupContext, Collection<GroupSymbol> groups, QueryMetadataInterface metadata)
Methods in org.teiid.query.resolver.util with parameters of type GroupSymbol Modifier and Type Method Description static TempMetadataID
ResolverUtil. addTempGroup(TempMetadataAdapter metadata, GroupSymbol symbol, List<? extends Expression> symbols, boolean tempTable)
static TempMetadataID
ResolverUtil. addTempTable(TempMetadataAdapter metadata, GroupSymbol symbol, List<? extends Expression> symbols)
static void
ResolverUtil. clearGroupInfo(GroupSymbol group, QueryMetadataInterface metadata)
static List<ElementSymbol>
ResolverUtil. resolveElementsInGroup(GroupSymbol group, QueryMetadataInterface metadata)
Returns the resolved elements in the given group.static void
ResolverUtil. resolveGroup(GroupSymbol symbol, QueryMetadataInterface metadata)
static void
ResolverUtil. resolveImplicitTempGroup(TempMetadataAdapter metadata, GroupSymbol symbol, List symbols)
Method parameters in org.teiid.query.resolver.util with type arguments of type GroupSymbol Modifier and Type Method Description static void
ResolverUtil. findKeyPreserved(FromClause clause, Set<GroupSymbol> keyPreservingGroups, QueryMetadataInterface metadata)
static void
ResolverUtil. findKeyPreserved(Query query, Set<GroupSymbol> keyPreservingGroups, QueryMetadataInterface metadata)
static List<GroupSymbol>
ResolverUtil. findMatchingGroups(String groupContext, Collection<GroupSymbol> groups, QueryMetadataInterface metadata)
static void
ResolverVisitor. resolveLanguageObject(LanguageObject obj, Collection<GroupSymbol> groups, QueryMetadataInterface metadata)
static void
ResolverVisitor. resolveLanguageObject(LanguageObject obj, Collection<GroupSymbol> groups, GroupContext externalContext, QueryMetadataInterface metadata)
void
ResolverVisitor. setGroups(Collection<GroupSymbol> groups)
Constructor parameters in org.teiid.query.resolver.util with type arguments of type GroupSymbol Constructor Description ResolverVisitor(QueryMetadataInterface metadata, Collection<GroupSymbol> internalGroups, GroupContext externalContext)
Constructor for ResolveElementsVisitor. -
Uses of GroupSymbol in org.teiid.query.rewriter
Methods in org.teiid.query.rewriter with parameters of type GroupSymbol Modifier and Type Method Description static Query
QueryRewriter. createInlineViewQuery(GroupSymbol inlineGroup, Command nested, QueryMetadataInterface metadata, List<? extends Expression> actualSymbols)
-
Uses of GroupSymbol in org.teiid.query.sql
Methods in org.teiid.query.sql with parameters of type GroupSymbol Modifier and Type Method Description void
LanguageVisitor. visit(GroupSymbol obj)
-
Uses of GroupSymbol in org.teiid.query.sql.lang
Methods in org.teiid.query.sql.lang that return GroupSymbol Modifier and Type Method Description GroupSymbol
Create. getGroup()
GroupSymbol
Delete. getGroup()
Returns the group being deleted fromGroupSymbol
Drop. getGroup()
GroupSymbol
Insert. getGroup()
Returns the group being inserted intoGroupSymbol
Into. getGroup()
Get group held by clauseGroupSymbol
StoredProcedure. getGroup()
GroupSymbol
TargetedCommand. getGroup()
GroupSymbol
UnaryFromClause. getGroup()
Get group held by clauseGroupSymbol
Update. getGroup()
Returns the group being updatedGroupSymbol
SubqueryFromClause. getGroupSymbol()
Get GroupSymbol representing the named subqueryGroupSymbol
TableFunctionReference. getGroupSymbol()
Get GroupSymbol representing the named subqueryGroupSymbol
WithQueryCommand. getGroupSymbol()
GroupSymbol
DynamicCommand. getIntoGroup()
GroupSymbol
Create. getTable()
GroupSymbol
Drop. getTable()
GroupSymbol
Alter. getTarget()
Methods in org.teiid.query.sql.lang that return types with arguments of type GroupSymbol Modifier and Type Method Description List<GroupSymbol>
Command. getAllExternalGroups()
List<GroupSymbol>
GroupContext. getAllGroups()
Flattens all contexts to a single listList<GroupSymbol>
From. getGroups()
Returns an ordered list of the groups in all sub-clauses.Collection<GroupSymbol>
GroupContext. getGroups()
Methods in org.teiid.query.sql.lang with parameters of type GroupSymbol Modifier and Type Method Description void
Command. addExternalGroupToContext(GroupSymbol group)
void
From. addGroup(GroupSymbol group)
Adds a new group to the list (it will be wrapped in a UnaryFromClause)void
GroupContext. addGroup(GroupSymbol symbol)
boolean
From. containsGroup(GroupSymbol group)
Checks if a group is in the Fromvoid
Delete. setGroup(GroupSymbol group)
Set the group for this Delete commandvoid
Insert. setGroup(GroupSymbol group)
Set the group for this insert statementvoid
Into. setGroup(GroupSymbol group)
Set the group held by the clausevoid
StoredProcedure. setGroup(GroupSymbol group)
void
UnaryFromClause. setGroup(GroupSymbol group)
Set the group held by the clausevoid
Update. setGroup(GroupSymbol group)
Set the group being updatedvoid
WithQueryCommand. setGroupSymbol(GroupSymbol groupSymbol)
void
DynamicCommand. setIntoGroup(GroupSymbol intoGroup)
void
Create. setTable(GroupSymbol table)
void
Drop. setTable(GroupSymbol table)
void
Alter. setTarget(GroupSymbol target)
Method parameters in org.teiid.query.sql.lang with type arguments of type GroupSymbol Modifier and Type Method Description void
From. addGroups(Collection<GroupSymbol> groups)
Adds a new collection of groups to the listabstract void
FromClause. collectGroups(Collection<GroupSymbol> groups)
void
JoinPredicate. collectGroups(Collection<GroupSymbol> groups)
Collect all GroupSymbols for this from clause.void
TableFunctionReference. collectGroups(Collection<GroupSymbol> groups)
void
UnaryFromClause. collectGroups(Collection<GroupSymbol> groups)
Collect all GroupSymbols for this from clause.void
Command. pushNewResolvingContext(Collection<GroupSymbol> groups)
Constructors in org.teiid.query.sql.lang with parameters of type GroupSymbol Constructor Description Delete(GroupSymbol group)
Constructs an instance of this class given the group.Delete(GroupSymbol group, Criteria criteria)
Constructs an instance of this class given the group and criteria.DynamicCommand(Expression sql, List columns, GroupSymbol intoGroup, SetClauseList using)
Insert(GroupSymbol group, List<ElementSymbol> variables, List values)
Construct an instance with group, variable list (may be null), and valuesInto(GroupSymbol group)
Construct object with specified groupSubqueryFromClause(GroupSymbol symbol, Command command)
UnaryFromClause(GroupSymbol group)
Construct object with specified groupUpdate(GroupSymbol group, SetClauseList changeList)
Construct with group and change listUpdate(GroupSymbol group, SetClauseList changeList, Criteria criteria)
Construct with group, change list, and criteriaWithQueryCommand(GroupSymbol groupSymbol, List<ElementSymbol> columns, QueryCommand queryExpression)
Constructor parameters in org.teiid.query.sql.lang with type arguments of type GroupSymbol Constructor Description GroupContext(GroupContext parent, Collection<GroupSymbol> groups)
-
Uses of GroupSymbol in org.teiid.query.sql.navigator
Methods in org.teiid.query.sql.navigator with parameters of type GroupSymbol Modifier and Type Method Description void
PreOrPostOrderNavigator. visit(GroupSymbol obj)
-
Uses of GroupSymbol in org.teiid.query.sql.proc
Methods in org.teiid.query.sql.proc that return GroupSymbol Modifier and Type Method Description GroupSymbol
TriggerAction. getView()
GroupSymbol
CreateProcedureCommand. getVirtualGroup()
Methods in org.teiid.query.sql.proc with parameters of type GroupSymbol Modifier and Type Method Description void
TriggerAction. setView(GroupSymbol view)
void
CreateProcedureCommand. setVirtualGroup(GroupSymbol virtualGroup)
-
Uses of GroupSymbol in org.teiid.query.sql.symbol
Methods in org.teiid.query.sql.symbol that return GroupSymbol Modifier and Type Method Description GroupSymbol
GroupSymbol. clone()
Return a deep copy of this object.GroupSymbol
MultipleElementSymbol. getGroup()
GroupSymbol
ElementSymbol. getGroupSymbol()
Get the group symbol referred to by this element symbol, may be null before resolutionMethods in org.teiid.query.sql.symbol with parameters of type GroupSymbol Modifier and Type Method Description int
GroupSymbol. compareTo(GroupSymbol o)
Compare two groups and give an ordering.void
MultipleElementSymbol. setGroup(GroupSymbol group)
void
ElementSymbol. setGroupSymbol(GroupSymbol symbol)
Set the group symbol referred to by this element symbolConstructors in org.teiid.query.sql.symbol with parameters of type GroupSymbol Constructor Description ElementSymbol(String shortName, GroupSymbol group)
ElementSymbol(String shortName, GroupSymbol group, Class<?> type)
-
Uses of GroupSymbol in org.teiid.query.sql.util
Methods in org.teiid.query.sql.util with parameters of type GroupSymbol Modifier and Type Method Description static SymbolMap
SymbolMap. createSymbolMap(GroupSymbol virtualGroup, List<? extends Expression> projectCols, QueryMetadataInterface metadata)
-
Uses of GroupSymbol in org.teiid.query.sql.visitor
Methods in org.teiid.query.sql.visitor that return types with arguments of type GroupSymbol Modifier and Type Method Description Collection<GroupSymbol>
GroupCollectorVisitor. getGroups()
Get the groups collected by the visitor.static Collection<GroupSymbol>
GroupCollectorVisitor. getGroups(LanguageObject obj, boolean removeDuplicates)
Helper to quickly get the groups from obj in a collection.static Set<GroupSymbol>
GroupsUsedByElementsVisitor. getGroups(Collection<? extends LanguageObject> objects)
static Set<GroupSymbol>
GroupsUsedByElementsVisitor. getGroups(LanguageObject obj)
Helper to quickly get the groups from obj in a collection.static Collection<GroupSymbol>
GroupCollectorVisitor. getGroupsIgnoreInlineViews(LanguageObject obj, boolean removeDuplicates)
Helper to quickly get the groups from obj in a collection.Collection<GroupSymbol>
GroupCollectorVisitor. getInlineViewGroups()
Methods in org.teiid.query.sql.visitor with parameters of type GroupSymbol Modifier and Type Method Description void
GroupCollectorVisitor. visit(GroupSymbol obj)
Visit a language object and collect symbols.void
SQLStringVisitor. visit(GroupSymbol obj)
Method parameters in org.teiid.query.sql.visitor with type arguments of type GroupSymbol Modifier and Type Method Description static void
CorrelatedReferenceCollectorVisitor. collectReferences(LanguageObject obj, Collection<GroupSymbol> groupSymbols, List<Reference> correlatedReferences, QueryMetadataInterface metadata)
Helper to use this visitor.static void
GroupCollectorVisitor. getGroups(LanguageObject obj, Collection<GroupSymbol> groups)
Helper to quickly get the groups from obj in the groups collectionstatic void
GroupsUsedByElementsVisitor. getGroups(Collection<? extends LanguageObject> objects, Set<GroupSymbol> groups)
static void
GroupsUsedByElementsVisitor. getGroups(LanguageObject obj, Collection<GroupSymbol> groups)
Helper to quickly get the groups from obj in the elements collectionstatic void
GroupCollectorVisitor. getGroupsIgnoreInlineViewsAndEvaluatableSubqueries(LanguageObject obj, Collection<GroupSymbol> groups)
Helper to quickly get the groups from obj in the groups collectionConstructor parameters in org.teiid.query.sql.visitor with type arguments of type GroupSymbol Constructor Description GroupCollectorVisitor(Collection<GroupSymbol> groups)
Construct a new visitor with the specified collection, which should be non-null. -
Uses of GroupSymbol in org.teiid.query.tempdata
Methods in org.teiid.query.tempdata with parameters of type GroupSymbol Modifier and Type Method Description TempTable
GlobalTableStore. createMatTable(String tableName, GroupSymbol group)
TempTable
GlobalTableStoreImpl. createMatTable(String tableName, GroupSymbol group)
static Create
GlobalTableStoreImpl. getCreateCommand(GroupSymbol group, boolean matview, QueryMetadataInterface metadata)
-
Uses of GroupSymbol in org.teiid.query.validator
Methods in org.teiid.query.validator that return GroupSymbol Modifier and Type Method Description GroupSymbol
UpdateValidator.UpdateMapping. getCorrelatedName()
GroupSymbol
UpdateValidator.UpdateMapping. getGroup()
Methods in org.teiid.query.validator with parameters of type GroupSymbol Modifier and Type Method Description protected void
ValidationVisitor. validateGroupSupportsUpdate(GroupSymbol groupSymbol)
void
ValidationVisitor. visit(GroupSymbol obj)
-