|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Uses of CommandContext in org.teiid.query.eval |
|---|
| Fields in org.teiid.query.eval declared as CommandContext | |
|---|---|
protected CommandContext |
Evaluator.context
|
| Methods in org.teiid.query.eval with parameters of type CommandContext | |
|---|---|
void |
Evaluator.initialize(CommandContext context,
ProcessorDataManager dataMgr)
|
| Constructors in org.teiid.query.eval with parameters of type CommandContext | |
|---|---|
Evaluator(java.util.Map elements,
ProcessorDataManager dataMgr,
CommandContext context)
|
|
| Uses of CommandContext in org.teiid.query.function |
|---|
| Methods in org.teiid.query.function with parameters of type CommandContext | |
|---|---|
static java.lang.Object |
FunctionMethods.commandPayload(CommandContext context)
|
static java.lang.Object |
FunctionMethods.commandPayload(CommandContext context,
java.lang.String param)
|
static java.lang.Object |
FunctionMethods.current_database(CommandContext context)
|
static java.lang.Object |
FunctionMethods.env(CommandContext context,
java.lang.String propertyName)
|
static java.lang.Object |
FunctionMethods.modifyTimeZone(CommandContext context,
java.sql.Timestamp value,
java.lang.String targetTimezoneString)
|
static java.lang.Object |
FunctionMethods.rand(CommandContext context)
|
static java.lang.Object |
FunctionMethods.rand(CommandContext context,
java.lang.Object seed)
|
static java.lang.Object |
FunctionMethods.session_id(CommandContext context)
|
static java.lang.Object |
FunctionMethods.user(CommandContext context)
|
| Uses of CommandContext in org.teiid.query.function.aggregate |
|---|
| Constructors in org.teiid.query.function.aggregate with parameters of type CommandContext | |
|---|---|
TextAgg(CommandContext context,
TextLine textLine)
|
|
XMLAgg(CommandContext context)
|
|
| Uses of CommandContext in org.teiid.query.function.source |
|---|
| 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)
|
| Uses of CommandContext in org.teiid.query.optimizer |
|---|
| Methods in org.teiid.query.optimizer with parameters of type CommandContext | |
|---|---|
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 |
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 |
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. |
static ProcessorPlan |
QueryOptimizer.optimizePlan(Command command,
QueryMetadataInterface metadata,
IDGenerator idGenerator,
CapabilitiesFinder capFinder,
AnalysisRecord analysisRecord,
CommandContext context)
|
| Uses of CommandContext in org.teiid.query.optimizer.relational |
|---|
| Methods in org.teiid.query.optimizer.relational with parameters of type CommandContext | |
|---|---|
PlanNode |
OptimizerRule.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capabilitiesFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
|
static java.lang.Object |
RelationalPlanner.getGlobalTempTableMetadataId(GroupSymbol table,
java.lang.String matTableName,
CommandContext context,
QueryMetadataInterface metadata,
AnalysisRecord analysisRecord)
|
void |
RelationalPlanner.initialize(Command command,
IDGenerator idGenerator,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
AnalysisRecord analysisRecord,
CommandContext context)
|
| Uses of CommandContext in org.teiid.query.optimizer.relational.rules |
|---|
| Methods in org.teiid.query.optimizer.relational.rules with parameters of type CommandContext | |
|---|---|
static float |
NewCalculateCostUtil.computeCostForDepJoin(PlanNode joinNode,
boolean leftIndependent,
JoinNode.JoinStrategyType joinStrategy,
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 float |
NewCalculateCostUtil.computeCostForJoin(PlanNode leftChildNode,
PlanNode rightChildNode,
JoinNode.JoinStrategyType joinStrategy,
QueryMetadataInterface metadata,
CommandContext context)
Computes the cost of a Merge Join |
PlanNode |
RuleRemoveOptionalJoins.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
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 |
RuleChooseJoinStrategy.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 |
RuleMergeCriteria.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
|
PlanNode |
RuleAccessPatternValidation.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 |
RulePlanProcedures.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capabilitiesFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
|
PlanNode |
RuleChooseDependent.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 |
RulePlanUnions.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capabilitiesFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
|
PlanNode |
RulePlaceAccess.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)
|
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 |
RuleAssignOutputElements.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
Execute the rule. |
PlanNode |
RuleRaiseAccess.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 |
RuleCleanCriteria.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
|
PlanNode |
RulePushAggregates.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
|
PlanNode |
RuleRaiseNull.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
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 |
RuleImplementJoinStrategy.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capabilitiesFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
|
PlanNode |
RuleCalculateCost.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capabilitiesFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
|
PlanNode |
RulePushLimit.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capabilitiesFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
|
| Uses of CommandContext in org.teiid.query.optimizer.xml |
|---|
| Methods in org.teiid.query.optimizer.xml with parameters of type CommandContext | |
|---|---|
ProcessorPlan |
XMLPlanner.optimize(Command command,
IDGenerator idGenerator,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
AnalysisRecord analysisRecord,
CommandContext context)
|
| Uses of CommandContext in org.teiid.query.processor |
|---|
| Methods in org.teiid.query.processor that return CommandContext | |
|---|---|
CommandContext |
QueryProcessor.getContext()
|
CommandContext |
ProcessorPlan.getContext()
Get the processor context, which can be modified. |
| 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)
|
abstract void |
ProcessorPlan.initialize(CommandContext context,
ProcessorDataManager dataMgr,
BufferManager bufferMgr)
Initialize the plan with some required pieces of data for making queries. |
void |
BatchedUpdatePlan.initialize(CommandContext context,
ProcessorDataManager dataMgr,
BufferManager bufferMgr)
|
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)
|
void |
ProcessorPlan.setContext(CommandContext context)
|
| Constructors in org.teiid.query.processor with parameters of type CommandContext | |
|---|---|
QueryProcessor(ProcessorPlan plan,
CommandContext context,
BufferManager bufferMgr,
ProcessorDataManager dataMgr)
Construct a processor with all necessary information to process. |
|
| Uses of CommandContext in org.teiid.query.processor.proc |
|---|
| Methods in org.teiid.query.processor.proc that return CommandContext | |
|---|---|
CommandContext |
ProcedurePlan.getContext()
|
| Methods in org.teiid.query.processor.proc with parameters of type CommandContext | |
|---|---|
void |
ProcedurePlan.initialize(CommandContext context,
ProcessorDataManager dataMgr,
BufferManager bufferMgr)
|
| Uses of CommandContext in org.teiid.query.processor.relational |
|---|
| Methods in org.teiid.query.processor.relational that return CommandContext | |
|---|---|
CommandContext |
RelationalNode.getContext()
|
| Constructors in org.teiid.query.processor.relational with parameters of type CommandContext | |
|---|---|
SubqueryAwareEvaluator(java.util.Map elements,
ProcessorDataManager dataMgr,
CommandContext context,
BufferManager manager)
|
|
| Uses of CommandContext in org.teiid.query.processor.xml |
|---|
| Methods in org.teiid.query.processor.xml that return CommandContext | |
|---|---|
CommandContext |
XMLProcessorEnvironment.getProcessorContext()
|
| Methods in org.teiid.query.processor.xml with parameters of type CommandContext | |
|---|---|
void |
XMLPlan.initialize(CommandContext context,
ProcessorDataManager dataMgr,
BufferManager bufferMgr)
|
void |
XMLProcessorEnvironment.initialize(CommandContext context,
ProcessorDataManager dataMgr,
BufferManager bufferMgr)
|
| Uses of CommandContext in org.teiid.query.rewriter |
|---|
| Methods in org.teiid.query.rewriter with parameters of type CommandContext | |
|---|---|
static Command |
QueryRewriter.evaluateAndRewrite(Command command,
Evaluator eval,
CommandContext context,
QueryMetadataInterface metadata)
|
static Command |
QueryRewriter.rewrite(Command command,
CreateUpdateProcedureCommand procCommand,
QueryMetadataInterface metadata,
CommandContext context,
java.util.Map variableValues,
int commandType)
|
static Command |
QueryRewriter.rewrite(Command command,
QueryMetadataInterface metadata,
CommandContext context)
|
static Criteria |
QueryRewriter.rewriteCriteria(Criteria criteria,
CreateUpdateProcedureCommand procCommand,
CommandContext context,
QueryMetadataInterface metadata)
Rewrite the criteria by evaluating some trivial cases. |
static Expression |
QueryRewriter.rewriteExpression(Expression expression,
CreateUpdateProcedureCommand procCommand,
CommandContext context,
QueryMetadataInterface metadata)
|
| Uses of CommandContext in org.teiid.query.tempdata |
|---|
| Methods in org.teiid.query.tempdata with parameters of type CommandContext | |
|---|---|
java.lang.Object |
TempTableDataManager.lookupCodeValue(CommandContext context,
java.lang.String codeTableName,
java.lang.String returnElementName,
java.lang.String keyElementName,
java.lang.Object keyValue)
|
TupleSource |
TempTableDataManager.registerRequest(CommandContext context,
Command command,
java.lang.String modelName,
java.lang.String connectorBindingId,
int nodeID)
|
| Uses of CommandContext in org.teiid.query.util |
|---|
| Methods in org.teiid.query.util that return CommandContext | |
|---|---|
CommandContext |
CommandContext.clone()
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||