com.metamatrix.query.resolver.command
Class UpdateProcedureResolver

java.lang.Object
  extended by com.metamatrix.query.resolver.command.UpdateProcedureResolver
All Implemented Interfaces:
CommandResolver

public class UpdateProcedureResolver
extends java.lang.Object
implements CommandResolver


Constructor Summary
UpdateProcedureResolver()
           
 
Method Summary
 void resolveCommand(Command command, boolean useMetadataCommands, TempMetadataAdapter metadata, AnalysisRecord analysis, boolean resolveNullLiterals)
          Resolve the command using the metadata.
 void resolveVirtualGroupElements(CreateUpdateProcedureCommand procCommand, boolean useMetadataCommands, QueryMetadataInterface metadata)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateProcedureResolver

public UpdateProcedureResolver()
Method Detail

resolveVirtualGroupElements

public void resolveVirtualGroupElements(CreateUpdateProcedureCommand procCommand,
                                        boolean useMetadataCommands,
                                        QueryMetadataInterface metadata)
                                 throws QueryMetadataException,
                                        QueryResolverException,
                                        MetaMatrixComponentException
Throws:
QueryMetadataException
QueryResolverException
MetaMatrixComponentException

resolveCommand

public void resolveCommand(Command command,
                           boolean useMetadataCommands,
                           TempMetadataAdapter metadata,
                           AnalysisRecord analysis,
                           boolean resolveNullLiterals)
                    throws QueryMetadataException,
                           QueryResolverException,
                           MetaMatrixComponentException
Description copied from interface: CommandResolver
Resolve the command using the metadata.

Specified by:
resolveCommand in interface CommandResolver
Parameters:
command - The command to resolve
useMetadataCommands - true if the resolver should use metadata commands to completely resolve
metadata - Metadata
resolveNullLiterals - 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
MetaMatrixComponentException - If there is an internal error
See Also:
com.metamatrix.query.resolver.CommandResolver#resolveCommand(com.metamatrix.query.sql.lang.Command, java.util.Collection, TempMetadataAdapter, AnalysisRecord, boolean)


Copyright © 2009. All Rights Reserved.