Uses of Class
com.tangosol.coherence.dslquery.ExecutionContext
Package
Description
Contains packages and classes supporting the Coherence CohQL command line tool.
This package contains commands that are specific to the
QueryPlus
tool rather than general CohQL commands.This package contains
StatementBuilder
implementations.This package contains classes for persistence related statement builders.
Contains various generic utilities.
-
Uses of ExecutionContext in com.tangosol.coherence.dslquery
Modifier and TypeFieldDescriptionprotected final ExecutionContext
QueryPlus.f_context
TheExecutionContext
that will be passed toStatement
s.Modifier and TypeMethodDescriptionQueryPlus.getExecutionContext()
Return the currentExecutionContext
passed toStatement
s.Modifier and TypeMethodDescriptionStatement.execute
(ExecutionContext ctx) Execute a CohQL query or command and return the relevantresult
.StatementExecutor.execute
(Reader reader, ExecutionContext ctx) Parse and execute all of the CohQL statements read from the specifiedReader
.default CompletableFuture
<StatementResult> Statement.executeAsync
(ExecutionContext ctx) Execute a CohQL query or command asynchronously and return theCompletableFuture
with the relevantresult
.Statement.getExecutionConfirmation
(ExecutionContext ctx) Return a string that will be used as a question to confirm execution of a statement.CoherenceQueryLanguage.prepareStatement
(NodeTerm term, ExecutionContext context, List listBindVars, ParameterResolver namedBindVars) Realize an instance of theStatement
that will execute the CohQL statement represented by the AST node.StatementBuilder.realize
(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars) Realizes an implementation of aStatement
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. -
Uses of ExecutionContext in com.tangosol.coherence.dslquery.queryplus
Modifier and TypeMethodDescriptionServicesStatementBuilder.ServicesQueryPlusStatement.dumpServiceInfo
(ExecutionContext ctx) Return information about the current set of Coherence services.CommandsStatementBuilder.CommandsQueryPlusStatement.execute
(ExecutionContext ctx) ExtendedLanguageStatementBuilder.ExtendedLanguageQueryPlusStatement.execute
(ExecutionContext ctx) HelpStatementBuilder.HelpQueryPlusStatement.execute
(ExecutionContext ctx) SanityCheckStatementBuilder.SanityCheckQueryPlusStatement.execute
(ExecutionContext ctx) ServicesStatementBuilder.ServicesQueryPlusStatement.execute
(ExecutionContext ctx) SetTimeoutStatementBuilder.SetTimeoutStatement.execute
(ExecutionContext ctx) Set the current timeout to be used by the CohQL session.TraceStatementBuilder.TraceQueryPlusStatement.execute
(ExecutionContext ctx) WheneverStatementBuilder.WheneverQueryPlusStatement.execute
(ExecutionContext ctx) AbstractQueryPlusStatementBuilder.AbstractStatement.getExecutionConfirmation
(ExecutionContext ctx) CommandsStatementBuilder.realize
(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars) ExtendedLanguageStatementBuilder.realize
(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars) HelpStatementBuilder.realize
(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars) SanityCheckStatementBuilder.realize
(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars) ServicesStatementBuilder.realize
(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars) SetTimeoutStatementBuilder.realize
(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars) TraceStatementBuilder.realize
(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars) WheneverStatementBuilder.realize
(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars) void
AbstractQueryPlusStatementBuilder.AbstractStatement.sanityCheck
(ExecutionContext ctx) -
Uses of ExecutionContext in com.tangosol.coherence.dslquery.statement
Modifier and TypeMethodDescriptionprotected void
AbstractStatement.assertCacheName
(String sName, ExecutionContext ctx) Test to see whether the given String is a known cache name.protected com.tangosol.coherence.dslquery.internal.UpdateSetListMaker
InsertStatementBuilder.createUpdateSetListMaker
(ExecutionContext ctx, List listBindVars, ParameterResolver namedBindVars) Create anUpdateSetListMaker
.protected com.tangosol.coherence.dslquery.internal.UpdateSetListMaker
UpdateStatementBuilder.createUpdateSetListMaker
(ExecutionContext context, List listBindVars, ParameterResolver namedBindVars) Create an instance of anUpdateSetListMaker
.protected static Filter
AbstractStatementBuilder.ensureFilter
(NodeTerm termWhere, String sCacheName, String sAlias, List listBindVars, ParameterResolver namedBindVars, ExecutionContext ctx) Build aFilter
for the given cache using the given where clause, alias and bind environments.BackupStatementBuilder.BackupStatement.execute
(ExecutionContext ctx) CreateCacheStatementBuilder.CreateCacheStatement.execute
(ExecutionContext ctx) CreateIndexStatementBuilder.CreateIndexStatement.execute
(ExecutionContext ctx) DeleteStatementBuilder.DeleteStatement.execute
(ExecutionContext ctx) DropCacheStatementBuilder.DropCacheStatement.execute
(ExecutionContext ctx) DropIndexStatementBuilder.DropIndexStatement.execute
(ExecutionContext ctx) InsertStatementBuilder.InsertStatement.execute
(ExecutionContext ctx) QueryRecorderStatementBuilder.QueryRecorderStatement.execute
(ExecutionContext ctx) RestoreStatementBuilder.RestoreStatement.execute
(ExecutionContext ctx) SelectStatementBuilder.AsyncSelectStatement.execute
(ExecutionContext ctx) SelectStatementBuilder.SelectStatement.execute
(ExecutionContext ctx) SourceStatementBuilder.SourceStatement.execute
(ExecutionContext ctx) TruncateCacheStatementBuilder.TruncateCacheStatement.execute
(ExecutionContext ctx) UpdateStatementBuilder.UpdateStatement.execute
(ExecutionContext ctx) DeleteStatementBuilder.DeleteStatement.executeAsync
(ExecutionContext ctx) InsertStatementBuilder.InsertStatement.executeAsync
(ExecutionContext ctx) SelectStatementBuilder.SelectStatement.executeAsync
(ExecutionContext ctx) UpdateStatementBuilder.UpdateStatement.executeAsync
(ExecutionContext ctx) AbstractStatement.getExecutionConfirmation
(ExecutionContext ctx) BackupStatementBuilder.realize
(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars) CreateCacheStatementBuilder.realize
(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars) CreateIndexStatementBuilder.realize
(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars) DeleteStatementBuilder.realize
(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars) DropCacheStatementBuilder.realize
(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars) DropIndexStatementBuilder.realize
(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars) InsertStatementBuilder.realize
(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars) QueryRecorderStatementBuilder.realize
(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars) RestoreStatementBuilder.realize
(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars) SelectStatementBuilder.realize
(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars) SourceStatementBuilder.realize
(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars) TruncateCacheStatementBuilder.realize
(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars) UpdateStatementBuilder.realize
(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars) void
AbstractStatement.sanityCheck
(ExecutionContext ctx) void
BackupStatementBuilder.BackupStatement.sanityCheck
(ExecutionContext ctx) void
CreateIndexStatementBuilder.CreateIndexStatement.sanityCheck
(ExecutionContext ctx) void
DeleteStatementBuilder.DeleteStatement.sanityCheck
(ExecutionContext ctx) void
DropCacheStatementBuilder.DropCacheStatement.sanityCheck
(ExecutionContext ctx) void
DropIndexStatementBuilder.DropIndexStatement.sanityCheck
(ExecutionContext ctx) void
InsertStatementBuilder.InsertStatement.sanityCheck
(ExecutionContext ctx) void
QueryRecorderStatementBuilder.QueryRecorderStatement.sanityCheck
(ExecutionContext ctx) void
SelectStatementBuilder.SelectStatement.sanityCheck
(ExecutionContext ctx) void
TruncateCacheStatementBuilder.TruncateCacheStatement.sanityCheck
(ExecutionContext ctx) void
UpdateStatementBuilder.UpdateStatement.sanityCheck
(ExecutionContext ctx) 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. -
Uses of ExecutionContext in com.tangosol.coherence.dslquery.statement.persistence
Modifier and TypeMethodDescriptionArchiveSnapshotStatementBuilder.ArchiveSnapshotStatement.execute
(ExecutionContext ctx) CreateSnapshotStatementBuilder.CreateSnapshotStatement.execute
(ExecutionContext ctx) ForceRecoveryStatementBuilder.ForceRecoveryStatement.execute
(ExecutionContext ctx) ListArchiverStatementBuilder.ListArchiverStatement.execute
(ExecutionContext ctx) ListServicesStatementBuilder.ListServicesStatement.execute
(ExecutionContext ctx) ListSnapshotsStatementBuilder.ListSnapshotsStatement.execute
(ExecutionContext ctx) RecoverSnapshotStatementBuilder.RecoverSnapshotStatement.execute
(ExecutionContext ctx) RemoveSnapshotStatementBuilder.RemoveSnapshotStatement.execute
(ExecutionContext ctx) ResumeServiceStatementBuilder.ResumeServiceStatement.execute
(ExecutionContext ctx) RetrieveSnapshotStatementBuilder.RetrieveSnapshotStatement.execute
(ExecutionContext ctx) SuspendServiceStatementBuilder.SuspendServiceStatement.execute
(ExecutionContext ctx) ValidateSnapshotStatementBuilder.ValidateSnapshotStatement.execute
(ExecutionContext ctx) ArchiveSnapshotStatementBuilder.ArchiveSnapshotStatement.getExecutionConfirmation
(ExecutionContext ctx) CreateSnapshotStatementBuilder.CreateSnapshotStatement.getExecutionConfirmation
(ExecutionContext ctx) ForceRecoveryStatementBuilder.ForceRecoveryStatement.getExecutionConfirmation
(ExecutionContext ctx) RecoverSnapshotStatementBuilder.RecoverSnapshotStatement.getExecutionConfirmation
(ExecutionContext ctx) RemoveSnapshotStatementBuilder.RemoveSnapshotStatement.getExecutionConfirmation
(ExecutionContext ctx) ResumeServiceStatementBuilder.ResumeServiceStatement.getExecutionConfirmation
(ExecutionContext ctx) RetrieveSnapshotStatementBuilder.RetrieveSnapshotStatement.getExecutionConfirmation
(ExecutionContext ctx) SuspendServiceStatementBuilder.SuspendServiceStatement.getExecutionConfirmation
(ExecutionContext ctx) ArchiveSnapshotStatementBuilder.realize
(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars) CreateSnapshotStatementBuilder.realize
(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars) ForceRecoveryStatementBuilder.realize
(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars) ListArchiverStatementBuilder.realize
(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars) ListServicesStatementBuilder.realize
(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars) ListSnapshotsStatementBuilder.realize
(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars) RecoverSnapshotStatementBuilder.realize
(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars) RemoveSnapshotStatementBuilder.realize
(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars) ResumeServiceStatementBuilder.realize
(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars) RetrieveSnapshotStatementBuilder.realize
(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars) SuspendServiceStatementBuilder.realize
(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars) ValidateSnapshotStatementBuilder.realize
(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars) -
Uses of ExecutionContext in com.tangosol.util
Modifier and TypeMethodDescriptionprotected static ExecutionContext
QueryHelper.createCommonExecutionContext()
Create a newExecutionContext
.static ExecutionContext
QueryHelper.createExecutionContext
(ConfigurableCacheFactory factory) Create a newExecutionContext
.static ExecutionContext
QueryHelper.createExecutionContext
(Session session) Create a newExecutionContext
.Modifier and TypeMethodDescriptionstatic Statement
QueryHelper.createStatement
(String sStatement, ExecutionContext context) Creates a newCoherence Query Language
Statement
from the provided query string.static Statement
QueryHelper.createStatement
(String sStatement, ExecutionContext context, Object[] oaPositionalParams) Creates a newCoherence Query Language
Statement
from the provided query string.protected static Statement
QueryHelper.createStatement
(String sStatement, ExecutionContext context, Object[] aoPositionalParams, Map<String, Object> mapBindingParams) Creates a newCoherence Query Language
Statement
from the provided query string.static Statement
QueryHelper.createStatement
(String sStatement, ExecutionContext context, Map<String, Object> mapBindingParams) Creates a newCoherence Query Language
Statement
from the provided query string.static Object
QueryHelper.executeStatement
(String sStatement, ExecutionContext context) Execute a CohQL statement.