Class HelpStatementBuilder
java.lang.Object
com.tangosol.coherence.dslquery.queryplus.AbstractQueryPlusStatementBuilder
com.tangosol.coherence.dslquery.queryplus.HelpStatementBuilder
- All Implemented Interfaces:
StatementBuilder<Statement>
A
StatementBuilder
that builds the QueryPlus "HELP" command.- Since:
- Coherence 12.2.1
- Author:
- jk 2014.01.06
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
A CohQL OPToken representing the QueryPlus "help" command.class
A class representing the QueryPlus "HELP" command.Nested classes/interfaces inherited from class com.tangosol.coherence.dslquery.queryplus.AbstractQueryPlusStatementBuilder
AbstractQueryPlusStatementBuilder.AbstractOPToken, AbstractQueryPlusStatementBuilder.AbstractStatement
-
Field Summary
Modifier and TypeFieldDescriptionprotected final HelpStatementBuilder.HelpQueryPlusStatement
AHelpStatementBuilder.HelpQueryPlusStatement
instance. -
Constructor Summary
-
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 aStatement
that can be executed to perform a specific CohQL command.
-
Field Details
-
f_command
AHelpStatementBuilder.HelpQueryPlusStatement
instance.
-
-
Constructor Details
-
HelpStatementBuilder
public HelpStatementBuilder()
-
-
Method Details
-
realize
public HelpStatementBuilder.HelpQueryPlusStatement realize(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars) Description copied from interface:StatementBuilder
Realizes an implementation of aStatement
that can be executed to perform a specific CohQL command.- Parameters:
ctx
- theExecutionContext
to use to create commandsterm
- the parsedNodeTerm
used 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:StatementBuilder
Return the syntax of the CohQL command.- Returns:
- the syntax of the CohQL command
-
getDescription
Description copied from interface:StatementBuilder
Return 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:AbstractQueryPlusStatementBuilder
Return the OPToken for this command.- Specified by:
instantiateOpToken
in classAbstractQueryPlusStatementBuilder
- Returns:
- the OPToken for this command
-