Modifier and Type | Method and Description |
---|---|
Command |
LanguageBridgeFactory.translate(Command command) |
Modifier and Type | Field and Description |
---|---|
protected Command |
Request.userCommand |
Modifier and Type | Method and Description |
---|---|
Command |
PreparedPlan.getCommand()
Return the Command .
|
Command |
CachedResults.getCommand(String sql,
QueryMetadataInterface metadata,
ParseInfo info) |
Modifier and Type | Method and 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 |
PreparedPlan.setCommand(Command commandValue)
Set the Command.
|
void |
CachedResults.setCommand(Command command) |
boolean |
DefaultAuthorizationValidator.validate(String[] originalSql,
Command command,
QueryMetadataInterface metadata,
CommandContext commandContext,
AuthorizationValidator.CommandType commandType) |
boolean |
AuthorizationValidator.validate(String[] originalSql,
Command command,
QueryMetadataInterface metadata,
CommandContext commandContext,
AuthorizationValidator.CommandType commandType)
Validates the given command.
|
protected boolean |
Request.validateAccess(String[] commandStr,
Command command,
AuthorizationValidator.CommandType type) |
static void |
Request.validateWithVisitor(AbstractValidationVisitor visitor,
QueryMetadataInterface metadata,
Command command) |
Modifier and Type | Method and Description |
---|---|
static void |
MultiSourceElementReplacementVisitor.visit(String bindingName,
QueryMetadataInterface metadata,
Command processingCommand) |
Modifier and Type | Method and Description |
---|---|
Command |
AtomicRequestMessage.getCommand() |
Modifier and Type | Method and Description |
---|---|
void |
AtomicRequestMessage.setCommand(Command command) |
Modifier and Type | Method and Description |
---|---|
Command |
QueryNode.getCommand()
Get command corresponding to query, may be null
|
Modifier and Type | Method and Description |
---|---|
void |
QueryNode.setCommand(Command command)
Set command - this is provided as a convenient place to cache this command
during conversion.
|
Modifier and Type | Method and Description |
---|---|
static void |
MetadataValidator.determineDependencies(AbstractMetadataRecord p,
Command command) |
Modifier and Type | Class and Description |
---|---|
static class |
SourceTriggerActionPlanner.SourceEventCommand
Represents a source event as a Command - is localized here
as it's not directly callable by a user
|
Modifier and Type | Method and Description |
---|---|
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 |
SourceTriggerActionPlanner.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 |
DdlPlanner.optimize(Command command,
IDGenerator idGenerator,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
AnalysisRecord analysisRecord,
CommandContext context) |
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 |
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.
|
static ProcessorPlan |
QueryOptimizer.optimizePlan(Command command,
QueryMetadataInterface metadata,
IDGenerator idGenerator,
CapabilitiesFinder capFinder,
AnalysisRecord analysisRecord,
CommandContext context) |
Modifier and Type | Method and Description |
---|---|
static Command |
RowBasedSecurityHelper.checkUpdateRowBasedFilters(ProcedureContainer container,
Command procedure,
RelationalPlanner planner) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and 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.designerCommand(ParseInfo info) |
Command |
SQLParser.dropTable(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.parseCommand(String sql,
ParseInfo parseInfo,
boolean designerCommands) |
Command |
QueryParser.parseCommand(String sql,
ParseInfo parseInfo,
boolean designerCommands,
String vdbName,
String vdbVersion,
String schemaName,
CommandContext commandContext) |
Command |
QueryParser.parseDesignerCommand(String sql) |
Command |
QueryParser.parseProcedure(String sql,
boolean update) |
Command |
SQLParser.userCommand(ParseInfo info) |
Modifier and Type | Method and Description |
---|---|
TupleSource |
ProcessorDataManager.registerRequest(CommandContext context,
Command command,
String modelName,
RegisterRequestParameter parameterObject) |
Constructor and Description |
---|
DdlPlan(Command command) |
Modifier and Type | Method and Description |
---|---|
TupleSource |
ProcedurePlan.registerRequest(CommandContext context,
Command command,
String modelName,
RegisterRequestParameter parameterObject) |
Modifier and Type | Field and Description |
---|---|
protected Command |
AccessNode.nextCommand |
Modifier and Type | Method and Description |
---|---|
Command |
AccessNode.getCommand() |
protected Command |
DependentAccessNode.nextCommand() |
protected Command |
AccessNode.nextCommand() |
Modifier and Type | Method and 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 |
DependentProcedureAccessNode.prepareNextCommand(Command atomicCommand) |
protected boolean |
DependentAccessNode.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.
|
static boolean |
RelationalNodeUtil.shouldExecute(Command command,
boolean simplifyCriteria,
boolean duringPlanning) |
Constructor and Description |
---|
BatchedUpdateNode(int nodeID,
List<Command> commands,
List<VariableContext> contexts,
List<Boolean> shouldEvaluate,
String modelName) |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
static void |
ProcedureContainerResolver.findChildCommandMetadata(Command currentCommand,
GroupSymbol container,
int type,
QueryMetadataInterface metadata,
boolean inferProcedureResultSetColumns)
Set the appropriate "external" metadata for the given command
|
Map<ElementSymbol,Expression> |
VariableResolver.getVariableValues(Command command,
boolean changingOnly,
QueryMetadataInterface metadata) |
static Map<ElementSymbol,Expression> |
QueryResolver.getVariableValues(Command command,
boolean changingOnly,
QueryMetadataInterface metadata) |
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.
|
static TempMetadataStore |
QueryResolver.resolveCommand(Command command,
QueryMetadataInterface metadata)
This implements an algorithm to resolve all the symbols created by the
parser into real metadata IDs
|
static TempMetadataStore |
QueryResolver.resolveCommand(Command currentCommand,
QueryMetadataInterface metadata,
boolean resolveNullLiterals) |
void |
ProcedureContainerResolver.resolveCommand(Command command,
TempMetadataAdapter metadata,
boolean resolveNullLiterals) |
void |
CommandResolver.resolveCommand(Command command,
TempMetadataAdapter metadata,
boolean resolveNullLiterals)
Resolve the command using the metadata.
|
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,
Command parent) |
static void |
QueryResolver.setChildMetadata(Command subCommand,
TempMetadataStore parentTempMetadata,
GroupContext parentContext) |
static void |
QueryResolver.validateProjectedSymbols(GroupSymbol virtualGroup,
QueryMetadataInterface qmi,
Command result) |
Modifier and Type | Method and Description |
---|---|
Map<ElementSymbol,Expression> |
UpdateResolver.getVariableValues(Command command,
boolean changingOnly,
QueryMetadataInterface metadata) |
Map<ElementSymbol,Expression> |
InsertResolver.getVariableValues(Command command,
boolean changingOnly,
QueryMetadataInterface metadata) |
void |
UpdateProcedureResolver.resolveCommand(Command command,
TempMetadataAdapter metadata,
boolean resolveNullLiterals) |
void |
TempTableResolver.resolveCommand(Command command,
TempMetadataAdapter metadata,
boolean resolveNullLiterals) |
void |
SimpleQueryResolver.resolveCommand(Command command,
TempMetadataAdapter metadata,
boolean resolveNullLiterals) |
void |
SetQueryResolver.resolveCommand(Command command,
TempMetadataAdapter metadata,
boolean resolveNullLiterals) |
void |
DynamicCommandResolver.resolveCommand(Command command,
TempMetadataAdapter metadata,
boolean resolveNullLiterals) |
void |
BatchedUpdateResolver.resolveCommand(Command command,
TempMetadataAdapter metadata,
boolean resolveNullLiterals) |
void |
AlterResolver.resolveCommand(Command command,
TempMetadataAdapter metadata,
boolean resolveNullLiterals) |
void |
UpdateResolver.resolveProceduralCommand(Command command,
TempMetadataAdapter metadata) |
void |
InsertResolver.resolveProceduralCommand(Command command,
TempMetadataAdapter metadata)
Resolve an INSERT.
|
void |
ExecResolver.resolveProceduralCommand(Command command,
TempMetadataAdapter metadata) |
void |
DeleteResolver.resolveProceduralCommand(Command command,
TempMetadataAdapter metadata) |
Modifier and Type | Method and Description |
---|---|
static void |
ResolverUtil.fullyQualifyElements(Command command)
This method will convert all elements in a command to their fully qualified name.
|
Modifier and Type | Method and 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) |
Modifier and Type | Method and 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) |
Modifier and Type | Class and 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> |
Modifier and Type | Class and Description |
---|---|
class |
Alter<T extends Command> |
class |
AlterProcedure |
class |
AlterTrigger |
class |
AlterView |
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
|
Modifier and Type | Field and Description |
---|---|
protected List<Command> |
BatchedUpdateCommand.commands |
Modifier and Type | Method and Description |
---|---|
Command |
SubqueryFromClause.getCommand()
Get command held by clause
|
Command |
UnaryFromClause.getExpandedCommand() |
Modifier and Type | Method and Description |
---|---|
List<Command> |
BatchedUpdateCommand.getUpdateCommands()
Gets the List of updates contained in this batch
|
Modifier and Type | Method and Description |
---|---|
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 |
UnaryFromClause.setExpandedCommand(Command expandedCommand) |
Constructor and Description |
---|
SubqueryFromClause(GroupSymbol symbol,
Command command) |
SubqueryFromClause(String name,
Command command)
Construct object with specified command and name
|
Constructor and Description |
---|
BatchedUpdateCommand(List<? extends Command> updateCommands) |
BatchedUpdateCommand(List<? extends Command> updateCommands,
boolean singleResult) |
Modifier and Type | Class and Description |
---|---|
class |
CreateProcedureCommand
This class represents a update procedure in the storedprocedure language.
|
class |
TriggerAction |
Modifier and Type | Method and Description |
---|---|
Command |
LoopStatement.getCommand() |
Command |
CommandStatement.getCommand()
Get the command on this statement.
|
Command |
AssignmentStatement.getCommand()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
LoopStatement.setCommand(Command command)
Sets the command.
|
void |
CommandStatement.setCommand(Command command) |
void |
AssignmentStatement.setCommand(Command command) |
Constructor and 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) |
Modifier and Type | Method and 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 obj
|
static List<Command> |
CommandCollectorVisitor.getCommands(Command command,
boolean includeExpanded) |
Modifier and Type | Method and Description |
---|---|
static List<Command> |
CommandCollectorVisitor.getCommands(Command command)
Helper to quickly get the commands from obj
|
static List<Command> |
CommandCollectorVisitor.getCommands(Command command,
boolean includeExpanded) |
Modifier and Type | Method and Description |
---|---|
TupleSource |
TempTableDataManager.registerRequest(CommandContext context,
Command command,
String modelName,
RegisterRequestParameter parameterObject) |
Modifier and Type | Field and Description |
---|---|
protected Command |
AbstractValidationVisitor.currentCommand |
Modifier and Type | Method and Description |
---|---|
void |
UpdateValidator.validate(Command command,
List<ElementSymbol> viewSymbols) |
protected void |
ValidationVisitor.validateHasProjectedSymbols(Command obj) |
Copyright © 2019. All rights reserved.