Package org.teiid.query.resolver.command
Class UpdateResolver
- java.lang.Object
-
- org.teiid.query.resolver.ProcedureContainerResolver
-
- org.teiid.query.resolver.command.UpdateResolver
-
- All Implemented Interfaces:
CommandResolver
,VariableResolver
public class UpdateResolver extends ProcedureContainerResolver implements VariableResolver
This class knows how to expand and resolve UDPATE commands.
-
-
Constructor Summary
Constructors Constructor Description UpdateResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getPlan(QueryMetadataInterface metadata, GroupSymbol group)
For a given resolver, this returns the unparsed command.Map<ElementSymbol,Expression>
getVariableValues(Command command, boolean changingOnly, QueryMetadataInterface metadata)
void
resolveProceduralCommand(Command command, TempMetadataAdapter metadata)
-
Methods inherited from class org.teiid.query.resolver.ProcedureContainerResolver
addChanging, addScalarGroup, addScalarGroup, addScalarGroup, expandCommand, findChildCommandMetadata, getUpdateInfo, getUpdateInfo, resolveCommand, resolveGroup, validateUpdateInfo
-
-
-
-
Method Detail
-
resolveProceduralCommand
public void resolveProceduralCommand(Command command, TempMetadataAdapter metadata) throws QueryMetadataException, QueryResolverException, TeiidComponentException
-
getPlan
protected String getPlan(QueryMetadataInterface metadata, GroupSymbol group) throws TeiidComponentException, QueryMetadataException
Description copied from class:ProcedureContainerResolver
For a given resolver, this returns the unparsed command.- Specified by:
getPlan
in classProcedureContainerResolver
- Parameters:
metadata
-group
-- Returns:
- Throws:
TeiidComponentException
QueryMetadataException
-
getVariableValues
public Map<ElementSymbol,Expression> getVariableValues(Command command, boolean changingOnly, QueryMetadataInterface metadata) throws QueryMetadataException, TeiidComponentException
- Specified by:
getVariableValues
in interfaceVariableResolver
- Throws:
QueryMetadataException
TeiidComponentException
-
-