public class TraceStatementBuilder extends AbstractQueryPlusStatementBuilder
StatementBuilder that builds the QueryPlus "TRACE" command.| Modifier and Type | Class and Description |
|---|---|
class |
TraceStatementBuilder.TraceCommandOPToken
A CohQL OPToken representing the QueryPlus "trace" command.
|
class |
TraceStatementBuilder.TraceQueryPlusStatement
A command that turns on or off QueryPlus trace.
|
AbstractQueryPlusStatementBuilder.AbstractOPToken, AbstractQueryPlusStatementBuilder.AbstractStatement| Modifier and Type | Field and Description |
|---|---|
protected OPToken |
f_tokenDelegate
The
IdentifierOPToken to delegate to if we cannot process the token. |
| Constructor and Description |
|---|
TraceStatementBuilder(OPToken tokenDelegate)
Construct a TraceStatementBuilder.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Return a description of the CohQL command suitable for displaying as help text.
|
String |
getSyntax()
Return the syntax of the CohQL command.
|
AbstractQueryPlusStatementBuilder.AbstractOPToken |
instantiateOpToken()
Return the OPToken for this command.
|
TraceStatementBuilder.TraceQueryPlusStatement |
realize(ExecutionContext ctx, NodeTerm term, List listBindVars, com.tangosol.config.expression.ParameterResolver namedBindVars)
Realizes an implementation of a
Statement that can be executed to perform a specific CohQL command. |
protected final OPToken f_tokenDelegate
IdentifierOPToken to delegate to if we cannot process the token. Typically this would be a previously registered OPToken for the same token string.public TraceStatementBuilder(OPToken tokenDelegate)
public TraceStatementBuilder.TraceQueryPlusStatement realize(ExecutionContext ctx, NodeTerm term, List listBindVars, com.tangosol.config.expression.ParameterResolver namedBindVars)
StatementBuilderStatement that can be executed to perform a specific CohQL command.ctx - the ExecutionContext to use to create commandsterm - the parsed NodeTerm used to create the relevant StatementlistBindVars - the indexed bind variablesnamedBindVars - the named bind variablespublic String getSyntax()
StatementBuilderpublic String getDescription()
StatementBuilderpublic AbstractQueryPlusStatementBuilder.AbstractOPToken instantiateOpToken()
AbstractQueryPlusStatementBuilderinstantiateOpToken in class AbstractQueryPlusStatementBuilder