org.teiid.dqp.internal.process
Class PreparedStatementRequest
java.lang.Object
org.teiid.dqp.internal.process.Request
org.teiid.dqp.internal.process.PreparedStatementRequest
- All Implemented Interfaces:
- SecurityFunctionEvaluator
public class PreparedStatementRequest
- extends Request
Specific request for handling prepared statement calls.
Fields inherited from class org.teiid.dqp.internal.process.Request |
addedLimit, analysisRecord, capabilitiesFinder, connectorManagerRepo, context, idGenerator, metadata, processor, processPlan, requestMsg, returnsUpdateCount, transactionContext, userCommand |
Methods inherited from class org.teiid.dqp.internal.process.Request |
createCommandContext, createParseInfo, hasRole, initMetadata, processRequest, setAuthorizationValidator, setExecutor, setResultSetCacheEnabled, setUserRequestConcurrency, validateAccess, validateWithVisitor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PreparedStatementRequest
public PreparedStatementRequest(SessionAwareCache<PreparedPlan> prepPlanCache)
checkReferences
protected void checkReferences(List<Reference> references)
throws QueryValidatorException
- Overrides:
checkReferences
in class Request
- Throws:
QueryValidatorException
resolveCommand
protected void resolveCommand(Command command)
throws QueryResolverException,
TeiidComponentException
- Overrides:
resolveCommand
in class Request
- Throws:
QueryResolverException
TeiidComponentException
- See Also:
Request.resolveCommand(org.teiid.query.sql.lang.Command)
generatePlan
protected void generatePlan()
throws TeiidComponentException,
TeiidProcessingException
- Description copied from class:
Request
- state side effects:
creates the analysis record
creates the command context
sets the pre-rewrite command on the request
adds a limit clause if the row limit is specified
sets the processor plan
- Overrides:
generatePlan
in class Request
- Throws:
TeiidComponentException
TeiidProcessingException
- See Also:
Request.generatePlan()
resolveParameterValues
public static void resolveParameterValues(List<Reference> params,
List values,
CommandContext context,
QueryMetadataInterface metadata)
throws QueryResolverException,
TeiidComponentException,
QueryValidatorException
- Parameters:
params
- values
-
- Throws:
QueryResolverException
QueryValidatorException
TeiidComponentException
Copyright © 2011. All Rights Reserved.