Class CreateIndexStatementBuilder
java.lang.Object
com.tangosol.coherence.dslquery.statement.AbstractStatementBuilder<CreateIndexStatementBuilder.CreateIndexStatement>
com.tangosol.coherence.dslquery.statement.CreateIndexStatementBuilder
- All Implemented Interfaces:
StatementBuilder<CreateIndexStatementBuilder.CreateIndexStatement>
public class CreateIndexStatementBuilder
extends AbstractStatementBuilder<CreateIndexStatementBuilder.CreateIndexStatement>
An implementation of a
StatementBuilder
that parses a CohQL term tree to produce an instance of a CreateIndexStatementBuilder.CreateIndexStatement
.- Since:
- Coherence 12.2.1
- Author:
- jk 2013.12.11
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Implementation of the CohQL "CREATE INDEX" command. -
Field Summary
Modifier and TypeFieldDescriptionstatic final CreateIndexStatementBuilder
An instance of a CreateIndexStatementBuilder. -
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.realize
(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars) Realizes an implementation of aStatement
that can be executed to perform a specific CohQL command.Methods inherited from class com.tangosol.coherence.dslquery.statement.AbstractStatementBuilder
atomicStringValueOf, ensureFilter, getAlias, getCacheName, getExtractor, getFields, getFile, getGroupBy, getInsertKey, getInsertValue, getIsDistinct, getSetList, getWhere, headsMatch
-
Field Details
-
INSTANCE
An instance of a CreateIndexStatementBuilder.
-
-
Constructor Details
-
CreateIndexStatementBuilder
public CreateIndexStatementBuilder()
-
-
Method Details
-
realize
public CreateIndexStatementBuilder.CreateIndexStatement 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
-