Package | Description |
---|---|
com.tangosol.coherence.dslquery | |
com.tangosol.coherence.dslquery.internal | |
com.tangosol.coherence.dslquery.queryplus |
This package contains commands that are specific to the
QueryPlus
tool rather than general CohQL commands. |
com.tangosol.coherence.dslquery.statement |
This package contains
StatementBuilder implementations and
com.tangosol.coherence.dslquery.CohQLStatement implementations. |
com.tangosol.coherence.dslquery.statement.persistence | |
com.tangosol.util |
Contains various generic utilities.
|
Modifier and Type | Field and Description |
---|---|
protected ExecutionContext |
QueryPlus.f_context
The
ExecutionContext that will be passed to Statement s. |
Modifier and Type | Method and Description |
---|---|
ExecutionContext |
QueryPlus.getExecutionContext()
Return the current
ExecutionContext passed to Statement s. |
Modifier and Type | Method and Description |
---|---|
StatementResult |
Statement.execute(ExecutionContext ctx)
Execute a CohQL query or command and return the relevant
result . |
Object |
StatementExecutor.execute(Reader reader,
ExecutionContext ctx)
Parse and execute all of the CohQL statements read from the specified
Reader . |
String |
Statement.getExecutionConfirmation(ExecutionContext ctx)
Return a string that will be used as a question to confirm execution of
a statement.
|
Statement |
CoherenceQueryLanguage.prepareStatement(NodeTerm term,
ExecutionContext context,
List listBindVars,
com.tangosol.config.expression.ParameterResolver namedBindVars)
Realize an instance of the
Statement that will execute the CohQL statement
represented by the AST node. |
T |
StatementBuilder.realize(ExecutionContext ctx,
NodeTerm term,
List listBindVars,
com.tangosol.config.expression.ParameterResolver namedBindVars)
Realizes an implementation of a
Statement that can be
executed to perform a specific CohQL command. |
void |
Statement.sanityCheck(ExecutionContext ctx)
Perform sanity checks on the statement that will be executed.
|
Modifier and Type | Method and Description |
---|---|
static PersistenceToolsHelper |
PersistenceToolsHelper.ensurePersistenceToolsHelper(ExecutionContext ctx)
Ensure a
PersistenceToolsHelper exists within the CohQL ExecutionContext
which can be used to issue cluster related Persistence commands. |
void |
PersistenceToolsHelper.ensureReady(ExecutionContext ctx,
String sService)
Ensures that the services are in a ready state to begin snapshot operations.
|
Modifier and Type | Method and Description |
---|---|
StatementResult |
ServicesStatementBuilder.ServicesQueryPlusStatement.dumpServiceInfo(ExecutionContext ctx)
Return information about the current set of Coherence services.
|
StatementResult |
TraceStatementBuilder.TraceQueryPlusStatement.execute(ExecutionContext ctx) |
StatementResult |
WheneverStatementBuilder.WheneverQueryPlusStatement.execute(ExecutionContext ctx) |
StatementResult |
ServicesStatementBuilder.ServicesQueryPlusStatement.execute(ExecutionContext ctx) |
StatementResult |
HelpStatementBuilder.HelpQueryPlusStatement.execute(ExecutionContext ctx) |
StatementResult |
CommandsStatementBuilder.CommandsQueryPlusStatement.execute(ExecutionContext ctx) |
StatementResult |
SetTimeoutStatementBuilder.SetTimeoutStatement.execute(ExecutionContext ctx)
Set the current timeout to be used by the CohQL session.
|
StatementResult |
SanityCheckStatementBuilder.SanityCheckQueryPlusStatement.execute(ExecutionContext ctx) |
StatementResult |
ExtendedLanguageStatementBuilder.ExtendedLanguageQueryPlusStatement.execute(ExecutionContext ctx) |
String |
AbstractQueryPlusStatementBuilder.AbstractStatement.getExecutionConfirmation(ExecutionContext ctx) |
TraceStatementBuilder.TraceQueryPlusStatement |
TraceStatementBuilder.realize(ExecutionContext ctx,
NodeTerm term,
List listBindVars,
com.tangosol.config.expression.ParameterResolver namedBindVars) |
WheneverStatementBuilder.WheneverQueryPlusStatement |
WheneverStatementBuilder.realize(ExecutionContext ctx,
NodeTerm term,
List listBindVars,
com.tangosol.config.expression.ParameterResolver namedBindVars) |
ServicesStatementBuilder.ServicesQueryPlusStatement |
ServicesStatementBuilder.realize(ExecutionContext ctx,
NodeTerm term,
List listBindVars,
com.tangosol.config.expression.ParameterResolver namedBindVars) |
HelpStatementBuilder.HelpQueryPlusStatement |
HelpStatementBuilder.realize(ExecutionContext ctx,
NodeTerm term,
List listBindVars,
com.tangosol.config.expression.ParameterResolver namedBindVars) |
CommandsStatementBuilder.CommandsQueryPlusStatement |
CommandsStatementBuilder.realize(ExecutionContext ctx,
NodeTerm term,
List listBindVars,
com.tangosol.config.expression.ParameterResolver namedBindVars) |
Statement |
SetTimeoutStatementBuilder.realize(ExecutionContext ctx,
NodeTerm term,
List listBindVars,
com.tangosol.config.expression.ParameterResolver namedBindVars) |
SanityCheckStatementBuilder.SanityCheckQueryPlusStatement |
SanityCheckStatementBuilder.realize(ExecutionContext ctx,
NodeTerm term,
List listBindVars,
com.tangosol.config.expression.ParameterResolver namedBindVars) |
ExtendedLanguageStatementBuilder.ExtendedLanguageQueryPlusStatement |
ExtendedLanguageStatementBuilder.realize(ExecutionContext ctx,
NodeTerm term,
List listBindVars,
com.tangosol.config.expression.ParameterResolver namedBindVars) |
void |
AbstractQueryPlusStatementBuilder.AbstractStatement.sanityCheck(ExecutionContext ctx) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractStatement.assertCacheName(String sName,
ExecutionContext ctx)
Test to see whether the given String is a known cache name.
|
protected UpdateSetListMaker |
UpdateStatementBuilder.createUpdateSetListMaker(ExecutionContext context,
List listBindVars,
com.tangosol.config.expression.ParameterResolver namedBindVars)
Create an instance of an
UpdateSetListMaker . |
protected UpdateSetListMaker |
InsertStatementBuilder.createUpdateSetListMaker(ExecutionContext ctx,
List listBindVars,
com.tangosol.config.expression.ParameterResolver namedBindVars)
Create an
UpdateSetListMaker . |
protected static Filter |
AbstractStatementBuilder.ensureFilter(NodeTerm termWhere,
String sCacheName,
String sAlias,
List listBindVars,
com.tangosol.config.expression.ParameterResolver namedBindVars,
ExecutionContext ctx)
Build a
Filter for the given cache using the given where clause,
alias and bind environments. |
StatementResult |
DropCacheStatementBuilder.DropCacheStatement.execute(ExecutionContext ctx) |
StatementResult |
TruncateCacheStatementBuilder.TruncateCacheStatement.execute(ExecutionContext ctx) |
StatementResult |
CreateIndexStatementBuilder.CreateIndexStatement.execute(ExecutionContext ctx) |
StatementResult |
RestoreStatementBuilder.RestoreStatement.execute(ExecutionContext ctx) |
StatementResult |
SelectStatementBuilder.SelectStatement.execute(ExecutionContext ctx) |
StatementResult |
DeleteStatementBuilder.DeleteStatement.execute(ExecutionContext ctx) |
StatementResult |
CreateCacheStatementBuilder.CreateCacheStatement.execute(ExecutionContext ctx) |
StatementResult |
QueryRecorderStatementBuilder.QueryRecorderStatement.execute(ExecutionContext ctx) |
StatementResult |
UpdateStatementBuilder.UpdateStatement.execute(ExecutionContext ctx) |
StatementResult |
BackupStatementBuilder.BackupStatement.execute(ExecutionContext ctx) |
StatementResult |
SourceStatementBuilder.SourceStatement.execute(ExecutionContext ctx) |
StatementResult |
DropIndexStatementBuilder.DropIndexStatement.execute(ExecutionContext ctx) |
StatementResult |
InsertStatementBuilder.InsertStatement.execute(ExecutionContext ctx) |
String |
AbstractStatement.getExecutionConfirmation(ExecutionContext ctx) |
DropCacheStatementBuilder.DropCacheStatement |
DropCacheStatementBuilder.realize(ExecutionContext ctx,
NodeTerm term,
List listBindVars,
com.tangosol.config.expression.ParameterResolver namedBindVars) |
TruncateCacheStatementBuilder.TruncateCacheStatement |
TruncateCacheStatementBuilder.realize(ExecutionContext ctx,
NodeTerm term,
List listBindVars,
com.tangosol.config.expression.ParameterResolver namedBindVars) |
CreateIndexStatementBuilder.CreateIndexStatement |
CreateIndexStatementBuilder.realize(ExecutionContext ctx,
NodeTerm term,
List listBindVars,
com.tangosol.config.expression.ParameterResolver namedBindVars) |
RestoreStatementBuilder.RestoreStatement |
RestoreStatementBuilder.realize(ExecutionContext ctx,
NodeTerm term,
List listBindVars,
com.tangosol.config.expression.ParameterResolver namedBindVars) |
SelectStatementBuilder.SelectStatement |
SelectStatementBuilder.realize(ExecutionContext ctx,
NodeTerm term,
List listBindVars,
com.tangosol.config.expression.ParameterResolver namedBindVars) |
DeleteStatementBuilder.DeleteStatement |
DeleteStatementBuilder.realize(ExecutionContext ctx,
NodeTerm term,
List listBindVars,
com.tangosol.config.expression.ParameterResolver namedBindVars) |
CreateCacheStatementBuilder.CreateCacheStatement |
CreateCacheStatementBuilder.realize(ExecutionContext ctx,
NodeTerm term,
List listBindVars,
com.tangosol.config.expression.ParameterResolver namedBindVars) |
QueryRecorderStatementBuilder.QueryRecorderStatement |
QueryRecorderStatementBuilder.realize(ExecutionContext ctx,
NodeTerm term,
List listBindVars,
com.tangosol.config.expression.ParameterResolver namedBindVars) |
UpdateStatementBuilder.UpdateStatement |
UpdateStatementBuilder.realize(ExecutionContext ctx,
NodeTerm term,
List listBindVars,
com.tangosol.config.expression.ParameterResolver namedBindVars) |
BackupStatementBuilder.BackupStatement |
BackupStatementBuilder.realize(ExecutionContext ctx,
NodeTerm term,
List listBindVars,
com.tangosol.config.expression.ParameterResolver namedBindVars) |
SourceStatementBuilder.SourceStatement |
SourceStatementBuilder.realize(ExecutionContext ctx,
NodeTerm term,
List listBindVars,
com.tangosol.config.expression.ParameterResolver namedBindVars) |
DropIndexStatementBuilder.DropIndexStatement |
DropIndexStatementBuilder.realize(ExecutionContext ctx,
NodeTerm term,
List listBindVars,
com.tangosol.config.expression.ParameterResolver namedBindVars) |
InsertStatementBuilder.InsertStatement |
InsertStatementBuilder.realize(ExecutionContext ctx,
NodeTerm term,
List listBindVars,
com.tangosol.config.expression.ParameterResolver namedBindVars) |
void |
DropCacheStatementBuilder.DropCacheStatement.sanityCheck(ExecutionContext ctx) |
void |
TruncateCacheStatementBuilder.TruncateCacheStatement.sanityCheck(ExecutionContext ctx) |
void |
CreateIndexStatementBuilder.CreateIndexStatement.sanityCheck(ExecutionContext ctx) |
void |
AbstractStatement.sanityCheck(ExecutionContext ctx) |
void |
SelectStatementBuilder.SelectStatement.sanityCheck(ExecutionContext ctx) |
void |
DeleteStatementBuilder.DeleteStatement.sanityCheck(ExecutionContext ctx) |
void |
QueryRecorderStatementBuilder.QueryRecorderStatement.sanityCheck(ExecutionContext ctx) |
void |
UpdateStatementBuilder.UpdateStatement.sanityCheck(ExecutionContext ctx) |
void |
BackupStatementBuilder.BackupStatement.sanityCheck(ExecutionContext ctx) |
void |
DropIndexStatementBuilder.DropIndexStatement.sanityCheck(ExecutionContext ctx) |
void |
InsertStatementBuilder.InsertStatement.sanityCheck(ExecutionContext ctx) |
StatementResult |
SourceStatementBuilder.SourceStatement.source(String sFileName,
ExecutionContext ctx)
Attempt to parse, build, and execute from the given file of
statements tracing on the given PrintWriter if the given flag
indicates the need to trace.
|
Modifier and Type | Method and Description |
---|---|
StatementResult |
ValidateSnapshotStatementBuilder.ValidateSnapshotStatement.execute(ExecutionContext ctx) |
StatementResult |
ListArchiverStatementBuilder.ListArchiverStatement.execute(ExecutionContext ctx) |
StatementResult |
RetrieveSnapshotStatementBuilder.RetrieveSnapshotStatement.execute(ExecutionContext ctx) |
StatementResult |
ListSnapshotsStatementBuilder.ListSnapshotsStatement.execute(ExecutionContext ctx) |
StatementResult |
ResumeServiceStatementBuilder.ResumeServiceStatement.execute(ExecutionContext ctx) |
StatementResult |
RecoverSnapshotStatementBuilder.RecoverSnapshotStatement.execute(ExecutionContext ctx) |
StatementResult |
RemoveSnapshotStatementBuilder.RemoveSnapshotStatement.execute(ExecutionContext ctx) |
StatementResult |
ArchiveSnapshotStatementBuilder.ArchiveSnapshotStatement.execute(ExecutionContext ctx) |
StatementResult |
SuspendServiceStatementBuilder.SuspendServiceStatement.execute(ExecutionContext ctx) |
StatementResult |
CreateSnapshotStatementBuilder.CreateSnapshotStatement.execute(ExecutionContext ctx) |
StatementResult |
ForceRecoveryStatementBuilder.ForceRecoveryStatement.execute(ExecutionContext ctx) |
StatementResult |
ListServicesStatementBuilder.ListServicesStatement.execute(ExecutionContext ctx) |
String |
RetrieveSnapshotStatementBuilder.RetrieveSnapshotStatement.getExecutionConfirmation(ExecutionContext ctx) |
String |
ResumeServiceStatementBuilder.ResumeServiceStatement.getExecutionConfirmation(ExecutionContext ctx) |
String |
RecoverSnapshotStatementBuilder.RecoverSnapshotStatement.getExecutionConfirmation(ExecutionContext ctx) |
String |
RemoveSnapshotStatementBuilder.RemoveSnapshotStatement.getExecutionConfirmation(ExecutionContext ctx) |
String |
ArchiveSnapshotStatementBuilder.ArchiveSnapshotStatement.getExecutionConfirmation(ExecutionContext ctx) |
String |
SuspendServiceStatementBuilder.SuspendServiceStatement.getExecutionConfirmation(ExecutionContext ctx) |
String |
CreateSnapshotStatementBuilder.CreateSnapshotStatement.getExecutionConfirmation(ExecutionContext ctx) |
String |
ForceRecoveryStatementBuilder.ForceRecoveryStatement.getExecutionConfirmation(ExecutionContext ctx) |
ValidateSnapshotStatementBuilder.ValidateSnapshotStatement |
ValidateSnapshotStatementBuilder.realize(ExecutionContext ctx,
NodeTerm term,
List listBindVars,
com.tangosol.config.expression.ParameterResolver namedBindVars) |
ListArchiverStatementBuilder.ListArchiverStatement |
ListArchiverStatementBuilder.realize(ExecutionContext ctx,
NodeTerm term,
List listBindVars,
com.tangosol.config.expression.ParameterResolver namedBindVars) |
RetrieveSnapshotStatementBuilder.RetrieveSnapshotStatement |
RetrieveSnapshotStatementBuilder.realize(ExecutionContext ctx,
NodeTerm term,
List listBindVars,
com.tangosol.config.expression.ParameterResolver namedBindVars) |
ListSnapshotsStatementBuilder.ListSnapshotsStatement |
ListSnapshotsStatementBuilder.realize(ExecutionContext ctx,
NodeTerm term,
List listBindVars,
com.tangosol.config.expression.ParameterResolver namedBindVars) |
ResumeServiceStatementBuilder.ResumeServiceStatement |
ResumeServiceStatementBuilder.realize(ExecutionContext ctx,
NodeTerm term,
List listBindVars,
com.tangosol.config.expression.ParameterResolver namedBindVars) |
RecoverSnapshotStatementBuilder.RecoverSnapshotStatement |
RecoverSnapshotStatementBuilder.realize(ExecutionContext ctx,
NodeTerm term,
List listBindVars,
com.tangosol.config.expression.ParameterResolver namedBindVars) |
RemoveSnapshotStatementBuilder.RemoveSnapshotStatement |
RemoveSnapshotStatementBuilder.realize(ExecutionContext ctx,
NodeTerm term,
List listBindVars,
com.tangosol.config.expression.ParameterResolver namedBindVars) |
ArchiveSnapshotStatementBuilder.ArchiveSnapshotStatement |
ArchiveSnapshotStatementBuilder.realize(ExecutionContext ctx,
NodeTerm term,
List listBindVars,
com.tangosol.config.expression.ParameterResolver namedBindVars) |
SuspendServiceStatementBuilder.SuspendServiceStatement |
SuspendServiceStatementBuilder.realize(ExecutionContext ctx,
NodeTerm term,
List listBindVars,
com.tangosol.config.expression.ParameterResolver namedBindVars) |
CreateSnapshotStatementBuilder.CreateSnapshotStatement |
CreateSnapshotStatementBuilder.realize(ExecutionContext ctx,
NodeTerm term,
List listBindVars,
com.tangosol.config.expression.ParameterResolver namedBindVars) |
ForceRecoveryStatementBuilder.ForceRecoveryStatement |
ForceRecoveryStatementBuilder.realize(ExecutionContext ctx,
NodeTerm term,
List listBindVars,
com.tangosol.config.expression.ParameterResolver namedBindVars) |
ListServicesStatementBuilder.ListServicesStatement |
ListServicesStatementBuilder.realize(ExecutionContext ctx,
NodeTerm term,
List listBindVars,
com.tangosol.config.expression.ParameterResolver namedBindVars) |
Modifier and Type | Method and Description |
---|---|
static Object |
QueryHelper.executeStatement(String sStatement,
ExecutionContext context)
Execute a CohQL statement.
|