Class SourceStatementBuilder
java.lang.Object
com.tangosol.coherence.dslquery.statement.AbstractStatementBuilder<SourceStatementBuilder.SourceStatement>
com.tangosol.coherence.dslquery.statement.SourceStatementBuilder
- All Implemented Interfaces:
StatementBuilder<SourceStatementBuilder.SourceStatement>
public class SourceStatementBuilder
extends AbstractStatementBuilder<SourceStatementBuilder.SourceStatement>
An implementation of a
StatementBuilder
that parses a CohQL term tree to produce an instance of a SourceStatementBuilder.SourceStatement.- Since:
- Coherence 12.2.1
- Author:
- jk 2013.12.09
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classImplementation of the CohQL "source" command. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SourceStatementBuilderAn instance of a SourceStatementBuilder. -
Constructor Summary
Constructors -
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 aStatementthat 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 SourceStatementBuilder.
-
-
Constructor Details
-
SourceStatementBuilder
public SourceStatementBuilder()
-
-
Method Details
-
realize
public SourceStatementBuilder.SourceStatement 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
-