Class CommandsStatementBuilder
- java.lang.Object
-
- com.tangosol.coherence.dslquery.queryplus.AbstractQueryPlusStatementBuilder
-
- com.tangosol.coherence.dslquery.queryplus.CommandsStatementBuilder
-
- All Implemented Interfaces:
StatementBuilder<Statement>
public class CommandsStatementBuilder extends AbstractQueryPlusStatementBuilder
A class that builds the QueryPlus "COMMANDS" command.- Since:
- Coherence 12.2.1
- Author:
- jk 2014.01.06
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classCommandsStatementBuilder.CommandsOPTokenA CohQL OPToken representing the QueryPlus "commands" command.classCommandsStatementBuilder.CommandsQueryPlusStatementThe implementation of the QueryPlus "commands" command.-
Nested classes/interfaces inherited from class com.tangosol.coherence.dslquery.queryplus.AbstractQueryPlusStatementBuilder
AbstractQueryPlusStatementBuilder.AbstractOPToken, AbstractQueryPlusStatementBuilder.AbstractStatement
-
-
Field Summary
Fields Modifier and Type Field Description protected CommandsStatementBuilder.CommandsQueryPlusStatementf_commandAn instance of theCommandsStatementBuilder.CommandsQueryPlusStatement.
-
Constructor Summary
Constructors Constructor Description CommandsStatementBuilder()Construct a CommandsStatementBuilder that builds aCommandsStatementBuilder.CommandsQueryPlusStatement.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Return a description of the CohQL command suitable for displaying as help text.StringgetSyntax()Return the syntax of the CohQL command.AbstractQueryPlusStatementBuilder.AbstractOPTokeninstantiateOpToken()Return the OPToken for this command.CommandsStatementBuilder.CommandsQueryPlusStatementrealize(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars)Realizes an implementation of aStatementthat can be executed to perform a specific CohQL command.
-
-
-
Field Detail
-
f_command
protected final CommandsStatementBuilder.CommandsQueryPlusStatement f_command
An instance of theCommandsStatementBuilder.CommandsQueryPlusStatement.
-
-
Constructor Detail
-
CommandsStatementBuilder
public CommandsStatementBuilder()
Construct a CommandsStatementBuilder that builds aCommandsStatementBuilder.CommandsQueryPlusStatement.
-
-
Method Detail
-
realize
public CommandsStatementBuilder.CommandsQueryPlusStatement 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
public String getSyntax()
Description copied from interface:StatementBuilderReturn the syntax of the CohQL command.- Returns:
- the syntax of the CohQL command
-
getDescription
public String 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
public AbstractQueryPlusStatementBuilder.AbstractOPToken instantiateOpToken()
Description copied from class:AbstractQueryPlusStatementBuilderReturn the OPToken for this command.- Specified by:
instantiateOpTokenin classAbstractQueryPlusStatementBuilder- Returns:
- the OPToken for this command
-
-