public class SetQueryResolver extends Object implements CommandResolver
| Constructor and Description |
|---|
SetQueryResolver() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
orderByContainsVariable(OrderBy orderBy,
Expression ses,
int position)
Checks if a variable is in the ORDER BY
|
void |
resolveCommand(Command command,
TempMetadataAdapter metadata,
boolean resolveNullLiterals)
Resolve the command using the metadata.
|
void |
resolveSetQuery(TempMetadataAdapter metadata,
boolean resolveNullLiterals,
SetQuery setQuery,
QueryCommand firstCommand,
QueryCommand rightCommand) |
public void resolveCommand(Command command, TempMetadataAdapter metadata, boolean resolveNullLiterals) throws QueryMetadataException, QueryResolverException, TeiidComponentException
CommandResolverresolveCommand in interface CommandResolvercommand - The command to resolvemetadata - MetadataresolveNullLiterals - true if the resolver should consider replacing null literals with more appropriate typesQueryMetadataException - If there is a metadata problemQueryResolverException - If the query cannot be resolvedTeiidComponentException - If there is an internal errorCommandResolver.resolveCommand(org.teiid.query.sql.lang.Command, TempMetadataAdapter, boolean)public void resolveSetQuery(TempMetadataAdapter metadata, boolean resolveNullLiterals, SetQuery setQuery, QueryCommand firstCommand, QueryCommand rightCommand) throws QueryResolverException, QueryMetadataException, TeiidComponentException
public static boolean orderByContainsVariable(OrderBy orderBy, Expression ses, int position)
position - 0-based index of the variableCopyright © 2019. All rights reserved.