public class PreparedStatementRequest extends Request
addedLimit, analysisRecord, capabilitiesFinder, connectorManagerRepo, context, idGenerator, metadata, options, preParser, processor, processPlan, requestMsg, returnsUpdateCount, transactionContext, userCommand
Constructor and Description |
---|
PreparedStatementRequest(SessionAwareCache<PreparedPlan> prepPlanCache) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkReferences(List<Reference> references) |
protected void |
generatePlan(boolean addLimit)
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
|
boolean |
isReturingParams() |
void |
processRequest() |
static void |
resolveParameterValues(List<Reference> params,
List values,
CommandContext context,
QueryMetadataInterface metadata) |
createCommandContext, createParseInfo, initMetadata, resolveCommand, setAuthorizationValidator, setExecutor, setOptions, setPreParser, setResultSetCacheEnabled, setUserRequestConcurrency, validateAccess, validateWithVisitor
public PreparedStatementRequest(SessionAwareCache<PreparedPlan> prepPlanCache)
protected void checkReferences(List<Reference> references) throws QueryValidatorException
checkReferences
in class Request
QueryValidatorException
protected void generatePlan(boolean addLimit) throws TeiidComponentException, TeiidProcessingException
Request
generatePlan
in class Request
TeiidComponentException
TeiidProcessingException
org.teiid.dqp.internal.process.Request#generatePlan()
public static void resolveParameterValues(List<Reference> params, List values, CommandContext context, QueryMetadataInterface metadata) throws QueryResolverException, TeiidComponentException, QueryValidatorException
params
- values
- QueryResolverException
QueryValidatorException
TeiidComponentException
public boolean isReturingParams()
isReturingParams
in class Request
public void processRequest() throws TeiidComponentException, TeiidProcessingException
processRequest
in class Request
TeiidComponentException
TeiidProcessingException
Copyright © 2017 JBoss by Red Hat. All rights reserved.