public class SimpleQueryResolver extends Object implements CommandResolver
Modifier and Type | Class and Description |
---|---|
static class |
SimpleQueryResolver.QueryResolverVisitor |
Constructor and Description |
---|
SimpleQueryResolver() |
Modifier and Type | Method and Description |
---|---|
void |
resolveCommand(Command command,
TempMetadataAdapter metadata,
boolean resolveNullLiterals)
Resolve the command using the metadata.
|
public void resolveCommand(Command command, TempMetadataAdapter metadata, boolean resolveNullLiterals) throws QueryMetadataException, QueryResolverException, TeiidComponentException
CommandResolver
resolveCommand
in interface CommandResolver
command
- 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, org.teiid.query.metadata.TempMetadataAdapter, boolean)
Copyright © 2018 JBoss by Red Hat. All rights reserved.