Modifier and Type | Method and Description |
---|---|
Command |
CachedResults.getCommand(String sql,
QueryMetadataInterface metadata,
ParseInfo info) |
protected void |
Request.resolveCommand(Command command) |
static void |
PreparedStatementRequest.resolveParameterValues(List<Reference> params,
List values,
CommandContext context,
QueryMetadataInterface metadata) |
Modifier and Type | Method and Description |
---|---|
XQueryExpression |
XMLHelper.compile(String xquery,
XMLNamespaces namespaces,
List<DerivedColumn> passing,
List<XMLTable.XMLColumn> columns) |
Modifier and Type | Method and Description |
---|---|
ProcessorPlan |
TriggerActionPlanner.optimize(ProcedureContainer userCommand,
TriggerAction ta,
IDGenerator idGenerator,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
AnalysisRecord analysisRecord,
CommandContext context) |
Modifier and Type | Method and Description |
---|---|
static Command |
RowBasedSecurityHelper.checkUpdateRowBasedFilters(ProcedureContainer container,
Command procedure,
RelationalPlanner planner) |
RelationalPlan |
RelationalPlanner.optimize(Command command) |
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.
|
static void |
ProcedureContainerResolver.findChildCommandMetadata(Command currentCommand,
GroupSymbol container,
int type,
QueryMetadataInterface metadata,
boolean inferProcedureResultSetColumns)
Set the appropriate "external" metadata for the given command
|
protected abstract String |
ProcedureContainerResolver.getPlan(QueryMetadataInterface metadata,
GroupSymbol group)
For a given resolver, this returns the unparsed command.
|
static UpdateValidator.UpdateInfo |
ProcedureContainerResolver.getUpdateInfo(GroupSymbol group,
QueryMetadataInterface metadata) |
static UpdateValidator.UpdateInfo |
ProcedureContainerResolver.getUpdateInfo(GroupSymbol group,
QueryMetadataInterface metadata,
int type,
boolean validate) |
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.
|
static void |
QueryResolver.resolveCriteria(Criteria criteria,
QueryMetadataInterface metadata)
Resolve just a criteria.
|
protected void |
ProcedureContainerResolver.resolveGroup(TempMetadataAdapter metadata,
ProcedureContainer procCommand) |
abstract void |
ProcedureContainerResolver.resolveProceduralCommand(Command command,
TempMetadataAdapter metadata) |
static void |
QueryResolver.resolveSubqueries(Command command,
TempMetadataAdapter metadata,
Collection<GroupSymbol> externalGroups) |
static QueryNode |
QueryResolver.resolveView(GroupSymbol virtualGroup,
QueryNode qnode,
String cacheString,
QueryMetadataInterface qmi,
boolean logValidation) |
Modifier and Type | Method and Description |
---|---|
protected String |
ExecResolver.getPlan(QueryMetadataInterface metadata,
GroupSymbol group) |
Map<ElementSymbol,Expression> |
InsertResolver.getVariableValues(Command command,
boolean changingOnly,
QueryMetadataInterface metadata) |
void |
UpdateProcedureResolver.resolveBlock(CreateProcedureCommand command,
Block block,
GroupContext originalExternalGroups,
TempMetadataAdapter original) |
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) |
protected void |
InsertResolver.resolveGroup(TempMetadataAdapter metadata,
ProcedureContainer procCommand) |
protected void |
ExecResolver.resolveGroup(TempMetadataAdapter metadata,
ProcedureContainer procCommand) |
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) |
void |
SetQueryResolver.resolveSetQuery(TempMetadataAdapter metadata,
boolean resolveNullLiterals,
SetQuery setQuery,
QueryCommand firstCommand,
QueryCommand rightCommand) |
void |
InsertResolver.resolveTypes(Insert insert,
TempMetadataAdapter metadata,
List values,
boolean usingQuery) |
Modifier and Type | Method and Description |
---|---|
QueryResolverException |
ResolverVisitor.getResolverException() |
Modifier and Type | Method and Description |
---|---|
static TempMetadataID |
ResolverUtil.addTempGroup(TempMetadataAdapter metadata,
GroupSymbol symbol,
List<? extends Expression> symbols,
boolean tempTable) |
static TempMetadataID |
ResolverUtil.addTempTable(TempMetadataAdapter metadata,
GroupSymbol symbol,
List<? extends Expression> symbols) |
static void |
ResolverVisitor.checkException(Expression obj) |
static Expression |
ResolverUtil.convertExpression(Expression sourceExpression,
String targetTypeName,
QueryMetadataInterface metadata)
Replaces a sourceExpression with a conversion of the source expression
to the target type.
|
static Expression |
ResolverUtil.convertExpression(Expression sourceExpression,
String sourceTypeName,
String targetTypeName,
QueryMetadataInterface metadata,
boolean forComparison)
Replaces a sourceExpression with a conversion of the source expression
to the target type.
|
static Expression |
ResolverUtil.getDefault(ElementSymbol symbol,
QueryMetadataInterface metadata)
Get the default value for the parameter, which could be null
if the parameter is set to NULLABLE.
|
static void |
ResolverUtil.resolveGroup(GroupSymbol symbol,
QueryMetadataInterface metadata) |
static void |
ResolverUtil.resolveImplicitTempGroup(TempMetadataAdapter metadata,
GroupSymbol symbol,
List symbols) |
static void |
ResolverVisitor.resolveLanguageObject(LanguageObject obj,
Collection<GroupSymbol> groups,
GroupContext externalContext,
QueryMetadataInterface metadata) |
static void |
ResolverVisitor.resolveLanguageObject(LanguageObject obj,
Collection<GroupSymbol> groups,
QueryMetadataInterface metadata) |
static void |
ResolverVisitor.resolveLanguageObject(LanguageObject obj,
QueryMetadataInterface metadata) |
static void |
ResolverUtil.resolveLimit(Limit limit) |
static ResolverUtil.ResolvedLookup |
ResolverUtil.resolveLookup(Function lookup,
QueryMetadataInterface metadata) |
static void |
ResolverUtil.resolveOrderBy(OrderBy orderBy,
QueryCommand command,
TempMetadataAdapter metadata)
Attempt to resolve the order by throws QueryResolverException if the
symbol is not of SingleElementSymbol type
|
static void |
ResolverUtil.setDesiredType(Expression expression,
Class<?> targetType,
LanguageObject surroundingExpression)
Utility to set the type of an expression if it is a Reference and has a null type.
|
static void |
ResolverUtil.setDesiredType(List<DerivedColumn> passing,
LanguageObject obj) |
static void |
ResolverUtil.setDesiredType(List<DerivedColumn> passing,
LanguageObject obj,
Class<?> type) |
void |
ResolverVisitor.throwException(boolean includeUnresolvedFunctions) |
Modifier and Type | Method and Description |
---|---|
static Command |
QueryRewriter.createDeleteProcedure(Delete delete,
QueryMetadataInterface metadata,
CommandContext context) |
static Query |
QueryRewriter.createInlineViewQuery(GroupSymbol inlineGroup,
Command nested,
QueryMetadataInterface metadata,
List<? extends Expression> actualSymbols) |
static Command |
QueryRewriter.createUpdateProcedure(Update update,
QueryMetadataInterface metadata,
CommandContext context) |
static Command |
QueryRewriter.rewriteAsUpsertProcedure(Insert insert,
QueryMetadataInterface metadata,
CommandContext context) |
Modifier and Type | Method and Description |
---|---|
void |
XMLQuery.compileXqueryExpression() |
Copyright © 2019. All rights reserved.