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 ofStatementimplementations.- Since:
- Coherence 12.2.1
- Author:
- jk 2013.12.09
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDescription()Return a description of the CohQL command suitable for displaying as help text.StringgetSyntax()Return the syntax of the CohQL command.Trealize(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars)Realizes an implementation of aStatementthat can be executed to perform a specific CohQL command.
-
-
-
Method Detail
-
realize
T realize(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars)
Realizes 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
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
-
-