Class SanityCheckStatementBuilder
- java.lang.Object
-
- com.tangosol.coherence.dslquery.queryplus.AbstractQueryPlusStatementBuilder
-
- com.tangosol.coherence.dslquery.queryplus.SanityCheckStatementBuilder
-
- All Implemented Interfaces:
StatementBuilder<Statement>
public class SanityCheckStatementBuilder extends AbstractQueryPlusStatementBuilder
AStatementBuilder
that builds the QueryPlus "SANITY CHECK" command.- Since:
- Coherence 12.2.1
- Author:
- jk 2014.01.06
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
SanityCheckStatementBuilder.SanityCheckCommandOPToken
A CohQL OPToken representing the QueryPlus "sanity check" command.class
SanityCheckStatementBuilder.SanityCheckQueryPlusStatement
A class representing the QueryPlus "SANITY CHECK" command.-
Nested classes/interfaces inherited from class com.tangosol.coherence.dslquery.queryplus.AbstractQueryPlusStatementBuilder
AbstractQueryPlusStatementBuilder.AbstractOPToken, AbstractQueryPlusStatementBuilder.AbstractStatement
-
-
Constructor Summary
Constructors Constructor Description SanityCheckStatementBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.SanityCheckStatementBuilder.SanityCheckQueryPlusStatement
realize(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars)
Realizes an implementation of aStatement
that can be executed to perform a specific CohQL command.
-
-
-
Method Detail
-
realize
public SanityCheckStatementBuilder.SanityCheckQueryPlusStatement 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
public String getSyntax()
Description copied from interface:StatementBuilder
Return the syntax of the CohQL command.- Returns:
- the syntax of the CohQL command
-
getDescription
public String 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
public AbstractQueryPlusStatementBuilder.AbstractOPToken instantiateOpToken()
Description copied from class:AbstractQueryPlusStatementBuilder
Return the OPToken for this command.- Specified by:
instantiateOpToken
in classAbstractQueryPlusStatementBuilder
- Returns:
- the OPToken for this command
-
-