com.metamatrix.query.resolver.command
Class DeleteResolver
java.lang.Object
com.metamatrix.query.resolver.ProcedureContainerResolver
com.metamatrix.query.resolver.command.DeleteResolver
- All Implemented Interfaces:
- CommandResolver
public class DeleteResolver
- extends ProcedureContainerResolver
This class knows how to expand and resolve DELETE commands.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeleteResolver
public DeleteResolver()
resolveProceduralCommand
public void resolveProceduralCommand(Command command,
boolean useMetadataCommands,
TempMetadataAdapter metadata,
AnalysisRecord analysis)
throws QueryMetadataException,
QueryResolverException,
MetaMatrixComponentException
- Specified by:
resolveProceduralCommand
in class ProcedureContainerResolver
- Throws:
QueryMetadataException
QueryResolverException
MetaMatrixComponentException
- See Also:
ProcedureContainerResolver.resolveProceduralCommand(com.metamatrix.query.sql.lang.Command, boolean, com.metamatrix.query.metadata.TempMetadataAdapter, com.metamatrix.query.analysis.AnalysisRecord)
getPlan
protected java.lang.String getPlan(QueryMetadataInterface metadata,
GroupSymbol group)
throws MetaMatrixComponentException,
QueryMetadataException
- Description copied from class:
ProcedureContainerResolver
- For a given resolver, this returns the unparsed command.
- Specified by:
getPlan
in class ProcedureContainerResolver
- Parameters:
metadata
- group
-
- Returns:
-
- Throws:
MetaMatrixComponentException
QueryMetadataException
findChildCommandMetadata
public GroupContext findChildCommandMetadata(Command command,
TempMetadataStore discoveredMetadata,
boolean useMetadataCommands,
QueryMetadataInterface metadata)
throws QueryMetadataException,
QueryResolverException,
MetaMatrixComponentException
- Description copied from class:
ProcedureContainerResolver
- Find all metadata defined by this command for it's children. This metadata should be collected
in the childMetadata object. Typical uses of this are for stored queries that define parameter
variables valid in subcommands. only used for inserts, updates, and deletes
- Overrides:
findChildCommandMetadata
in class ProcedureContainerResolver
- Parameters:
command
- The command to find metadata onuseMetadataCommands
- True if resolver should use metadata commands to completely resolvemetadata
- Metadata access
- Throws:
QueryMetadataException
- If there is a metadata problem
QueryResolverException
- If the query cannot be resolved
MetaMatrixComponentException
- If there is an internal error
Copyright © 2009. All Rights Reserved.