Uses of Class
org.teiid.query.sql.lang.Command

Packages that use Command
org.teiid.dqp.message   
org.teiid.query.mapping.relational   
org.teiid.query.mapping.xml   
org.teiid.query.optimizer   
org.teiid.query.optimizer.relational   
org.teiid.query.optimizer.xml   
org.teiid.query.parser   
org.teiid.query.processor   
org.teiid.query.processor.relational   
org.teiid.query.resolver   
org.teiid.query.resolver.command   
org.teiid.query.rewriter   
org.teiid.query.sql.lang   
org.teiid.query.sql.proc   
org.teiid.query.sql.util   
org.teiid.query.sql.visitor   
org.teiid.query.tempdata   
org.teiid.query.validator   
 

Uses of Command in org.teiid.dqp.message
 

Methods in org.teiid.dqp.message that return Command
 Command AtomicRequestMessage.getCommand()
           
 

Methods in org.teiid.dqp.message with parameters of type Command
 void AtomicRequestMessage.setCommand(Command command)
           
 

Uses of Command in org.teiid.query.mapping.relational
 

Methods in org.teiid.query.mapping.relational that return Command
 Command QueryNode.getCommand()
          Get command corresponding to query, may be null
 

Methods in org.teiid.query.mapping.relational with parameters of type Command
 void QueryNode.setCommand(Command command)
          Set command - this is provided as a convenient place to cache this command during conversion.
 

Uses of Command in org.teiid.query.mapping.xml
 

Methods in org.teiid.query.mapping.xml that return Command
 Command ResultSetInfo.getCommand()
           
 

Methods in org.teiid.query.mapping.xml with parameters of type Command
 void ResultSetInfo.setCommand(Command cmd)
           
 

Uses of Command in org.teiid.query.optimizer
 

Methods in org.teiid.query.optimizer with parameters of type Command
static GroupSymbol BatchedUpdatePlanner.getUpdatedGroup(Command command)
          Get the group being updated by the update command
static boolean BatchedUpdatePlanner.isEligibleForBatching(Command command, QueryMetadataInterface metadata)
          Returns whether a command can be placed in a connector batch
 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 Command in org.teiid.query.optimizer.relational
 

Methods in org.teiid.query.optimizer.relational with parameters of type Command
 PlanNode RelationalPlanner.generatePlan(Command cmd)
           
 void RelationalPlanner.initialize(Command command, IDGenerator idGenerator, QueryMetadataInterface metadata, CapabilitiesFinder capFinder, AnalysisRecord analysisRecord, CommandContext context)
           
 ProcessorPlan RelationalPlanner.optimize(Command command)
           
 

Uses of Command in org.teiid.query.optimizer.xml
 

Methods in org.teiid.query.optimizer.xml with parameters of type Command
 ProcessorPlan XMLPlanner.optimize(Command command, IDGenerator idGenerator, QueryMetadataInterface metadata, CapabilitiesFinder capFinder, AnalysisRecord analysisRecord, CommandContext context)
           
 

Uses of Command in org.teiid.query.parser
 

Methods in org.teiid.query.parser that return Command
 Command SQLParser.command(ParseInfo info)
          Parse any of several command types - this is the main parser entry point.
 Command SQLParser.createTempTable(ParseInfo info)
          Parse create temp table command.
 Command SQLParser.dropTable(ParseInfo info)
          Parse drop table command.
 Command QueryParser.parseCommand(java.lang.String sql)
          Takes a SQL string representing a Command and returns the object representation.
 Command QueryParser.parseCommand(java.lang.String sql, ParseInfo parseInfo)
          Takes a SQL string representing a Command and returns the object representation.
 Command SQLParser.userCommand(ParseInfo info)
           
 

Uses of Command in org.teiid.query.processor
 

Methods in org.teiid.query.processor with parameters of type Command
 TupleSource ProcessorDataManager.registerRequest(CommandContext context, Command command, java.lang.String modelName, java.lang.String connectorBindingId, int nodeID)
           
 

Uses of Command in org.teiid.query.processor.relational
 

Methods in org.teiid.query.processor.relational that return Command
 Command AccessNode.getCommand()
           
 

Methods in org.teiid.query.processor.relational with parameters of type Command
static boolean RelationalNodeUtil.isUpdate(Command command)
          Returns whether the relational command is an update.
protected  boolean DependentAccessNode.prepareNextCommand(Command atomicCommand)
           
protected  boolean DependentProcedureAccessNode.prepareNextCommand(Command atomicCommand)
           
protected  boolean AccessNode.prepareNextCommand(Command atomicCommand)
           
 void AccessNode.setCommand(Command command)
           
static boolean RelationalNodeUtil.shouldExecute(Command command, boolean simplifyCriteria)
          Decides whether a command needs to be executed.
 

Constructor parameters in org.teiid.query.processor.relational with type arguments of type Command
BatchedUpdateNode(int nodeID, java.util.List<Command> commands, java.util.List<VariableContext> contexts, java.util.List<java.lang.Boolean> shouldEvaluate, java.lang.String modelName)
           
 

Uses of Command in org.teiid.query.resolver
 

Methods in org.teiid.query.resolver that return Command
static Command QueryResolver.expandCommand(ProcedureContainer proc, QueryMetadataInterface metadata, AnalysisRecord analysisRecord)
           
 Command ProcedureContainerResolver.expandCommand(ProcedureContainer procCommand, QueryMetadataInterface metadata, AnalysisRecord analysis)
          Expand a command by finding and attaching all subcommands to the command.
 

Methods in org.teiid.query.resolver with parameters of type Command
 java.util.Map VariableResolver.getVariableValues(Command command, QueryMetadataInterface metadata)
           
static java.util.Map QueryResolver.getVariableValues(Command command, QueryMetadataInterface metadata)
           
static TempMetadataStore QueryResolver.resolveCommand(Command currentCommand, java.util.Map externalMetadata, QueryMetadataInterface metadata, AnalysisRecord analysis)
          This implements an algorithm to resolve all the symbols created by the parser into real metadata IDs
static TempMetadataStore QueryResolver.resolveCommand(Command currentCommand, java.util.Map externalMetadata, QueryMetadataInterface metadata, AnalysisRecord analysis, boolean resolveNullLiterals)
           
static void QueryResolver.resolveCommand(Command command, QueryMetadataInterface metadata)
          This implements an algorithm to resolve all the symbols created by the parser into real metadata IDs
static void QueryResolver.resolveCommand(Command command, QueryMetadataInterface metadata, AnalysisRecord analysis)
          This implements an algorithm to resolve all the symbols created by the parser into real metadata IDs
 void CommandResolver.resolveCommand(Command command, TempMetadataAdapter metadata, AnalysisRecord analysis, boolean resolveNullLiterals)
          Resolve the command using the metadata.
 void ProcedureContainerResolver.resolveCommand(Command command, TempMetadataAdapter metadata, AnalysisRecord analysis, boolean resolveNullLiterals)
           
abstract  void ProcedureContainerResolver.resolveProceduralCommand(Command command, TempMetadataAdapter metadata, AnalysisRecord analysis)
           
static void QueryResolver.resolveSubqueries(Command command, TempMetadataAdapter metadata, AnalysisRecord analysis)
           
static void QueryResolver.setChildMetadata(Command subCommand, Command parent)
           
static void QueryResolver.setChildMetadata(Command subCommand, java.util.Map parentTempMetadata, GroupContext parentContext)
           
 

Uses of Command in org.teiid.query.resolver.command
 

Methods in org.teiid.query.resolver.command with parameters of type Command
 java.util.Map UpdateResolver.getVariableValues(Command command, QueryMetadataInterface metadata)
           
 java.util.Map InsertResolver.getVariableValues(Command command, QueryMetadataInterface metadata)
           
 void SetQueryResolver.resolveCommand(Command command, TempMetadataAdapter metadata, AnalysisRecord analysis, boolean resolveNullLiterals)
           
 void DynamicCommandResolver.resolveCommand(Command command, TempMetadataAdapter metadata, AnalysisRecord analysis, boolean resolveNullLiterals)
           
 void BatchedUpdateResolver.resolveCommand(Command command, TempMetadataAdapter metadata, AnalysisRecord analysis, boolean resolveNullLiterals)
           
 void TempTableResolver.resolveCommand(Command command, TempMetadataAdapter metadata, AnalysisRecord analysis, boolean resolveNullLiterals)
           
 void XMLQueryResolver.resolveCommand(Command command, TempMetadataAdapter metadata, AnalysisRecord analysis, boolean resolveNullLiterals)
           
 void UpdateProcedureResolver.resolveCommand(Command command, TempMetadataAdapter metadata, AnalysisRecord analysis, boolean resolveNullLiterals)
           
 void SimpleQueryResolver.resolveCommand(Command command, TempMetadataAdapter metadata, AnalysisRecord analysis, boolean resolveNullLiterals)
           
 void UpdateResolver.resolveProceduralCommand(Command command, TempMetadataAdapter metadata, AnalysisRecord analysis)
           
 void ExecResolver.resolveProceduralCommand(Command command, TempMetadataAdapter metadata, AnalysisRecord analysis)
           
 void DeleteResolver.resolveProceduralCommand(Command command, TempMetadataAdapter metadata, AnalysisRecord analysis)
           
 void InsertResolver.resolveProceduralCommand(Command command, TempMetadataAdapter metadata, AnalysisRecord analysis)
          Resolve an INSERT.
 

Uses of Command in org.teiid.query.rewriter
 

Methods in org.teiid.query.rewriter that return Command
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)
           
 

Methods in org.teiid.query.rewriter with parameters of type Command
static Query QueryRewriter.createInlineViewQuery(GroupSymbol group, Command nested, QueryMetadataInterface metadata, java.util.List<SingleElementSymbol> actualSymbols)
           
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)
           
 

Uses of Command in org.teiid.query.sql.lang
 

Classes in org.teiid.query.sql.lang with type parameters of type Command
 interface SubqueryContainer<T extends Command>
          This interface defines a common interface for all MetaMatrix SQL objects that contain subqueries.
 

Subclasses of Command in org.teiid.query.sql.lang
 class BatchedUpdateCommand
          Represents a batch of INSERT, UPDATE, DELETE, and SELECT INTO commands
 class Create
           
 class Delete
          This class represents a SQL Delete statement of the form: "DELETE FROM [WHERE ]".
 class Drop
           
 class DynamicCommand
           
 class Insert
          Represents a SQL Insert statement of the form: "INSERT INTO () VALUES ".
 class ProcedureContainer
           
 class Query
          A representation of a data query.
 class QueryCommand
          This is a common super class for the two types of query commands: Query and SetQuery.
 class SetQuery
          This object acts as a Set operator on multiple Queries - UNION, INTERSECT, and EXCEPT can be implemented with this Class
 class StoredProcedure
          Represents a StoredProcedure statement of the form:
 class TranslatableProcedureContainer
           
 class Update
          Represents a SQL Update statement of the form: "UPDATE SET = , ...
 

Methods in org.teiid.query.sql.lang that return Command
 Command SubqueryFromClause.getCommand()
          Get command held by clause
 Command ExistsCriteria.getCommand()
           
 Command UnaryFromClause.getExpandedCommand()
           
 

Methods in org.teiid.query.sql.lang that return types with arguments of type Command
 java.util.List<Command> Command.getSubCommands()
          Gets the subCommands (both embedded and non-embedded) under this command.
 

Methods in org.teiid.query.sql.lang with parameters of type Command
 void BatchedUpdateCommand.addSubCommand(Command command)
          Add sub command
protected  void Command.copyMetadataState(Command copy)
           
protected  boolean Command.sameOptionAndHint(Command cmd)
           
 void SubqueryFromClause.setCommand(Command command)
          Set the command held by the clause
 void ExistsCriteria.setCommand(Command subqueryCommand)
           
 void UnaryFromClause.setExpandedCommand(Command expandedCommand)
           
 

Constructors in org.teiid.query.sql.lang with parameters of type Command
ExistsCriteria(Command subqueryCommand)
           
SubqueryFromClause(GroupSymbol symbol, Command command)
           
SubqueryFromClause(java.lang.String name, Command command)
          Construct object with specified command and name
 

Uses of Command in org.teiid.query.sql.proc
 

Subclasses of Command in org.teiid.query.sql.proc
 class CreateUpdateProcedureCommand
           This class represents a update procedure in the storedprocedure language.
 

Methods in org.teiid.query.sql.proc that return Command
 Command AssignmentStatement.getCommand()
          Deprecated. 
 Command CommandStatement.getCommand()
          Get the command on this statement.
 Command LoopStatement.getCommand()
           
 Command CreateUpdateProcedureCommand.getResultsCommand()
           
 Command CreateUpdateProcedureCommand.getUserCommand()
          Get the user's command to which this obj which is the subcommand
 

Methods in org.teiid.query.sql.proc with parameters of type Command
 void AssignmentStatement.setCommand(Command command)
           
 void CommandStatement.setCommand(Command command)
           
 void LoopStatement.setCommand(Command command)
          Sets the command.
 void CreateUpdateProcedureCommand.setResultsCommand(Command command)
           
 void CreateUpdateProcedureCommand.setUserCommand(Command command)
          Set the user's command to which this obj which is the subcommand
 

Constructors in org.teiid.query.sql.proc with parameters of type Command
AssignmentStatement(ElementSymbol variable, Command value)
          Deprecated. 
CommandStatement(Command value)
          Constructor for CommandStatement.
DeclareStatement(ElementSymbol variable, java.lang.String varType, Command value)
          Deprecated. 
LoopStatement(Block block, Command query, java.lang.String cursorName)
           
 

Uses of Command in org.teiid.query.sql.util
 

Methods in org.teiid.query.sql.util with parameters of type Command
static CreateUpdateProcedureCommand UpdateProcedureGenerator.createProcedure(int procedureType, java.lang.String virtualGroup, Command queryTransformation, QueryMetadataInterface metadata)
          Create CreateUpdateProcedureCommand for the specific virtual group.
static void ElementSymbolOptimizer.fullyQualifyElements(Command command)
          This method will convert all elements in a command to their fully qualified name.
static void ElementSymbolOptimizer.optimizeElements(Command command, QueryMetadataInterface metadata)
          This method will convert all elements in a command to their shortest possible unambiguous name.
 

Uses of Command in org.teiid.query.sql.visitor
 

Methods in org.teiid.query.sql.visitor that return types with arguments of type Command
 java.util.List<Command> CommandCollectorVisitor.getCommands()
          Get the commands collected by the visitor.
static java.util.List<Command> CommandCollectorVisitor.getCommands(Command command)
          Helper to quickly get the commands from obj
 

Methods in org.teiid.query.sql.visitor with parameters of type Command
static java.util.List<Command> CommandCollectorVisitor.getCommands(Command command)
          Helper to quickly get the commands from obj
 

Uses of Command in org.teiid.query.tempdata
 

Methods in org.teiid.query.tempdata with parameters of type Command
 TupleSource TempTableDataManager.registerRequest(CommandContext context, Command command, java.lang.String modelName, java.lang.String connectorBindingId, int nodeID)
           
 

Uses of Command in org.teiid.query.validator
 

Fields in org.teiid.query.validator declared as Command
protected  Command AbstractValidationVisitor.currentCommand
           
 

Methods in org.teiid.query.validator with parameters of type Command
protected  boolean AbstractValidationVisitor.isXMLCommand(Command command)
          Check to verify if the query would return XML results.
protected  void ValidationVisitor.validateHasProjectedSymbols(Command obj)
           
protected  void ValidationVisitor.validateNoXMLProcedures(Command obj)
          This method can be used to validate commands used in the stored procedure languge cannot be executed against XML documents.
protected  void ValidationVisitor.validateNoXMLUpdates(Command obj)
          This method can be used to validate Update commands cannot be executed against XML documents.
 



Copyright © 2010. All Rights Reserved.