Uses of Class
com.metamatrix.query.util.CommandContext

Packages that use CommandContext
com.metamatrix.query.eval   
com.metamatrix.query.function   
com.metamatrix.query.function.source   
com.metamatrix.query.optimizer   
com.metamatrix.query.optimizer.batch   
com.metamatrix.query.optimizer.proc   
com.metamatrix.query.optimizer.relational   
com.metamatrix.query.optimizer.relational.rules   
com.metamatrix.query.optimizer.xml   
com.metamatrix.query.optimizer.xquery   
com.metamatrix.query.processor   
com.metamatrix.query.processor.batch   
com.metamatrix.query.processor.dynamic   
com.metamatrix.query.processor.proc   
com.metamatrix.query.processor.relational   
com.metamatrix.query.processor.xml   
com.metamatrix.query.processor.xquery   
com.metamatrix.query.rewriter   
com.metamatrix.query.sql.visitor   
com.metamatrix.query.util   
 

Uses of CommandContext in com.metamatrix.query.eval
 

Fields in com.metamatrix.query.eval declared as CommandContext
protected  CommandContext Evaluator.context
           
 

Methods in com.metamatrix.query.eval with parameters of type CommandContext
 void Evaluator.setContext(CommandContext context)
           
 

Constructors in com.metamatrix.query.eval with parameters of type CommandContext
Evaluator(java.util.Map elements, ProcessorDataManager dataMgr, CommandContext context)
           
 

Uses of CommandContext in com.metamatrix.query.function
 

Methods in com.metamatrix.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.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.user(CommandContext context)
           
 

Uses of CommandContext in com.metamatrix.query.function.source
 

Methods in com.metamatrix.query.function.source with parameters of type CommandContext
static boolean SecuritySystemFunctions.hasRole(CommandContext context, java.lang.Object roleType, java.lang.Object roleName)
           
 

Uses of CommandContext in com.metamatrix.query.optimizer
 

Methods in com.metamatrix.query.optimizer that return CommandContext
 CommandContext OptimizerContext.getCommandContext()
           
 

Methods in com.metamatrix.query.optimizer with parameters of type CommandContext
 void CommandPlanner.generateCanonical(CommandTreeNode rootNode, QueryMetadataInterface metadata, AnalysisRecord analysisRecord, CommandContext context)
          Requests that the planner generate the canonical plan(s) for the Command object(s) represented by the CommandTreeNode tree parameter.
 ProcessorPlan CommandPlanner.optimize(CommandTreeNode node, 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 capabilitiesFinder, AnalysisRecord analysisRecord, CommandContext context)
          This method is intended only for clients with a need to have access to the planning state of QueryOptimizer, which it can get to through the CommandTreeNode reference passed in.
 void OptimizerContext.setCommandContext(CommandContext commandContext)
           
 

Uses of CommandContext in com.metamatrix.query.optimizer.batch
 

Methods in com.metamatrix.query.optimizer.batch with parameters of type CommandContext
 void BatchedUpdatePlanner.generateCanonical(CommandTreeNode rootNode, QueryMetadataInterface metadata, AnalysisRecord analysisRecord, CommandContext context)
           
 ProcessorPlan BatchedUpdatePlanner.optimize(CommandTreeNode node, 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.
 

Uses of CommandContext in com.metamatrix.query.optimizer.proc
 

Methods in com.metamatrix.query.optimizer.proc with parameters of type CommandContext
 void ProcedurePlanner.generateCanonical(CommandTreeNode rootNode, QueryMetadataInterface metadata, AnalysisRecord analysisRecord, CommandContext context)
          This method does nothing as the method call to ProcedurePlanner.optimize(com.metamatrix.query.optimizer.CommandTreeNode, com.metamatrix.core.id.IDGenerator, com.metamatrix.query.metadata.QueryMetadataInterface, com.metamatrix.query.optimizer.capabilities.CapabilitiesFinder, com.metamatrix.query.analysis.AnalysisRecord, com.metamatrix.query.util.CommandContext) directly produces the ProcessorPlan for the given procedure.
 ProcessorPlan ProcedurePlanner.optimize(CommandTreeNode node, 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.
 

Uses of CommandContext in com.metamatrix.query.optimizer.relational
 

Methods in com.metamatrix.query.optimizer.relational with parameters of type CommandContext
 PlanNode OptimizerRule.execute(PlanNode plan, QueryMetadataInterface metadata, CapabilitiesFinder capabilitiesFinder, RuleStack rules, AnalysisRecord analysisRecord, CommandContext context)
           
 void RelationalPlanner.generateCanonical(CommandTreeNode node, QueryMetadataInterface metadata, AnalysisRecord analysisRecord, CommandContext context)
           
 ProcessorPlan RelationalPlanner.optimize(CommandTreeNode node, IDGenerator idGenerator, QueryMetadataInterface metadata, CapabilitiesFinder capFinder, AnalysisRecord analysisRecord, CommandContext context)
           
 

Uses of CommandContext in com.metamatrix.query.optimizer.relational.rules
 

Methods in com.metamatrix.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 depenendent 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)
          Verifies
 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 RuleRemoveSorts.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 com.metamatrix.query.optimizer.xml
 

Methods in com.metamatrix.query.optimizer.xml with parameters of type CommandContext
 void XMLPlanner.generateCanonical(CommandTreeNode rootNode, QueryMetadataInterface metadata, AnalysisRecord analysisRecord, CommandContext context)
           
 ProcessorPlan XMLPlanner.optimize(CommandTreeNode node, IDGenerator idGenerator, QueryMetadataInterface metadata, CapabilitiesFinder capFinder, AnalysisRecord analysisRecord, CommandContext context)
           
 

Uses of CommandContext in com.metamatrix.query.optimizer.xquery
 

Methods in com.metamatrix.query.optimizer.xquery with parameters of type CommandContext
 void XQueryPlanner.generateCanonical(CommandTreeNode node, QueryMetadataInterface metadata, AnalysisRecord analysisRecord, CommandContext context)
           
 ProcessorPlan XQueryPlanner.optimize(CommandTreeNode node, IDGenerator idGenerator, QueryMetadataInterface metadata, CapabilitiesFinder capFinder, AnalysisRecord analysisRecord, CommandContext context)
           
 

Uses of CommandContext in com.metamatrix.query.processor
 

Methods in com.metamatrix.query.processor that return CommandContext
 CommandContext BaseProcessorPlan.getContext()
           
 CommandContext QueryProcessor.getContext()
           
 CommandContext ProcessorPlan.getContext()
          Get the processor context, which can be modified.
 

Methods in com.metamatrix.query.processor with parameters of type CommandContext
 QueryProcessor QueryProcessor.ProcessorFactory.createQueryProcessor(java.lang.String query, java.lang.String recursionGroup, CommandContext commandContext)
           
 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.
 java.lang.Object TempTableDataManager.lookupCodeValue(CommandContext context, java.lang.String codeTableName, java.lang.String returnElementName, java.lang.String keyElementName, java.lang.Object keyValue)
           
 void BaseProcessorPlan.setContext(CommandContext context)
           
 

Constructors in com.metamatrix.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 com.metamatrix.query.processor.batch
 

Methods in com.metamatrix.query.processor.batch with parameters of type CommandContext
 void BatchedUpdatePlan.initialize(CommandContext context, ProcessorDataManager dataMgr, BufferManager bufferMgr)
           
 

Uses of CommandContext in com.metamatrix.query.processor.dynamic
 

Constructors in com.metamatrix.query.processor.dynamic with parameters of type CommandContext
SqlEval(BufferManager bufferMgr, CommandContext context, java.lang.String parentGroup)
           
 

Uses of CommandContext in com.metamatrix.query.processor.proc
 

Methods in com.metamatrix.query.processor.proc that return CommandContext
 CommandContext ProcedurePlan.getContext()
           
 

Methods in com.metamatrix.query.processor.proc with parameters of type CommandContext
 void ProcedurePlan.initialize(CommandContext context, ProcessorDataManager dataMgr, BufferManager bufferMgr)
           
 

Uses of CommandContext in com.metamatrix.query.processor.relational
 

Methods in com.metamatrix.query.processor.relational that return CommandContext
 CommandContext RelationalNode.getContext()
           
 

Methods in com.metamatrix.query.processor.relational with parameters of type CommandContext
 void ProjectNode.initialize(CommandContext context, BufferManager bufferManager, ProcessorDataManager dataMgr)
           
 void RelationalNode.initialize(CommandContext context, BufferManager bufferManager, ProcessorDataManager dataMgr)
           
 void JoinNode.initialize(CommandContext context, BufferManager bufferManager, ProcessorDataManager dataMgr)
           
 void SelectNode.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)
           
 

Constructors in com.metamatrix.query.processor.relational with parameters of type CommandContext
SubqueryAwareEvaluator(java.util.Map elements, ProcessorDataManager dataMgr, CommandContext context, BufferManager manager)
           
 

Uses of CommandContext in com.metamatrix.query.processor.xml
 

Methods in com.metamatrix.query.processor.xml that return CommandContext
 CommandContext XMLProcessorEnvironment.getProcessorContext()
           
 

Methods in com.metamatrix.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 com.metamatrix.query.processor.xquery
 

Methods in com.metamatrix.query.processor.xquery with parameters of type CommandContext
 void XQueryPlan.initialize(CommandContext context, ProcessorDataManager dataMgr, BufferManager bufferMgr)
           
 

Uses of CommandContext in com.metamatrix.query.rewriter
 

Methods in com.metamatrix.query.rewriter with parameters of type CommandContext
static Command QueryRewriter.rewrite(Command command, Command procCommand, QueryMetadataInterface metadata, CommandContext context)
           
static Criteria QueryRewriter.rewriteCriteria(Criteria criteria, Command procCommand, CommandContext context, QueryMetadataInterface metadata)
          Rewrite the criteria by evaluating some trivial cases.
static Expression QueryRewriter.rewriteExpression(Expression expression, Command procCommand, CommandContext context, QueryMetadataInterface metadata)
           
static void QueryRewriter.rewriteOrderBy(QueryCommand query, Command procCommand, QueryMetadataInterface metadata, CommandContext context)
          Rewrite the order by clause.
 

Uses of CommandContext in com.metamatrix.query.sql.visitor
 

Methods in com.metamatrix.query.sql.visitor with parameters of type CommandContext
static void EvaluateExpressionVisitor.replaceExpressions(LanguageObject obj, boolean deep, ProcessorDataManager dataMgr, CommandContext context)
           
 void EvaluateExpressionVisitor.setContext(CommandContext context)
           
 

Uses of CommandContext in com.metamatrix.query.util
 

Constructors in com.metamatrix.query.util with parameters of type CommandContext
CommandContext(CommandContext context)
           
 



Copyright © 2009. All Rights Reserved.