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.coherence.dsltools.termtrees |
Modifier and Type | Method and Description |
---|---|
protected void |
FilterBuilder.acceptList(NodeTerm termList) |
protected void |
FilterBuilder.acceptPath(NodeTerm term) |
ValueExtractor |
FilterBuilder.makeExtractor(NodeTerm term)
Process the AST Tree using the given Term that represents getter.
|
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. |
Modifier and Type | Field and Description |
---|---|
protected NodeTerm |
SelectListMaker.m_term
The Term that is the AST that encodes select list
|
protected NodeTerm |
UpdateSetListMaker.m_term
The Term that is the AST that encodes select list
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractCoherenceQueryWalker.acceptCall(String sFunctionName, NodeTerm term)
The receiver has classified a call node.
|
protected void |
SelectListMaker.acceptCall(String sFunctionName, NodeTerm term)
The receiver has classified a call node
|
protected void |
UpdateSetListMaker.acceptCall(String sFunctionName, NodeTerm term) |
protected void |
AbstractCoherenceQueryWalker.acceptList(NodeTerm termList)
The receiver has classified a list node.
|
protected void |
UpdateSetListMaker.acceptList(NodeTerm termList) |
void |
AbstractCoherenceQueryWalker.acceptNode(String sFunctor, NodeTerm term) |
void |
UpdateSetListMaker.acceptNode(String sFunctor, NodeTerm term) |
protected void |
AbstractCoherenceQueryWalker.acceptPath(NodeTerm term)
The receiver has classified a path node.
|
protected void |
ConstructorQueryWalker.acceptPath(NodeTerm term)
The receiver has classified a path node.
|
protected void |
SelectListMaker.acceptPath(NodeTerm term) |
protected void |
UpdateSetListMaker.acceptPath(NodeTerm term) |
protected void |
AbstractCoherenceQueryWalker.acceptPathAsChainedExtractor(String sCacheName, NodeTerm nodeTerm)
Process the specified path term as a
ChainedExtractor . |
Object |
UpdateSetListMaker.makeObject(NodeTerm term)
Process the AST Tree using the given Term that that is to be turned into an Object.
|
Object |
UpdateSetListMaker.makeObjectForKey(NodeTerm term, Object oValue)
Process the AST Tree using the given Term that that is to be turned into an Object to be used as a key for the given context Object.
|
Object[] |
SelectListMaker.makeSelectsForCache(String sCacheName, NodeTerm term)
Process the AST Tree using the given Term
|
InvocableMap.EntryProcessor |
UpdateSetListMaker.makeSetList(NodeTerm term)
Process the AST Tree using the given Term
|
Modifier and Type | Method and Description |
---|---|
CommandsStatementBuilder.CommandsQueryPlusStatement |
CommandsStatementBuilder.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) |
HelpStatementBuilder.HelpQueryPlusStatement |
HelpStatementBuilder.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) |
ServicesStatementBuilder.ServicesQueryPlusStatement |
ServicesStatementBuilder.realize(ExecutionContext ctx, NodeTerm term, List listBindVars, com.tangosol.config.expression.ParameterResolver namedBindVars) |
Statement |
SetTenantStatementBuilder.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) |
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) |
Modifier and Type | Method and Description |
---|---|
protected static NodeTerm |
AbstractStatementBuilder.getFields(NodeTerm sn)
Return the AST node that represents the fields to select from the given AST node.
|
protected static NodeTerm |
AbstractStatementBuilder.getGroupBy(NodeTerm sn)
Return the AST node that represents the group by fields from the given AST node.
|
protected static NodeTerm |
AbstractStatementBuilder.getWhere(NodeTerm sn)
Return the AST node that represents the where clause from the given AST node.
|
Modifier and Type | Method and Description |
---|---|
protected InvocableMap.EntryAggregator |
SelectStatementBuilder.createAggregator(String cacheName, NodeTerm fields, String alias, boolean fDistinct, SelectListMaker transformer)
Create the
InvocableMap.EntryAggregator that will aggregate the results of this select query. |
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. |
protected static String |
AbstractStatementBuilder.getAlias(NodeTerm sn)
Return the String that represents the cache name alias from the given AST node by looking for the "alias" term in the AST.
|
protected static String |
AbstractStatementBuilder.getCacheName(NodeTerm sn)
Return the String that represents the cache name from the given AST node by looking for the "from" term AST.
|
protected static Term |
AbstractStatementBuilder.getExtractor(NodeTerm sn)
Return the AST node that represents the extractor for an index from the given AST node.
|
protected static NodeTerm |
AbstractStatementBuilder.getFields(NodeTerm sn)
Return the AST node that represents the fields to select from the given AST node.
|
protected static String |
AbstractStatementBuilder.getFile(NodeTerm sn)
Return the String that represents the filename from the given AST node by looking for the "file" term in the AST.
|
protected static NodeTerm |
AbstractStatementBuilder.getGroupBy(NodeTerm sn)
Return the AST node that represents the group by fields from the given AST node.
|
protected static Term |
AbstractStatementBuilder.getInsertKey(NodeTerm sn)
Return the AST node that represents the key to insert from the given AST node.
|
protected static Term |
AbstractStatementBuilder.getInsertValue(NodeTerm sn)
Return the AST node that represents the value to insert from the given AST node.
|
protected static boolean |
AbstractStatementBuilder.getIsDistinct(NodeTerm sn)
Return the boolean that indicates whether distinctness in indicated in the given AST node.
|
protected static Term |
AbstractStatementBuilder.getSetList(NodeTerm sn)
Return the AST node that represents the list of "Set statements" from the given AST node.
|
protected static NodeTerm |
AbstractStatementBuilder.getWhere(NodeTerm sn)
Return the AST node that represents the where clause from the given AST node.
|
protected static boolean |
AbstractStatementBuilder.headsMatch(NodeTerm fieldList, NodeTerm groupByList)
Test to see if the AST for the group-by is equal to the head of the list from the select clause AST.
|
protected boolean |
SelectStatementBuilder.isSelectStarQuery(String sAlias, NodeTerm termFields)
Return true if this query is of the form "SELECT * FROM cache-name".
|
BackupStatementBuilder.BackupStatement |
BackupStatementBuilder.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) |
CreateIndexStatementBuilder.CreateIndexStatement |
CreateIndexStatementBuilder.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) |
DropCacheStatementBuilder.DropCacheStatement |
DropCacheStatementBuilder.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) |
QueryRecorderStatementBuilder.QueryRecorderStatement |
QueryRecorderStatementBuilder.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) |
SourceStatementBuilder.SourceStatement |
SourceStatementBuilder.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) |
UpdateStatementBuilder.UpdateStatement |
UpdateStatementBuilder.realize(ExecutionContext ctx, NodeTerm term, List listBindVars, com.tangosol.config.expression.ParameterResolver namedBindVars) |
Modifier and Type | Method and Description |
---|---|
ArchiveSnapshotStatementBuilder.ArchiveSnapshotStatement |
ArchiveSnapshotStatementBuilder.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) |
ListArchiverStatementBuilder.ListArchiverStatement |
ListArchiverStatementBuilder.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) |
ListSnapshotsStatementBuilder.ListSnapshotsStatement |
ListSnapshotsStatementBuilder.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) |
ResumeServiceStatementBuilder.ResumeServiceStatement |
ResumeServiceStatementBuilder.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) |
SuspendServiceStatementBuilder.SuspendServiceStatement |
SuspendServiceStatementBuilder.realize(ExecutionContext ctx, NodeTerm term, List listBindVars, com.tangosol.config.expression.ParameterResolver namedBindVars) |
ValidateSnapshotStatementBuilder.ValidateSnapshotStatement |
ValidateSnapshotStatementBuilder.realize(ExecutionContext ctx, NodeTerm term, List listBindVars, com.tangosol.config.expression.ParameterResolver namedBindVars) |
Modifier and Type | Method and Description |
---|---|
void |
TermWalker.acceptNode(String sFunctor, NodeTerm term)
The receiver has been dispatched to from the given node.
|