Modifier and Type | Method and Description |
---|---|
TempTable |
CompositeGlobalTableStore.createMatTable(String matTableName,
GroupSymbol group) |
Modifier and Type | Method and Description |
---|---|
NamedTable |
LanguageBridgeFactory.translate(GroupSymbol symbol) |
Modifier and Type | Method and Description |
---|---|
GroupSymbol |
DocumentNode.getGroupSymbol() |
Modifier and Type | Method and Description |
---|---|
void |
DocumentNode.setGroupSymbol(GroupSymbol groupSymbol) |
Constructor and Description |
---|
DocumentNode(Table table,
GroupSymbol gs,
org.apache.olingo.commons.api.edm.EdmEntityType type) |
Modifier and Type | Method and Description |
---|---|
static GroupSymbol |
BatchedUpdatePlanner.getUpdatedGroup(Command command)
Get the group being updated by the update command
|
Modifier and Type | Method and 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) |
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) |
Modifier and Type | Method and Description |
---|---|
void |
RelationalPlanner.planSubqueries(Set<GroupSymbol> groupSymbols,
PlanNode node,
List<SubqueryContainer<?>> subqueryContainers,
boolean isStackEntry) |
Modifier and Type | Method and Description |
---|---|
Set<GroupSymbol> |
PlanNode.getGroups() |
Modifier and Type | Method and Description |
---|---|
void |
PlanNode.addGroup(GroupSymbol groupID) |
Modifier and Type | Method and Description |
---|---|
void |
PlanNode.addGroups(Collection<GroupSymbol> newGroups) |
Modifier and Type | Method and Description |
---|---|
static GroupSymbol |
RulePlaceAccess.recontextSymbol(GroupSymbol oldSymbol,
Set<String> names)
Creates a uniquely named group symbol given the old symbol
|
Modifier and Type | Method and 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 returned
|
static 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 symbol
|
Modifier and Type | Method and 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 groups
|
static boolean |
JoinUtil.isNullDependent(QueryMetadataInterface metadata,
Collection<GroupSymbol> innerGroups,
Expression expr) |
boolean |
RuleMergeCriteria.planQuery(Collection<GroupSymbol> leftGroups,
boolean requireDistinct,
RuleMergeCriteria.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 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) |
Modifier and Type | Method and Description |
---|---|
Map<GroupSymbol,RelationalPlan> |
AccessNode.getSubPlans() |
Modifier and Type | Method and Description |
---|---|
void |
ProjectIntoNode.setIntoGroup(GroupSymbol group) |
Modifier and Type | Method and Description |
---|---|
void |
AccessNode.setSubPlans(Map<GroupSymbol,RelationalPlan> plans) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
static void |
ProcedureContainerResolver.findChildCommandMetadata(Command currentCommand,
GroupSymbol container,
int type,
QueryMetadataInterface metadata,
boolean inferProcedureResultSetColumns)
Set the appropriate "external" metadata for the given command
|
protected 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) |
Modifier and Type | Method and Description |
---|---|
static void |
QueryResolver.resolveSubqueries(Command command,
TempMetadataAdapter metadata,
Collection<GroupSymbol> externalGroups) |
Modifier and Type | Method and Description |
---|---|
LinkedHashSet<GroupSymbol> |
SimpleQueryResolver.QueryResolverVisitor.preTableFunctionReference(TableFunctionReference tfr) |
Modifier and Type | Method and Description |
---|---|
protected String |
InsertResolver.getPlan(QueryMetadataInterface metadata,
GroupSymbol group) |
protected String |
DeleteResolver.getPlan(QueryMetadataInterface metadata,
GroupSymbol group) |
protected String |
UpdateResolver.getPlan(QueryMetadataInterface metadata,
GroupSymbol group) |
protected String |
ExecResolver.getPlan(QueryMetadataInterface metadata,
GroupSymbol group) |
void |
SimpleQueryResolver.QueryResolverVisitor.visit(GroupSymbol obj) |
Modifier and Type | Method and Description |
---|---|
void |
SimpleQueryResolver.QueryResolverVisitor.postTableFunctionReference(TableFunctionReference obj,
LinkedHashSet<GroupSymbol> saved) |
Modifier and Type | Method and Description |
---|---|
GroupSymbol |
ResolverUtil.ResolvedLookup.getGroup() |
Modifier and Type | Method and Description |
---|---|
static List<GroupSymbol> |
ResolverUtil.findMatchingGroups(String groupContext,
Collection<GroupSymbol> groups,
QueryMetadataInterface metadata) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and 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,
GroupContext externalContext,
QueryMetadataInterface metadata) |
static void |
ResolverVisitor.resolveLanguageObject(LanguageObject obj,
Collection<GroupSymbol> groups,
QueryMetadataInterface metadata) |
void |
ResolverVisitor.setGroups(Collection<GroupSymbol> groups) |
Constructor and Description |
---|
ResolverVisitor(QueryMetadataInterface metadata,
Collection<GroupSymbol> internalGroups,
GroupContext externalContext)
Constructor for ResolveElementsVisitor.
|
Modifier and Type | Method and Description |
---|---|
static Query |
QueryRewriter.createInlineViewQuery(GroupSymbol inlineGroup,
Command nested,
QueryMetadataInterface metadata,
List<? extends Expression> actualSymbols) |
Modifier and Type | Method and Description |
---|---|
void |
LanguageVisitor.visit(GroupSymbol obj) |
Modifier and Type | Method and Description |
---|---|
GroupSymbol |
Insert.getGroup()
Returns the group being inserted into
|
GroupSymbol |
Create.getGroup() |
GroupSymbol |
Into.getGroup()
Get group held by clause
|
GroupSymbol |
UnaryFromClause.getGroup()
Get group held by clause
|
GroupSymbol |
Delete.getGroup()
Returns the group being deleted from
|
GroupSymbol |
TargetedCommand.getGroup() |
GroupSymbol |
Drop.getGroup() |
GroupSymbol |
StoredProcedure.getGroup() |
GroupSymbol |
Update.getGroup()
Returns the group being updated
|
GroupSymbol |
TableFunctionReference.getGroupSymbol()
Get GroupSymbol representing the named subquery
|
GroupSymbol |
SubqueryFromClause.getGroupSymbol()
Get GroupSymbol representing the named subquery
|
GroupSymbol |
WithQueryCommand.getGroupSymbol() |
GroupSymbol |
DynamicCommand.getIntoGroup() |
GroupSymbol |
Create.getTable() |
GroupSymbol |
Drop.getTable() |
GroupSymbol |
Alter.getTarget() |
Modifier and Type | Method and Description |
---|---|
List<GroupSymbol> |
Command.getAllExternalGroups() |
List<GroupSymbol> |
GroupContext.getAllGroups()
Flattens all contexts to a single list
|
List<GroupSymbol> |
From.getGroups()
Returns an ordered list of the groups in all sub-clauses.
|
Collection<GroupSymbol> |
GroupContext.getGroups() |
Modifier and Type | Method and 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 From
|
void |
Insert.setGroup(GroupSymbol group)
Set the group for this insert statement
|
void |
Into.setGroup(GroupSymbol group)
Set the group held by the clause
|
void |
UnaryFromClause.setGroup(GroupSymbol group)
Set the group held by the clause
|
void |
Delete.setGroup(GroupSymbol group)
Set the group for this Delete command
|
void |
StoredProcedure.setGroup(GroupSymbol group) |
void |
Update.setGroup(GroupSymbol group)
Set the group being updated
|
void |
WithQueryCommand.setGroupSymbol(GroupSymbol groupSymbol) |
void |
DynamicCommand.setIntoGroup(GroupSymbol intoGroup) |
void |
Create.setTable(GroupSymbol table) |
void |
Drop.setTable(GroupSymbol table) |
void |
Alter.setTarget(GroupSymbol target) |
Modifier and Type | Method and Description |
---|---|
void |
From.addGroups(Collection<GroupSymbol> groups)
Adds a new collection of groups to the list
|
void |
TableFunctionReference.collectGroups(Collection<GroupSymbol> groups) |
void |
UnaryFromClause.collectGroups(Collection<GroupSymbol> groups)
Collect all GroupSymbols for this from clause.
|
abstract void |
FromClause.collectGroups(Collection<GroupSymbol> groups) |
void |
JoinPredicate.collectGroups(Collection<GroupSymbol> groups)
Collect all GroupSymbols for this from clause.
|
void |
Command.pushNewResolvingContext(Collection<GroupSymbol> groups) |
Constructor and 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 values
|
Into(GroupSymbol group)
Construct object with specified group
|
SubqueryFromClause(GroupSymbol symbol,
Command command) |
UnaryFromClause(GroupSymbol group)
Construct object with specified group
|
Update(GroupSymbol group,
SetClauseList changeList)
Construct with group and change list
|
Update(GroupSymbol group,
SetClauseList changeList,
Criteria criteria)
Construct with group, change list, and criteria
|
WithQueryCommand(GroupSymbol groupSymbol,
List<ElementSymbol> columns,
QueryCommand queryExpression) |
Constructor and Description |
---|
GroupContext(GroupContext parent,
Collection<GroupSymbol> groups) |
Modifier and Type | Method and Description |
---|---|
void |
PreOrPostOrderNavigator.visit(GroupSymbol obj) |
Modifier and Type | Method and Description |
---|---|
GroupSymbol |
TriggerAction.getView() |
GroupSymbol |
CreateProcedureCommand.getVirtualGroup() |
Modifier and Type | Method and Description |
---|---|
void |
TriggerAction.setView(GroupSymbol view) |
void |
CreateProcedureCommand.setVirtualGroup(GroupSymbol virtualGroup) |
Modifier and Type | Method and 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 resolution
|
Modifier and Type | Method and 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 symbol
|
Constructor and Description |
---|
ElementSymbol(String shortName,
GroupSymbol group) |
ElementSymbol(String shortName,
GroupSymbol group,
Class<?> type) |
Modifier and Type | Method and Description |
---|---|
static SymbolMap |
SymbolMap.createSymbolMap(GroupSymbol virtualGroup,
List<? extends Expression> projectCols,
QueryMetadataInterface metadata) |
Modifier and Type | Method and Description |
---|---|
Collection<GroupSymbol> |
GroupCollectorVisitor.getGroups()
Get the groups collected by the visitor.
|
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.getGroups(LanguageObject obj,
boolean removeDuplicates)
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() |
Modifier and Type | Method and Description |
---|---|
void |
SQLStringVisitor.visit(GroupSymbol obj) |
void |
GroupCollectorVisitor.visit(GroupSymbol obj)
Visit a language object and collect symbols.
|
Modifier and Type | Method and Description |
---|---|
static void |
CorrelatedReferenceCollectorVisitor.collectReferences(LanguageObject obj,
Collection<GroupSymbol> groupSymbols,
List<Reference> correlatedReferences,
QueryMetadataInterface metadata)
Helper to use this visitor.
|
static 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 collection
|
static void |
GroupCollectorVisitor.getGroups(LanguageObject obj,
Collection<GroupSymbol> groups)
Helper to quickly get the groups from obj in the groups collection
|
static void |
GroupCollectorVisitor.getGroupsIgnoreInlineViewsAndEvaluatableSubqueries(LanguageObject obj,
Collection<GroupSymbol> groups)
Helper to quickly get the groups from obj in the groups collection
|
Constructor and Description |
---|
GroupCollectorVisitor(Collection<GroupSymbol> groups)
Construct a new visitor with the specified collection, which should
be non-null.
|
Modifier and Type | Method and Description |
---|---|
TempTable |
GlobalTableStoreImpl.createMatTable(String tableName,
GroupSymbol group) |
TempTable |
GlobalTableStore.createMatTable(String tableName,
GroupSymbol group) |
static Create |
GlobalTableStoreImpl.getCreateCommand(GroupSymbol group,
boolean matview,
QueryMetadataInterface metadata) |
Modifier and Type | Method and Description |
---|---|
GroupSymbol |
UpdateValidator.UpdateMapping.getCorrelatedName() |
GroupSymbol |
UpdateValidator.UpdateMapping.getGroup() |
Modifier and Type | Method and Description |
---|---|
protected void |
ValidationVisitor.validateGroupSupportsUpdate(GroupSymbol groupSymbol) |
void |
ValidationVisitor.visit(GroupSymbol obj) |
Copyright © 2018 JBoss by Red Hat. All rights reserved.