Class RetrieveSnapshotStatementBuilder
- java.lang.Object
-
- com.tangosol.coherence.dslquery.statement.AbstractStatementBuilder<RetrieveSnapshotStatementBuilder.RetrieveSnapshotStatement>
-
- com.tangosol.coherence.dslquery.statement.persistence.RetrieveSnapshotStatementBuilder
-
- All Implemented Interfaces:
StatementBuilder<RetrieveSnapshotStatementBuilder.RetrieveSnapshotStatement>
public class RetrieveSnapshotStatementBuilder extends AbstractStatementBuilder<RetrieveSnapshotStatementBuilder.RetrieveSnapshotStatement>
An implementation of aStatementBuilder
that parses a CohQL term tree to produce an instance of aRetrieveSnapshotStatementBuilder.RetrieveSnapshotStatement
.- Since:
- Coherence 12.2.1
- Author:
- tam 2014.08.27
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RetrieveSnapshotStatementBuilder.RetrieveSnapshotStatement
Implementation of the CohQL "RETRIEVE SNAPSHOT" command.
-
Field Summary
Fields Modifier and Type Field Description static RetrieveSnapshotStatementBuilder
INSTANCE
An instance ofRemoveSnapshotStatementBuilder
.
-
Constructor Summary
Constructors Constructor Description RetrieveSnapshotStatementBuilder()
-
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.RetrieveSnapshotStatementBuilder.RetrieveSnapshotStatement
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 Detail
-
INSTANCE
public static final RetrieveSnapshotStatementBuilder INSTANCE
An instance ofRemoveSnapshotStatementBuilder
.
-
-
Method Detail
-
realize
public RetrieveSnapshotStatementBuilder.RetrieveSnapshotStatement 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
-
-