Package com.tangosol.coherence.dslquery
Interface StatementBuilder<T extends Statement>
- All Known Implementing Classes:
AbstractQueryPlusStatementBuilder
,AbstractStatementBuilder
,ArchiveSnapshotStatementBuilder
,BackupStatementBuilder
,CommandsStatementBuilder
,CreateCacheStatementBuilder
,CreateIndexStatementBuilder
,CreateSnapshotStatementBuilder
,DeleteStatementBuilder
,DropCacheStatementBuilder
,DropIndexStatementBuilder
,ExtendedLanguageStatementBuilder
,ForceRecoveryStatementBuilder
,HelpStatementBuilder
,InsertStatementBuilder
,ListArchiverStatementBuilder
,ListServicesStatementBuilder
,ListSnapshotsStatementBuilder
,QueryRecorderStatementBuilder
,RecoverSnapshotStatementBuilder
,RemoveSnapshotStatementBuilder
,RestoreStatementBuilder
,ResumeServiceStatementBuilder
,RetrieveSnapshotStatementBuilder
,SanityCheckStatementBuilder
,SelectStatementBuilder
,ServicesStatementBuilder
,SetTimeoutStatementBuilder
,SourceStatementBuilder
,SuspendServiceStatementBuilder
,TraceStatementBuilder
,TruncateCacheStatementBuilder
,UpdateStatementBuilder
,ValidateSnapshotStatementBuilder
,WheneverStatementBuilder
public interface StatementBuilder<T extends Statement>
Classes implementing this interface build instances of
Statement
implementations.- Since:
- Coherence 12.2.1
- Author:
- jk 2013.12.09
-
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.
-
Method Details
-
realize
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
String getSyntax()Return the syntax of the CohQL command.- Returns:
- the syntax of the CohQL command
-
getDescription
String getDescription()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
-