Uses of Class
org.teiid.query.sql.lang.Command
-
-
Uses of Command in org.teiid.dqp.internal.datamgr
Methods in org.teiid.dqp.internal.datamgr with parameters of type Command Modifier and Type Method Description Command
LanguageBridgeFactory. translate(Command command)
-
Uses of Command in org.teiid.dqp.internal.process
Fields in org.teiid.dqp.internal.process declared as Command Modifier and Type Field Description protected Command
Request. userCommand
Methods in org.teiid.dqp.internal.process that return Command Modifier and Type Method Description Command
CachedResults. getCommand(String sql, QueryMetadataInterface metadata, ParseInfo info)
Command
PreparedPlan. getCommand()
Return the Command .Methods in org.teiid.dqp.internal.process with parameters of type Command Modifier and Type Method Description TupleSource
TupleSourceCache. getSharedTupleSource(CommandContext context, Command command, String modelName, RegisterRequestParameter parameterObject, BufferManager bufferMgr, ProcessorDataManager pdm)
TupleSource
DataTierManagerImpl. registerRequest(CommandContext context, Command command, String modelName, RegisterRequestParameter parameterObject)
protected void
Request. resolveCommand(Command command)
void
CachedResults. setCommand(Command command)
void
PreparedPlan. setCommand(Command commandValue)
Set the Command.boolean
AuthorizationValidator. validate(String[] originalSql, Command command, QueryMetadataInterface metadata, CommandContext commandContext, AuthorizationValidator.CommandType commandType)
Validates the given command.boolean
DefaultAuthorizationValidator. validate(String[] originalSql, Command command, QueryMetadataInterface metadata, CommandContext commandContext, AuthorizationValidator.CommandType commandType)
protected boolean
Request. validateAccess(String[] commandStr, Command command, AuthorizationValidator.CommandType type)
static void
Request. validateWithVisitor(AbstractValidationVisitor visitor, QueryMetadataInterface metadata, Command command)
-
Uses of Command in org.teiid.dqp.internal.process.multisource
Methods in org.teiid.dqp.internal.process.multisource with parameters of type Command Modifier and Type Method Description static void
MultiSourceElementReplacementVisitor. visit(String bindingName, QueryMetadataInterface metadata, Command processingCommand)
-
Uses of Command in org.teiid.dqp.message
Methods in org.teiid.dqp.message that return Command Modifier and Type Method Description Command
AtomicRequestMessage. getCommand()
Methods in org.teiid.dqp.message with parameters of type Command Modifier and Type Method Description void
AtomicRequestMessage. setCommand(Command command)
-
Uses of Command in org.teiid.odata.api
Methods in org.teiid.odata.api with parameters of type Command Modifier and Type Method Description UpdateResponse
Client. executeUpdate(Command command, List<SQLParameter> parameters)
-
Uses of Command in org.teiid.olingo.service
Methods in org.teiid.olingo.service with parameters of type Command Modifier and Type Method Description UpdateResponse
LocalClient. executeUpdate(Command query, List<SQLParameter> parameters)
-
Uses of Command in org.teiid.query.mapping.relational
Methods in org.teiid.query.mapping.relational that return Command Modifier and Type Method Description Command
QueryNode. getCommand()
Get command corresponding to query, may be nullMethods in org.teiid.query.mapping.relational with parameters of type Command Modifier and Type Method Description 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.metadata
Methods in org.teiid.query.metadata with parameters of type Command Modifier and Type Method Description static void
MetadataValidator. determineDependencies(AbstractMetadataRecord p, Command command)
-
Uses of Command in org.teiid.query.optimizer
Subclasses of Command in org.teiid.query.optimizer Modifier and Type Class Description static class
SourceTriggerActionPlanner.SourceEventCommand
Represents a source event as a Command - is localized here as it's not directly callable by a userMethods in org.teiid.query.optimizer with parameters of type Command Modifier and Type Method Description static GroupSymbol
BatchedUpdatePlanner. getUpdatedGroup(Command command)
Get the group being updated by the update commandstatic boolean
BatchedUpdatePlanner. isEligibleForBatching(Command command, QueryMetadataInterface metadata)
Returns whether a command can be placed in a connector batchProcessorPlan
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
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
DdlPlanner. optimize(Command command, IDGenerator idGenerator, QueryMetadataInterface metadata, CapabilitiesFinder capFinder, AnalysisRecord analysisRecord, CommandContext context)
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
SourceTriggerActionPlanner. optimize(Command command, 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)
-
Uses of Command in org.teiid.query.optimizer.relational
Methods in org.teiid.query.optimizer.relational that return Command Modifier and Type Method Description static Command
RowBasedSecurityHelper. checkUpdateRowBasedFilters(ProcedureContainer container, Command procedure, RelationalPlanner planner)
Methods in org.teiid.query.optimizer.relational with parameters of type Command Modifier and Type Method Description static void
RowBasedSecurityHelper. checkConstraints(Command atomicCommand, Evaluator eval)
static Command
RowBasedSecurityHelper. checkUpdateRowBasedFilters(ProcedureContainer container, Command procedure, RelationalPlanner planner)
org.teiid.query.optimizer.relational.RelationalPlanner.PlanningStackEntry
RelationalPlanner. createPlanningStackEntry(GroupSymbol group, Command nestedCommand, boolean isUpdateProcedure, Set<org.teiid.query.optimizer.relational.RelationalPlanner.PlanningStackEntry> entries)
PlanNode
RelationalPlanner. generatePlan(Command cmd)
void
RelationalPlanner. initialize(Command command, IDGenerator idGenerator, QueryMetadataInterface metadata, CapabilitiesFinder capFinder, AnalysisRecord analysisRecord, CommandContext context)
RelationalPlan
RelationalPlanner. optimize(Command command)
-
Uses of Command in org.teiid.query.parser
Methods in org.teiid.query.parser that return Command Modifier and Type Method Description Command
SQLParser. alter(ParseInfo info)
Command
SQLParser. command(ParseInfo info)
Command
SQLParser. createTempTable(ParseInfo info)
Command
SQLParser. createTrigger(ParseInfo info, boolean ddl)
Command
SQLParser. dropTable(ParseInfo info)
Command
SQLParser. explainCommand(ParseInfo info)
Command
QueryParser. parseCommand(String sql)
Takes a SQL string representing a Command and returns the object representation.Command
QueryParser. parseCommand(String sql, ParseInfo parseInfo)
Takes a SQL string representing a Command and returns the object representation.Command
QueryParser. parseProcedure(String sql, boolean update)
Command
SQLParser. userCommand(ParseInfo info)
-
Uses of Command in org.teiid.query.processor
Methods in org.teiid.query.processor with parameters of type Command Modifier and Type Method Description TupleSource
ProcessorDataManager. registerRequest(CommandContext context, Command command, String modelName, RegisterRequestParameter parameterObject)
Constructors in org.teiid.query.processor with parameters of type Command Constructor Description DdlPlan(Command command)
-
Uses of Command in org.teiid.query.processor.proc
Methods in org.teiid.query.processor.proc with parameters of type Command Modifier and Type Method Description TupleSource
ProcedurePlan. registerRequest(CommandContext context, Command command, String modelName, RegisterRequestParameter parameterObject)
-
Uses of Command in org.teiid.query.processor.relational
Fields in org.teiid.query.processor.relational declared as Command Modifier and Type Field Description protected Command
AccessNode. nextCommand
Methods in org.teiid.query.processor.relational that return Command Modifier and Type Method Description Command
AccessNode. getCommand()
protected Command
AccessNode. nextCommand()
protected Command
DependentAccessNode. nextCommand()
Methods in org.teiid.query.processor.relational with parameters of type Command Modifier and Type Method Description static boolean
RelationalNodeUtil. hasOutputParams(Command command)
static boolean
RelationalNodeUtil. isUpdate(Command command)
Returns whether the relational command is an update.void
AccessNode. minimizeProject(Command atomicCommand)
protected boolean
AccessNode. prepareNextCommand(Command atomicCommand)
protected boolean
DependentAccessNode. prepareNextCommand(Command atomicCommand)
protected boolean
DependentProcedureAccessNode. prepareNextCommand(Command atomicCommand)
void
AccessNode. setCommand(Command command)
static boolean
RelationalNodeUtil. shouldExecute(Command command, boolean simplifyCriteria)
Decides whether a command needs to be executed.static boolean
RelationalNodeUtil. shouldExecute(Command command, boolean simplifyCriteria, boolean duringPlanning)
Constructor parameters in org.teiid.query.processor.relational with type arguments of type Command Constructor Description BatchedUpdateNode(int nodeID, List<Command> commands, List<VariableContext> contexts, List<Boolean> shouldEvaluate, String modelName)
-
Uses of Command in org.teiid.query.resolver
Methods in org.teiid.query.resolver that return Command Modifier and Type Method Description Command
ProcedureContainerResolver. expandCommand(ProcedureContainer procCommand, QueryMetadataInterface metadata, AnalysisRecord analysis)
Expand a command by finding and attaching all subcommands to the command.static Command
QueryResolver. expandCommand(ProcedureContainer proc, QueryMetadataInterface metadata, AnalysisRecord analysisRecord)
Methods in org.teiid.query.resolver with parameters of type Command Modifier and Type Method Description static void
ProcedureContainerResolver. findChildCommandMetadata(Command currentCommand, GroupSymbol container, int type, QueryMetadataInterface metadata, boolean inferProcedureResultSetColumns)
Set the appropriate "external" metadata for the given commandstatic Map<ElementSymbol,Expression>
QueryResolver. getVariableValues(Command command, boolean changingOnly, QueryMetadataInterface metadata)
Map<ElementSymbol,Expression>
VariableResolver. getVariableValues(Command command, boolean changingOnly, QueryMetadataInterface metadata)
void
CommandResolver. resolveCommand(Command command, TempMetadataAdapter metadata, boolean resolveNullLiterals)
Resolve the command using the metadata.void
ProcedureContainerResolver. resolveCommand(Command command, TempMetadataAdapter metadata, boolean resolveNullLiterals)
static TempMetadataStore
QueryResolver. resolveCommand(Command command, QueryMetadataInterface metadata)
This implements an algorithm to resolve all the symbols created by the parser into real metadata IDsstatic TempMetadataStore
QueryResolver. resolveCommand(Command currentCommand, QueryMetadataInterface metadata, boolean resolveNullLiterals)
static TempMetadataStore
QueryResolver. resolveCommand(Command currentCommand, GroupSymbol container, int type, QueryMetadataInterface metadata, boolean inferProcedureResultSetColumns)
Resolve a command in a given type container and type context.abstract void
ProcedureContainerResolver. resolveProceduralCommand(Command command, TempMetadataAdapter metadata)
static void
QueryResolver. resolveSubqueries(Command command, TempMetadataAdapter metadata, Collection<GroupSymbol> externalGroups)
static void
QueryResolver. setChildMetadata(Command subCommand, TempMetadataStore parentTempMetadata, GroupContext parentContext)
static void
QueryResolver. setChildMetadata(Command subCommand, Command parent)
static void
QueryResolver. validateProjectedSymbols(GroupSymbol virtualGroup, QueryMetadataInterface qmi, Command result)
-
Uses of Command in org.teiid.query.resolver.command
Methods in org.teiid.query.resolver.command with parameters of type Command Modifier and Type Method Description Map<ElementSymbol,Expression>
InsertResolver. getVariableValues(Command command, boolean changingOnly, QueryMetadataInterface metadata)
Map<ElementSymbol,Expression>
UpdateResolver. getVariableValues(Command command, boolean changingOnly, QueryMetadataInterface metadata)
void
AlterResolver. resolveCommand(Command command, TempMetadataAdapter metadata, boolean resolveNullLiterals)
void
BatchedUpdateResolver. resolveCommand(Command command, TempMetadataAdapter metadata, boolean resolveNullLiterals)
void
DynamicCommandResolver. resolveCommand(Command command, TempMetadataAdapter metadata, boolean resolveNullLiterals)
void
SetQueryResolver. resolveCommand(Command command, TempMetadataAdapter metadata, boolean resolveNullLiterals)
void
SimpleQueryResolver. resolveCommand(Command command, TempMetadataAdapter metadata, boolean resolveNullLiterals)
void
TempTableResolver. resolveCommand(Command command, TempMetadataAdapter metadata, boolean resolveNullLiterals)
void
UpdateProcedureResolver. resolveCommand(Command command, TempMetadataAdapter metadata, boolean resolveNullLiterals)
void
DeleteResolver. resolveProceduralCommand(Command command, TempMetadataAdapter metadata)
void
ExecResolver. resolveProceduralCommand(Command command, TempMetadataAdapter metadata)
void
InsertResolver. resolveProceduralCommand(Command command, TempMetadataAdapter metadata)
Resolve an INSERT.void
UpdateResolver. resolveProceduralCommand(Command command, TempMetadataAdapter metadata)
-
Uses of Command in org.teiid.query.resolver.util
Methods in org.teiid.query.resolver.util with parameters of type Command Modifier and Type Method Description static void
ResolverUtil. fullyQualifyElements(Command command)
This method will convert all elements in a command to their fully qualified name. -
Uses of Command in org.teiid.query.rewriter
Methods in org.teiid.query.rewriter that return Command Modifier and Type Method Description static Command
QueryRewriter. createDeleteProcedure(Delete delete, QueryMetadataInterface metadata, CommandContext context)
static Command
QueryRewriter. createUpdateProcedure(Update update, QueryMetadataInterface metadata, CommandContext context)
static Command
QueryRewriter. evaluateAndRewrite(Command command, Evaluator eval, CommandContext context, QueryMetadataInterface metadata)
static Command
QueryRewriter. rewrite(Command command, QueryMetadataInterface metadata, CommandContext context)
static Command
QueryRewriter. rewrite(Command command, QueryMetadataInterface metadata, CommandContext context, Map<ElementSymbol,Expression> variableValues)
static Command
QueryRewriter. rewriteAsUpsertProcedure(Insert insert, QueryMetadataInterface metadata, CommandContext context)
Methods in org.teiid.query.rewriter with parameters of type Command Modifier and Type Method Description static Query
QueryRewriter. createInlineViewQuery(GroupSymbol inlineGroup, Command nested, QueryMetadataInterface metadata, List<? extends Expression> actualSymbols)
static Command
QueryRewriter. evaluateAndRewrite(Command command, Evaluator eval, CommandContext context, QueryMetadataInterface metadata)
static Command
QueryRewriter. rewrite(Command command, QueryMetadataInterface metadata, CommandContext context)
static Command
QueryRewriter. rewrite(Command command, QueryMetadataInterface metadata, CommandContext context, Map<ElementSymbol,Expression> variableValues)
-
Uses of Command in org.teiid.query.sql.lang
Classes in org.teiid.query.sql.lang with type parameters of type Command Modifier and Type Class Description class
Alter<T extends Command>
interface
SubqueryContainer<T extends Command>
This interface defines a common interface for all SQL objects that contain subqueries.static interface
SubqueryContainer.Evaluatable<T extends Command>
Subclasses of Command in org.teiid.query.sql.lang Modifier and Type Class Description class
Alter<T extends Command>
class
AlterProcedure
class
AlterTrigger
class
AlterView
class
BatchedUpdateCommand
Represents a batch of INSERT, UPDATE, DELETE, and SELECT INTO commandsclass
Create
class
Delete
This class represents a SQL Delete statement of the form: "DELETE FROM <group> [WHERE <criteria>]".class
Drop
class
DynamicCommand
class
ExplainCommand
class
Insert
Represents a SQL Insert statement of the form: "INSERT INTO <group> (<variables>) VALUES <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 Classclass
StoredProcedure
Represents a StoredProcedure statement of the form:class
Update
Represents a SQL Update statement of the form: "UPDATE <group> SET <element> = <expression>, ...Fields in org.teiid.query.sql.lang with type parameters of type Command Modifier and Type Field Description protected List<Command>
BatchedUpdateCommand. commands
Methods in org.teiid.query.sql.lang that return Command Modifier and Type Method Description Command
Command. getActualCommand()
For a statement such as explain, obtain the actual commandCommand
ExplainCommand. getActualCommand()
Command
ExplainCommand. getCommand()
Command
SubqueryFromClause. getCommand()
Get command held by clauseCommand
UnaryFromClause. getExpandedCommand()
Methods in org.teiid.query.sql.lang that return types with arguments of type Command Modifier and Type Method Description List<Command>
BatchedUpdateCommand. getUpdateCommands()
Gets the List of updates contained in this batchMethods in org.teiid.query.sql.lang with parameters of type Command Modifier and Type Method Description protected void
Command. copyMetadataState(Command copy)
protected boolean
Command. sameOptionAndHint(Command cmd)
void
ExplainCommand. setCommand(Command command)
void
SubqueryFromClause. setCommand(Command command)
Set the command held by the clausevoid
UnaryFromClause. setExpandedCommand(Command expandedCommand)
Constructors in org.teiid.query.sql.lang with parameters of type Command Constructor Description SubqueryFromClause(String name, Command command)
Construct object with specified command and nameSubqueryFromClause(GroupSymbol symbol, Command command)
Constructor parameters in org.teiid.query.sql.lang with type arguments of type Command Constructor Description BatchedUpdateCommand(List<? extends Command> updateCommands)
BatchedUpdateCommand(List<? extends Command> updateCommands, boolean singleResult)
-
Uses of Command in org.teiid.query.sql.proc
Subclasses of Command in org.teiid.query.sql.proc Modifier and Type Class Description class
CreateProcedureCommand
This class represents a update procedure in the storedprocedure language.class
TriggerAction
Methods in org.teiid.query.sql.proc that return Command Modifier and Type Method Description Command
AssignmentStatement. getCommand()
Deprecated.Command
CommandStatement. getCommand()
Get the command on this statement.Command
LoopStatement. getCommand()
Methods in org.teiid.query.sql.proc with parameters of type Command Modifier and Type Method Description void
AssignmentStatement. setCommand(Command command)
void
CommandStatement. setCommand(Command command)
void
LoopStatement. setCommand(Command command)
Sets the command.Constructors in org.teiid.query.sql.proc with parameters of type Command Constructor Description AssignmentStatement(ElementSymbol variable, Command value)
Deprecated.CommandStatement(Command value)
Constructor for CommandStatement.DeclareStatement(ElementSymbol variable, String varType, Command value)
Deprecated.LoopStatement(Block block, Command query, String cursorName)
-
Uses of Command in org.teiid.query.sql.visitor
Methods in org.teiid.query.sql.visitor that return types with arguments of type Command Modifier and Type Method Description List<Command>
CommandCollectorVisitor. getCommands()
Get the commands collected by the visitor.static List<Command>
CommandCollectorVisitor. getCommands(Command command)
Helper to quickly get the commands from objstatic List<Command>
CommandCollectorVisitor. getCommands(Command command, boolean includeExpanded)
Methods in org.teiid.query.sql.visitor with parameters of type Command Modifier and Type Method Description static List<Command>
CommandCollectorVisitor. getCommands(Command command)
Helper to quickly get the commands from objstatic List<Command>
CommandCollectorVisitor. getCommands(Command command, boolean includeExpanded)
-
Uses of Command in org.teiid.query.tempdata
Methods in org.teiid.query.tempdata with parameters of type Command Modifier and Type Method Description TupleSource
TempTableDataManager. registerRequest(CommandContext context, Command command, String modelName, RegisterRequestParameter parameterObject)
-
Uses of Command in org.teiid.query.validator
Fields in org.teiid.query.validator declared as Command Modifier and Type Field Description protected Command
AbstractValidationVisitor. currentCommand
Methods in org.teiid.query.validator with parameters of type Command Modifier and Type Method Description void
UpdateValidator. validate(Command command, List<ElementSymbol> viewSymbols)
protected void
ValidationVisitor. validateHasProjectedSymbols(Command obj)
-
Uses of Command in org.teiid.runtime
Methods in org.teiid.runtime with parameters of type Command Modifier and Type Method Description CallableStatement
EmbeddedConnection. prepareCall(Command command, EmbeddedRequestOptions options)
TeiidPreparedStatement
EmbeddedConnection. prepareStatement(Command command, EmbeddedRequestOptions options)
-