Class TraceStatementBuilder
java.lang.Object
com.tangosol.coherence.dslquery.queryplus.AbstractQueryPlusStatementBuilder
com.tangosol.coherence.dslquery.queryplus.TraceStatementBuilder
- All Implemented Interfaces:
 StatementBuilder<Statement>
A 
StatementBuilder that builds the
 QueryPlus "TRACE" command.- Since:
 - Coherence 12.2.1
 - Author:
 - jk 2014.01.06
 
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassA CohQL OPToken representing the QueryPlus "trace" command.classA command that turns on or off QueryPlus trace.Nested classes/interfaces inherited from class com.tangosol.coherence.dslquery.queryplus.AbstractQueryPlusStatementBuilder
AbstractQueryPlusStatementBuilder.AbstractOPToken, AbstractQueryPlusStatementBuilder.AbstractStatement - 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final OPTokenTheIdentifierOPTokento delegate to if we cannot process the token. - 
Constructor Summary
ConstructorsConstructorDescriptionTraceStatementBuilder(OPToken tokenDelegate) Construct a TraceStatementBuilder. - 
Method Summary
Modifier and TypeMethodDescriptionReturn a description of the CohQL command suitable for displaying as help text.Return the syntax of the CohQL command.Return the OPToken for this command.realize(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars) Realizes an implementation of aStatementthat can be executed to perform a specific CohQL command. 
- 
Field Details
- 
f_tokenDelegate
TheIdentifierOPTokento delegate to if we cannot process the token. Typically this would be a previously registered OPToken for the same token string. 
 - 
 - 
Constructor Details
- 
TraceStatementBuilder
Construct a TraceStatementBuilder.- Parameters:
 tokenDelegate- the delegateOPToken
 
 - 
 - 
Method Details
- 
realize
public TraceStatementBuilder.TraceQueryPlusStatement realize(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars) Description copied from interface:StatementBuilderRealizes an implementation of aStatementthat can be executed to perform a specific CohQL command.- Parameters:
 ctx- theExecutionContextto use to create commandsterm- the parsedNodeTermused to create the relevant StatementlistBindVars- the indexed bind variablesnamedBindVars- the named bind variables- Returns:
 - an executable instance of a Statement
 
 - 
getSyntax
Description copied from interface:StatementBuilderReturn the syntax of the CohQL command.- Returns:
 - the syntax of the CohQL command
 
 - 
getDescription
Description copied from interface:StatementBuilderReturn a description of the CohQL command suitable for displaying as help text.- Returns:
 - a description of the CohQL command suitable for displaying as help text
 
 - 
instantiateOpToken
Description copied from class:AbstractQueryPlusStatementBuilderReturn the OPToken for this command.- Specified by:
 instantiateOpTokenin classAbstractQueryPlusStatementBuilder- Returns:
 - the OPToken for this command
 
 
 -