Uses of Class
com.tangosol.coherence.dslquery.ExecutionContext
-
Packages that use ExecutionContext Package Description com.tangosol.coherence.dslquery Contains packages and classes supporting the Coherence CohQL command line tool.com.tangosol.coherence.dslquery.queryplus This package contains commands that are specific to theQueryPlus
tool rather than general CohQL commands.com.tangosol.coherence.dslquery.statement This package containsStatementBuilder
implementations.com.tangosol.coherence.dslquery.statement.persistence This package contains classes for persistence related statement builders.com.tangosol.util Contains various generic utilities. -
-
Uses of ExecutionContext in com.tangosol.coherence.dslquery
Fields in com.tangosol.coherence.dslquery declared as ExecutionContext Modifier and Type Field Description protected ExecutionContext
QueryPlus. f_context
TheExecutionContext
that will be passed toStatement
s.Methods in com.tangosol.coherence.dslquery that return ExecutionContext Modifier and Type Method Description ExecutionContext
QueryPlus. getExecutionContext()
Return the currentExecutionContext
passed toStatement
s.Methods in com.tangosol.coherence.dslquery with parameters of type ExecutionContext Modifier and Type Method Description StatementResult
Statement. execute(ExecutionContext ctx)
Execute a CohQL query or command and return the relevantresult
.Object
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
.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, ParameterResolver namedBindVars)
Realize an instance of theStatement
that will execute the CohQL statement represented by the AST node.T
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
Methods in com.tangosol.coherence.dslquery.queryplus with parameters of type ExecutionContext Modifier and Type Method Description StatementResult
ServicesStatementBuilder.ServicesQueryPlusStatement. dumpServiceInfo(ExecutionContext ctx)
Return information about the current set of Coherence services.StatementResult
CommandsStatementBuilder.CommandsQueryPlusStatement. execute(ExecutionContext ctx)
StatementResult
ExtendedLanguageStatementBuilder.ExtendedLanguageQueryPlusStatement. execute(ExecutionContext ctx)
StatementResult
HelpStatementBuilder.HelpQueryPlusStatement. execute(ExecutionContext ctx)
StatementResult
SanityCheckStatementBuilder.SanityCheckQueryPlusStatement. execute(ExecutionContext ctx)
StatementResult
ServicesStatementBuilder.ServicesQueryPlusStatement. execute(ExecutionContext ctx)
StatementResult
SetTimeoutStatementBuilder.SetTimeoutStatement. execute(ExecutionContext ctx)
Set the current timeout to be used by the CohQL session.StatementResult
TraceStatementBuilder.TraceQueryPlusStatement. execute(ExecutionContext ctx)
StatementResult
WheneverStatementBuilder.WheneverQueryPlusStatement. execute(ExecutionContext ctx)
String
AbstractQueryPlusStatementBuilder.AbstractStatement. getExecutionConfirmation(ExecutionContext ctx)
CommandsStatementBuilder.CommandsQueryPlusStatement
CommandsStatementBuilder. realize(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars)
ExtendedLanguageStatementBuilder.ExtendedLanguageQueryPlusStatement
ExtendedLanguageStatementBuilder. realize(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars)
HelpStatementBuilder.HelpQueryPlusStatement
HelpStatementBuilder. realize(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars)
SanityCheckStatementBuilder.SanityCheckQueryPlusStatement
SanityCheckStatementBuilder. realize(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars)
ServicesStatementBuilder.ServicesQueryPlusStatement
ServicesStatementBuilder. realize(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars)
Statement
SetTimeoutStatementBuilder. realize(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars)
TraceStatementBuilder.TraceQueryPlusStatement
TraceStatementBuilder. realize(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars)
WheneverStatementBuilder.WheneverQueryPlusStatement
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
Methods in com.tangosol.coherence.dslquery.statement with parameters of type ExecutionContext Modifier and Type Method Description protected 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.StatementResult
BackupStatementBuilder.BackupStatement. execute(ExecutionContext ctx)
StatementResult
CreateCacheStatementBuilder.CreateCacheStatement. execute(ExecutionContext ctx)
StatementResult
CreateIndexStatementBuilder.CreateIndexStatement. execute(ExecutionContext ctx)
StatementResult
DeleteStatementBuilder.DeleteStatement. execute(ExecutionContext ctx)
StatementResult
DropCacheStatementBuilder.DropCacheStatement. execute(ExecutionContext ctx)
StatementResult
DropIndexStatementBuilder.DropIndexStatement. execute(ExecutionContext ctx)
StatementResult
InsertStatementBuilder.InsertStatement. execute(ExecutionContext ctx)
StatementResult
QueryRecorderStatementBuilder.QueryRecorderStatement. execute(ExecutionContext ctx)
StatementResult
RestoreStatementBuilder.RestoreStatement. execute(ExecutionContext ctx)
CompletableFuture<StatementResult>
SelectStatementBuilder.AsyncSelectStatement. execute(ExecutionContext ctx)
StatementResult
SelectStatementBuilder.SelectStatement. execute(ExecutionContext ctx)
StatementResult
SourceStatementBuilder.SourceStatement. execute(ExecutionContext ctx)
StatementResult
TruncateCacheStatementBuilder.TruncateCacheStatement. execute(ExecutionContext ctx)
StatementResult
UpdateStatementBuilder.UpdateStatement. execute(ExecutionContext ctx)
CompletableFuture<StatementResult>
DeleteStatementBuilder.DeleteStatement. executeAsync(ExecutionContext ctx)
CompletableFuture<StatementResult>
InsertStatementBuilder.InsertStatement. executeAsync(ExecutionContext ctx)
CompletableFuture<StatementResult>
SelectStatementBuilder.SelectStatement. executeAsync(ExecutionContext ctx)
CompletableFuture<StatementResult>
UpdateStatementBuilder.UpdateStatement. executeAsync(ExecutionContext ctx)
String
AbstractStatement. getExecutionConfirmation(ExecutionContext ctx)
BackupStatementBuilder.BackupStatement
BackupStatementBuilder. realize(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars)
CreateCacheStatementBuilder.CreateCacheStatement
CreateCacheStatementBuilder. realize(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars)
CreateIndexStatementBuilder.CreateIndexStatement
CreateIndexStatementBuilder. realize(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars)
DeleteStatementBuilder.DeleteStatement
DeleteStatementBuilder. realize(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars)
DropCacheStatementBuilder.DropCacheStatement
DropCacheStatementBuilder. realize(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars)
DropIndexStatementBuilder.DropIndexStatement
DropIndexStatementBuilder. realize(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars)
InsertStatementBuilder.InsertStatement
InsertStatementBuilder. realize(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars)
QueryRecorderStatementBuilder.QueryRecorderStatement
QueryRecorderStatementBuilder. realize(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars)
RestoreStatementBuilder.RestoreStatement
RestoreStatementBuilder. realize(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars)
SelectStatementBuilder.SelectStatement
SelectStatementBuilder. realize(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars)
SourceStatementBuilder.SourceStatement
SourceStatementBuilder. realize(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars)
TruncateCacheStatementBuilder.TruncateCacheStatement
TruncateCacheStatementBuilder. realize(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars)
UpdateStatementBuilder.UpdateStatement
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)
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. -
Uses of ExecutionContext in com.tangosol.coherence.dslquery.statement.persistence
Methods in com.tangosol.coherence.dslquery.statement.persistence with parameters of type ExecutionContext Modifier and Type Method Description StatementResult
ArchiveSnapshotStatementBuilder.ArchiveSnapshotStatement. execute(ExecutionContext ctx)
StatementResult
CreateSnapshotStatementBuilder.CreateSnapshotStatement. execute(ExecutionContext ctx)
StatementResult
ForceRecoveryStatementBuilder.ForceRecoveryStatement. execute(ExecutionContext ctx)
StatementResult
ListArchiverStatementBuilder.ListArchiverStatement. execute(ExecutionContext ctx)
StatementResult
ListServicesStatementBuilder.ListServicesStatement. execute(ExecutionContext ctx)
StatementResult
ListSnapshotsStatementBuilder.ListSnapshotsStatement. execute(ExecutionContext ctx)
StatementResult
RecoverSnapshotStatementBuilder.RecoverSnapshotStatement. execute(ExecutionContext ctx)
StatementResult
RemoveSnapshotStatementBuilder.RemoveSnapshotStatement. execute(ExecutionContext ctx)
StatementResult
ResumeServiceStatementBuilder.ResumeServiceStatement. execute(ExecutionContext ctx)
StatementResult
RetrieveSnapshotStatementBuilder.RetrieveSnapshotStatement. execute(ExecutionContext ctx)
StatementResult
SuspendServiceStatementBuilder.SuspendServiceStatement. execute(ExecutionContext ctx)
StatementResult
ValidateSnapshotStatementBuilder.ValidateSnapshotStatement. execute(ExecutionContext ctx)
String
ArchiveSnapshotStatementBuilder.ArchiveSnapshotStatement. getExecutionConfirmation(ExecutionContext ctx)
String
CreateSnapshotStatementBuilder.CreateSnapshotStatement. getExecutionConfirmation(ExecutionContext ctx)
String
ForceRecoveryStatementBuilder.ForceRecoveryStatement. getExecutionConfirmation(ExecutionContext ctx)
String
RecoverSnapshotStatementBuilder.RecoverSnapshotStatement. getExecutionConfirmation(ExecutionContext ctx)
String
RemoveSnapshotStatementBuilder.RemoveSnapshotStatement. getExecutionConfirmation(ExecutionContext ctx)
String
ResumeServiceStatementBuilder.ResumeServiceStatement. getExecutionConfirmation(ExecutionContext ctx)
String
RetrieveSnapshotStatementBuilder.RetrieveSnapshotStatement. getExecutionConfirmation(ExecutionContext ctx)
String
SuspendServiceStatementBuilder.SuspendServiceStatement. getExecutionConfirmation(ExecutionContext ctx)
ArchiveSnapshotStatementBuilder.ArchiveSnapshotStatement
ArchiveSnapshotStatementBuilder. realize(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars)
CreateSnapshotStatementBuilder.CreateSnapshotStatement
CreateSnapshotStatementBuilder. realize(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars)
ForceRecoveryStatementBuilder.ForceRecoveryStatement
ForceRecoveryStatementBuilder. realize(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars)
ListArchiverStatementBuilder.ListArchiverStatement
ListArchiverStatementBuilder. realize(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars)
ListServicesStatementBuilder.ListServicesStatement
ListServicesStatementBuilder. realize(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars)
ListSnapshotsStatementBuilder.ListSnapshotsStatement
ListSnapshotsStatementBuilder. realize(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars)
RecoverSnapshotStatementBuilder.RecoverSnapshotStatement
RecoverSnapshotStatementBuilder. realize(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars)
RemoveSnapshotStatementBuilder.RemoveSnapshotStatement
RemoveSnapshotStatementBuilder. realize(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars)
ResumeServiceStatementBuilder.ResumeServiceStatement
ResumeServiceStatementBuilder. realize(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars)
RetrieveSnapshotStatementBuilder.RetrieveSnapshotStatement
RetrieveSnapshotStatementBuilder. realize(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars)
SuspendServiceStatementBuilder.SuspendServiceStatement
SuspendServiceStatementBuilder. realize(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars)
ValidateSnapshotStatementBuilder.ValidateSnapshotStatement
ValidateSnapshotStatementBuilder. realize(ExecutionContext ctx, NodeTerm term, List listBindVars, ParameterResolver namedBindVars)
-
Uses of ExecutionContext in com.tangosol.util
Methods in com.tangosol.util that return ExecutionContext Modifier and Type Method Description protected 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
.Methods in com.tangosol.util with parameters of type ExecutionContext Modifier and Type Method Description static 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.
-