org.teiid.query.resolver.command
Class UpdateProcedureResolver
java.lang.Object
org.teiid.query.resolver.command.UpdateProcedureResolver
- All Implemented Interfaces:
- CommandResolver
public class UpdateProcedureResolver
- extends java.lang.Object
- implements CommandResolver
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UpdateProcedureResolver
public UpdateProcedureResolver()
resolveVirtualGroupElements
public void resolveVirtualGroupElements(CreateUpdateProcedureCommand procCommand,
QueryMetadataInterface metadata)
throws QueryMetadataException,
QueryResolverException,
TeiidComponentException
- Throws:
QueryMetadataException
QueryResolverException
TeiidComponentException
getQueryTransformCmd
public static Command getQueryTransformCmd(GroupSymbol virtualGroup,
QueryMetadataInterface metadata)
throws QueryMetadataException,
QueryResolverException,
TeiidComponentException
- Get the command for the transformation query that defines this virtual group.
- Throws:
QueryMetadataException
QueryResolverException
TeiidComponentException
resolveCommand
public void resolveCommand(Command command,
TempMetadataAdapter metadata,
boolean resolveNullLiterals)
throws QueryMetadataException,
QueryResolverException,
TeiidComponentException
- Description copied from interface:
CommandResolver
- Resolve the command using the metadata.
- Specified by:
resolveCommand in interface CommandResolver
- Parameters:
command - The command to resolvemetadata - MetadataresolveNullLiterals - true if the resolver should consider replacing null literals with more appropriate types
- Throws:
QueryMetadataException - If there is a metadata problem
QueryResolverException - If the query cannot be resolved
TeiidComponentException - If there is an internal error- See Also:
CommandResolver.resolveCommand(org.teiid.query.sql.lang.Command, TempMetadataAdapter, boolean)
resolveBlock
public void resolveBlock(CreateUpdateProcedureCommand command,
Block block,
GroupContext externalGroups,
TempMetadataAdapter metadata)
throws QueryResolverException,
QueryMetadataException,
TeiidComponentException
- Throws:
QueryResolverException
QueryMetadataException
TeiidComponentException
Copyright © 2011. All Rights Reserved.