| Methods in org.teiid.query.function.source with parameters of type CommandContext |
static boolean |
SecuritySystemFunctions.hasRole(CommandContext context,
java.lang.Object roleName)
|
static boolean |
SecuritySystemFunctions.hasRole(CommandContext context,
java.lang.Object roleType,
java.lang.Object roleName)
|
static java.sql.SQLXML |
XMLSystemFunctions.jsonToXml(CommandContext context,
java.lang.String rootName,
java.sql.Blob json)
|
static java.sql.SQLXML |
XMLSystemFunctions.jsonToXml(CommandContext context,
java.lang.String rootName,
java.sql.Clob json)
|
static XMLType |
XMLSystemFunctions.xmlConcat(CommandContext context,
XMLType xml,
java.lang.Object... other)
|
static XMLType |
XMLSystemFunctions.xmlElement(CommandContext context,
java.lang.String name,
Evaluator.NameValuePair<java.lang.String>[] namespaces,
Evaluator.NameValuePair<?>[] attributes,
java.util.List<?> contents)
Basic support for xmlelement. |
static XMLType |
XMLSystemFunctions.xmlForest(CommandContext context,
Evaluator.NameValuePair[] namespaces,
Evaluator.NameValuePair[] values)
|
static ClobType |
XMLSystemFunctions.xslTransform(CommandContext context,
java.lang.Object xml,
java.lang.Object styleSheet)
|
| Methods in org.teiid.query.optimizer with parameters of type CommandContext |
ProcessorPlan |
ProcedurePlanner.optimize(Command procCommand,
IDGenerator idGenerator,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
AnalysisRecord analysisRecord,
CommandContext context)
Produce a ProcessorPlan for the CreateUpdateProcedureCommand on the current node
of the CommandTreeNode, the procedure plan construction involves using the child
processor plans. |
ProcessorPlan |
DdlPlanner.optimize(Command command,
IDGenerator idGenerator,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
AnalysisRecord analysisRecord,
CommandContext context)
|
ProcessorPlan |
CommandPlanner.optimize(Command command,
IDGenerator idGenerator,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
AnalysisRecord analysisRecord,
CommandContext context)
Allows the planner a chance to optimize the canonical plan(s) stored in
the CommandTreeNode tree. |
ProcessorPlan |
BatchedUpdatePlanner.optimize(Command command,
IDGenerator idGenerator,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
AnalysisRecord analysisRecord,
CommandContext context)
Optimizes batched updates by batching all contiguous commands that relate to the same physical model. |
ProcessorPlan |
TriggerActionPlanner.optimize(ProcedureContainer userCommand,
TriggerAction ta,
IDGenerator idGenerator,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
AnalysisRecord analysisRecord,
CommandContext context)
|
static ProcessorPlan |
QueryOptimizer.optimizePlan(Command command,
QueryMetadataInterface metadata,
IDGenerator idGenerator,
CapabilitiesFinder capFinder,
AnalysisRecord analysisRecord,
CommandContext context)
|
| Methods in org.teiid.query.optimizer.relational.rules with parameters of type CommandContext |
static NewCalculateCostUtil.DependentCostAnalysis |
NewCalculateCostUtil.computeCostForDepJoin(PlanNode joinNode,
boolean leftIndependent,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
CommandContext context)
Computes the cost of a Dependent Join
The worst possible cost will arise from a high independent ndv (many dependent sets) and a low dependent ndv (possibly many matches per set)
This logic uses the same assumption as criteria in that ndv is used as a divisor of cardinality. |
static NewCalculateCostUtil.DependentCostAnalysis |
NewCalculateCostUtil.computeCostForDepJoin(PlanNode independentNode,
PlanNode dependentNode,
java.util.List independentExpressions,
java.util.List dependentExpressions,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
CommandContext context)
|
PlanNode |
RuleDecomposeJoin.decomposeJoin(PlanNode joinNode,
PlanNode root,
QueryMetadataInterface metadata,
CommandContext context)
|
PlanNode |
RulePushAggregates.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
|
PlanNode |
RuleCollapseSource.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
|
PlanNode |
RuleRaiseAccess.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
|
PlanNode |
RuleRemoveOptionalJoins.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
|
PlanNode |
RuleCalculateCost.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capabilitiesFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
|
PlanNode |
RulePlanProcedures.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capabilitiesFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
|
PlanNode |
RuleImplementJoinStrategy.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capabilitiesFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
|
PlanNode |
RuleAccessPatternValidation.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
|
PlanNode |
RulePlanJoins.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capabilitiesFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
|
PlanNode |
RuleValidateWhereAll.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
Verifies that a model with "supports where all" is being passed an atomic
query with a criteria. |
PlanNode |
RulePushSelectCriteria.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
Execute the rule as described in the class comments. |
PlanNode |
RuleRaiseNull.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
|
PlanNode |
RulePushNonJoinCriteria.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
Execute the rule as described in the class comments. |
PlanNode |
RuleDecomposeJoin.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capabilitiesFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
|
PlanNode |
RulePlanUnions.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capabilitiesFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
|
PlanNode |
RuleCopyCriteria.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
Execute the rule as described in the class comments. |
PlanNode |
RulePlaceAccess.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
|
PlanNode |
RuleChooseDependent.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
|
PlanNode |
RulePushLimit.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capabilitiesFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
|
PlanNode |
RuleMergeCriteria.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
|
PlanNode |
RuleAssignOutputElements.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
Execute the rule. |
PlanNode |
RuleCleanCriteria.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
|
PlanNode |
RulePlanSorts.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capabilitiesFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
|
PlanNode |
RuleChooseJoinStrategy.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
|
PlanNode |
RuleMergeVirtual.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
|
| Methods in org.teiid.query.processor with parameters of type CommandContext |
QueryProcessor |
QueryProcessor.ProcessorFactory.createQueryProcessor(java.lang.String query,
java.lang.String recursionGroup,
CommandContext commandContext,
java.lang.Object... params)
|
void |
DdlPlan.initialize(CommandContext context,
ProcessorDataManager dataMgr,
BufferManager bufferMgr)
|
void |
BatchedUpdatePlan.initialize(CommandContext context,
ProcessorDataManager dataMgr,
BufferManager bufferMgr)
|
abstract void |
ProcessorPlan.initialize(CommandContext context,
ProcessorDataManager dataMgr,
BufferManager bufferMgr)
Initialize the plan with some required pieces of data for making
queries. |
java.lang.Object |
ProcessorDataManager.lookupCodeValue(CommandContext context,
java.lang.String codeTableName,
java.lang.String returnElementName,
java.lang.String keyElementName,
java.lang.Object keyValue)
Lookup a value from a cached code table. |
TupleSource |
ProcessorDataManager.registerRequest(CommandContext context,
Command command,
java.lang.String modelName,
java.lang.String connectorBindingId,
int nodeID,
int limit)
|
void |
ProcessorPlan.setContext(CommandContext context)
|
| Methods in org.teiid.query.processor.relational with parameters of type CommandContext |
void |
ProjectNode.initialize(CommandContext context,
BufferManager bufferManager,
ProcessorDataManager dataMgr)
|
void |
GroupingNode.initialize(CommandContext context,
BufferManager bufferManager,
ProcessorDataManager dataMgr)
|
void |
AccessNode.initialize(CommandContext context,
BufferManager bufferManager,
ProcessorDataManager dataMgr)
|
void |
SelectNode.initialize(CommandContext context,
BufferManager bufferManager,
ProcessorDataManager dataMgr)
|
void |
RelationalNode.initialize(CommandContext context,
BufferManager bufferManager,
ProcessorDataManager dataMgr)
|
void |
ArrayTableNode.initialize(CommandContext context,
BufferManager bufferManager,
ProcessorDataManager dataMgr)
|
void |
TextTableNode.initialize(CommandContext context,
BufferManager bufferManager,
ProcessorDataManager dataMgr)
|
void |
UnionAllNode.initialize(CommandContext context,
BufferManager bufferManager,
ProcessorDataManager dataMgr)
|
void |
JoinNode.initialize(CommandContext context,
BufferManager bufferManager,
ProcessorDataManager dataMgr)
|
void |
RelationalPlan.initialize(CommandContext context,
ProcessorDataManager dataMgr,
BufferManager bufferMgr)
|
void |
RelationalNode.setContext(CommandContext context)
|
static void |
DependentProcedureExecutionNode.shareVariableContext(RelationalNode node,
CommandContext context)
|