|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Command in com.metamatrix.cdk |
---|
Methods in com.metamatrix.cdk with parameters of type Command | |
---|---|
protected void |
CommandBuilder.expandAllSymbol(Command command)
Convert the "*" in "select * from..." to the list of column names for the data source. |
Uses of Command in com.metamatrix.dqp.message |
---|
Methods in com.metamatrix.dqp.message that return Command | |
---|---|
Command |
AtomicRequestMessage.getCommand()
|
Methods in com.metamatrix.dqp.message with parameters of type Command | |
---|---|
void |
AtomicRequestMessage.setCommand(Command command)
|
Uses of Command in com.metamatrix.query.mapping.relational |
---|
Methods in com.metamatrix.query.mapping.relational that return Command | |
---|---|
Command |
QueryNode.getCommand()
Get command corresponding to query, may be null |
Methods in com.metamatrix.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 com.metamatrix.query.mapping.xml |
---|
Methods in com.metamatrix.query.mapping.xml that return Command | |
---|---|
Command |
ResultSetInfo.getCommand()
|
Methods in com.metamatrix.query.mapping.xml with parameters of type Command | |
---|---|
void |
ResultSetInfo.setCommand(Command cmd)
|
Uses of Command in com.metamatrix.query.optimizer |
---|
Methods in com.metamatrix.query.optimizer that return Command | |
---|---|
Command |
CommandTreeNode.getCommand()
Returns the Command object. |
Methods in com.metamatrix.query.optimizer with parameters of type Command | |
---|---|
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 |
CommandTreeNode.setCommand(Command command)
Sets the Command object. |
Uses of Command in com.metamatrix.query.optimizer.batch |
---|
Methods in com.metamatrix.query.optimizer.batch 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 |
Uses of Command in com.metamatrix.query.optimizer.relational |
---|
Methods in com.metamatrix.query.optimizer.relational with parameters of type Command | |
---|---|
static PlanNode |
GenerateCanonical.generatePlan(Command command,
PlanHints hints,
QueryMetadataInterface metadata)
Generate an initial plan given a command. |
Uses of Command in com.metamatrix.query.parser |
---|
Methods in com.metamatrix.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.subquery(ParseInfo info)
|
Command |
SQLParser.userCommand(ParseInfo info)
|
Uses of Command in com.metamatrix.query.processor |
---|
Methods in com.metamatrix.query.processor with parameters of type Command | |
---|---|
TupleSource |
ProcessorDataManager.registerRequest(java.lang.Object processorId,
Command command,
java.lang.String modelName,
java.lang.String connectorBindingId,
int nodeID)
|
TupleSource |
TempTableDataManager.registerRequest(java.lang.Object processorID,
Command command,
java.lang.String modelName,
java.lang.String connectorBindingId,
int nodeID)
This is the magic method. |
Uses of Command in com.metamatrix.query.processor.relational |
---|
Methods in com.metamatrix.query.processor.relational that return Command | |
---|---|
Command |
AccessNode.getCommand()
|
Methods in com.metamatrix.query.processor.relational with parameters of type Command | |
---|---|
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 com.metamatrix.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 com.metamatrix.query.resolver |
---|
Methods in com.metamatrix.query.resolver with parameters of type Command | |
---|---|
void |
ProcedureContainerResolver.expandCommand(Command command,
QueryMetadataInterface metadata,
AnalysisRecord analysis)
Expand a command by finding and attaching all subcommands to the command. |
GroupContext |
ProcedureContainerResolver.findChildCommandMetadata(Command command,
TempMetadataStore discoveredMetadata,
boolean useMetadataCommands,
QueryMetadataInterface metadata)
Find all metadata defined by this command for it's children. |
java.util.Map |
VariableResolver.getVariableValues(Command command,
QueryMetadataInterface metadata)
|
static java.util.Map |
QueryResolver.getVariableValues(Command command,
QueryMetadataInterface metadata)
|
void |
CommandResolver.resolveCommand(Command command,
boolean useMetadataCommands,
TempMetadataAdapter metadata,
AnalysisRecord analysis,
boolean resolveNullLiterals)
Resolve the command using the metadata. |
void |
ProcedureContainerResolver.resolveCommand(Command command,
boolean useMetadataCommands,
TempMetadataAdapter metadata,
AnalysisRecord analysis,
boolean resolveNullLiterals)
|
static TempMetadataStore |
QueryResolver.resolveCommand(Command currentCommand,
java.util.Map externalMetadata,
boolean useMetadataCommands,
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,
boolean useMetadataCommands,
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 |
abstract void |
ProcedureContainerResolver.resolveProceduralCommand(Command command,
boolean useMetadataCommands,
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 com.metamatrix.query.resolver.command |
---|
Methods in com.metamatrix.query.resolver.command with parameters of type Command | |
---|---|
void |
ExecResolver.expandCommand(Command command,
QueryMetadataInterface metadata,
AnalysisRecord analysis)
|
GroupContext |
ExecResolver.findChildCommandMetadata(Command command,
TempMetadataStore childMetadata,
boolean useMetadataCommands,
QueryMetadataInterface metadata)
|
GroupContext |
DeleteResolver.findChildCommandMetadata(Command command,
TempMetadataStore discoveredMetadata,
boolean useMetadataCommands,
QueryMetadataInterface metadata)
|
java.util.Map |
UpdateResolver.getVariableValues(Command command,
QueryMetadataInterface metadata)
|
java.util.Map |
ExecResolver.getVariableValues(Command command,
QueryMetadataInterface metadata)
Collect input expressions from a procedure and map them to the parameters they came from |
java.util.Map |
InsertResolver.getVariableValues(Command command,
QueryMetadataInterface metadata)
|
void |
SetQueryResolver.resolveCommand(Command command,
boolean useMetadataCommands,
TempMetadataAdapter metadata,
AnalysisRecord analysis,
boolean resolveNullLiterals)
|
void |
DynamicCommandResolver.resolveCommand(Command command,
boolean useMetadataCommands,
TempMetadataAdapter metadata,
AnalysisRecord analysis,
boolean resolveNullLiterals)
|
void |
BatchedUpdateResolver.resolveCommand(Command command,
boolean useMetadataCommands,
TempMetadataAdapter metadata,
AnalysisRecord analysis,
boolean resolveNullLiterals)
|
void |
TempTableResolver.resolveCommand(Command command,
boolean useMetadataCommands,
TempMetadataAdapter metadata,
AnalysisRecord analysis,
boolean resolveNullLiterals)
|
void |
XMLQueryResolver.resolveCommand(Command command,
boolean useMetadataCommands,
TempMetadataAdapter metadata,
AnalysisRecord analysis,
boolean resolveNullLiterals)
|
void |
UpdateProcedureResolver.resolveCommand(Command command,
boolean useMetadataCommands,
TempMetadataAdapter metadata,
AnalysisRecord analysis,
boolean resolveNullLiterals)
|
void |
XQueryResolver.resolveCommand(Command command,
boolean useMetadataCommands,
TempMetadataAdapter metadata,
AnalysisRecord analysis,
boolean resolveNullLiterals)
|
void |
SimpleQueryResolver.resolveCommand(Command command,
boolean useMetadataCommands,
TempMetadataAdapter metadata,
AnalysisRecord analysis,
boolean resolveNullLiterals)
|
void |
UpdateResolver.resolveProceduralCommand(Command command,
boolean useMetadataCommands,
TempMetadataAdapter metadata,
AnalysisRecord analysis)
|
void |
ExecResolver.resolveProceduralCommand(Command command,
boolean useMetadataCommands,
TempMetadataAdapter metadata,
AnalysisRecord analysis)
|
void |
DeleteResolver.resolveProceduralCommand(Command command,
boolean useMetadataCommands,
TempMetadataAdapter metadata,
AnalysisRecord analysis)
|
void |
InsertResolver.resolveProceduralCommand(Command command,
boolean useMetadataCommands,
TempMetadataAdapter metadata,
AnalysisRecord analysis)
Resolve an INSERT. |
Uses of Command in com.metamatrix.query.rewriter |
---|
Methods in com.metamatrix.query.rewriter that return Command | |
---|---|
static Command |
QueryRewriter.rewrite(Command command,
Command procCommand,
QueryMetadataInterface metadata,
CommandContext context)
|
Methods in com.metamatrix.query.rewriter with parameters of type Command | |
---|---|
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 Command in com.metamatrix.query.sql.lang |
---|
Subclasses of Command in com.metamatrix.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 |
class |
Drop
|
class |
DynamicCommand
|
class |
Insert
Represents a SQL Insert statement of the form: "INSERT INTO |
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 |
Update
Represents a SQL Update statement of the form: "UPDATE |
class |
XQuery
An XQuery command object |
Methods in com.metamatrix.query.sql.lang that return Command | |
---|---|
Command |
SubqueryFromClause.getCommand()
Get command held by clause |
Command |
SubqueryContainer.getCommand()
Returns the subquery Command object |
Command |
ExistsCriteria.getCommand()
|
Command |
SubquerySetCriteria.getCommand()
Get the subquery command used to produce the values for this SetCriteria. |
Command |
SubqueryCompareCriteria.getCommand()
|
Command |
UnaryFromClause.getExpandedCommand()
|
Command |
ProcedureContainer.getSubCommand()
|
Methods in com.metamatrix.query.sql.lang with parameters of type Command | |
---|---|
void |
BatchedUpdateCommand.addSubCommand(Command command)
Add sub command |
protected void |
Command.copyMetadataState(Command copy)
|
protected void |
ProcedureContainer.copyMetadataState(Command copy)
|
static int |
Command.getSubCommandsUpdatingModelCount(Command object,
QueryMetadataInterface metadata)
|
void |
SubqueryFromClause.setCommand(Command command)
Set the command held by the clause |
void |
SubqueryContainer.setCommand(Command command)
Sets the subquery Command object |
void |
ExistsCriteria.setCommand(Command subqueryCommand)
|
void |
SubquerySetCriteria.setCommand(Command command)
Set the subquery command (either a SELECT or a procedure execution). |
void |
SubqueryCompareCriteria.setCommand(Command command)
Set the subquery command (either a SELECT or a procedure execution). |
void |
UnaryFromClause.setExpandedCommand(Command expandedCommand)
|
void |
ProcedureContainer.setSubCommand(Command subCommand)
|
Constructors in com.metamatrix.query.sql.lang with parameters of type Command | |
---|---|
ExistsCriteria(Command subqueryCommand)
|
|
SubqueryCompareCriteria(Expression leftExpression,
Command subCommand,
int operator,
int predicateQuantifier)
|
|
SubqueryFromClause(GroupSymbol symbol,
Command command)
|
|
SubqueryFromClause(java.lang.String name,
Command command)
Construct object with specified command and name |
|
SubquerySetCriteria(Expression expression,
Command subCommand)
|
Uses of Command in com.metamatrix.query.sql.proc |
---|
Subclasses of Command in com.metamatrix.query.sql.proc | |
---|---|
class |
CreateUpdateProcedureCommand
This class represents a update procedure in the storedprocedure language. |
Methods in com.metamatrix.query.sql.proc that return Command | |
---|---|
Command |
AssignmentStatement.getCommand()
|
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 com.metamatrix.query.sql.proc with parameters of type Command | |
---|---|
void |
AssignmentStatement.setCommand(Command command)
|
void |
CommandStatement.setCommand(Command command)
Sets the 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 com.metamatrix.query.sql.proc with parameters of type Command | |
---|---|
CommandStatement(Command value)
Constructor for CommandStatement. |
|
LoopStatement(Block block,
Command query,
java.lang.String cursorName)
|
Uses of Command in com.metamatrix.query.sql.symbol |
---|
Methods in com.metamatrix.query.sql.symbol that return Command | |
---|---|
Command |
ScalarSubquery.getCommand()
|
Methods in com.metamatrix.query.sql.symbol with parameters of type Command | |
---|---|
void |
ScalarSubquery.setCommand(Command command)
Sets the command. |
Constructors in com.metamatrix.query.sql.symbol with parameters of type Command | |
---|---|
ScalarSubquery(Command subqueryCommand)
|
Uses of Command in com.metamatrix.query.sql.util |
---|
Methods in com.metamatrix.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 com.metamatrix.query.sql.visitor |
---|
Methods in com.metamatrix.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 obj)
Helper to quickly get the commands from obj |
static java.util.List<Command> |
CommandCollectorVisitor.getCommands(Command obj,
boolean embeddedOnly)
|
static java.util.List<Command> |
CommandCollectorVisitor.getNonEmbeddedCommands(Command obj)
|
Methods in com.metamatrix.query.sql.visitor with parameters of type Command | |
---|---|
static java.util.List<Command> |
CommandCollectorVisitor.getCommands(Command obj)
Helper to quickly get the commands from obj |
static java.util.List<Command> |
CommandCollectorVisitor.getCommands(Command obj,
boolean embeddedOnly)
|
static java.util.List<Command> |
CommandCollectorVisitor.getNonEmbeddedCommands(Command obj)
|
Uses of Command in com.metamatrix.query.tempdata |
---|
Methods in com.metamatrix.query.tempdata with parameters of type Command | |
---|---|
boolean |
TempTableStoreImpl.hasTempTable(Command command)
|
boolean |
TempTableStore.hasTempTable(Command command)
|
TupleSource |
TempTableStoreImpl.registerRequest(Command command)
|
TupleSource |
TempTableStore.registerRequest(Command command)
|
void |
TempTableStoreImpl.removeTempTable(Command command)
|
void |
TempTableStore.removeTempTable(Command command)
|
Uses of Command in com.metamatrix.query.validator |
---|
Fields in com.metamatrix.query.validator declared as Command | |
---|---|
protected Command |
AbstractValidationVisitor.currentCommand
|
Methods in com.metamatrix.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.validateGroupUpdatable(Command obj)
|
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. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |