Package | Description |
---|---|
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.token |
This package contains implementations of
OPToken specifically
for parsing CohQL statements. |
com.tangosol.coherence.dslquery.token.persistence | |
com.tangosol.coherence.dsltools.precedence | |
com.tangosol.coherence.dsltools.termlanguage |
Modifier and Type | Class and Description |
---|---|
class |
AbstractQueryPlusStatementBuilder.AbstractOPToken
An
OPToken implementation
that holds the name of the functor associated to an OPToken. |
class |
CommandsStatementBuilder.CommandsOPToken
A CohQL OPToken representing the QueryPlus "commands" command.
|
class |
ExtendedLanguageStatementBuilder.ExtendedLanguageCommandOPToken
A CohQL OPToken representing the QueryPlus "extended language" command.
|
class |
HelpStatementBuilder.HelpCommandOPToken
A CohQL OPToken representing the QueryPlus "help" command.
|
class |
SanityCheckStatementBuilder.SanityCheckCommandOPToken
A CohQL OPToken representing the QueryPlus "sanity check" command.
|
class |
ServicesStatementBuilder.ServicesCommandOPToken
A CohQL OPToken representing the QueryPlus "services" command.
|
class |
SetTimeoutStatementBuilder.SetTimeoutOPToken
A CohQL OPToken representing the QueryPlus
"ALTER SESSION SET TIMEOUT" statement.
|
class |
TraceStatementBuilder.TraceCommandOPToken
A CohQL OPToken representing the QueryPlus "trace" command.
|
class |
WheneverStatementBuilder.WheneverCommandOPToken
A CohQL OPToken representing the QueryPlus "whenever" command.
|
Modifier and Type | Field and Description |
---|---|
protected OPToken |
TraceStatementBuilder.f_tokenDelegate
The
IdentifierOPToken to delegate to if we cannot process the token. |
Constructor and Description |
---|
TraceStatementBuilder(OPToken tokenDelegate)
Construct a TraceStatementBuilder.
|
Modifier and Type | Class and Description |
---|---|
class |
SQLBackupOPToken
SQLBackupOPToken is used for parsing and specifying the AST
used for backing up a cache.
|
class |
SQLCreateCacheOPToken
SQLCreateOPToken is used for parsing and specifying the AST
used for a create cache.
|
class |
SQLCreateIndexOPToken
SQLCreateOPToken is used for parsing and specifying the AST
used for a create index query.
|
class |
SQLDeleteOPToken
SQLDeleteOPToken is used for parsing and specifying the AST
used for a delete query.
|
class |
SQLDropCacheOPToken
SQLDropCacheOPToken is used for parsing and specifying the AST
used for drop cache
Syntax:
DROP CACHE 'cache-name'
|
class |
SQLDropIndexOPToken
SQLDropIndexOPToken is used for parsing and specifying the AST
used for drop index.
|
class |
SQLExplainOPToken
SQLExplainOPToken is used for parsing and specifying the AST
used for an explain plan statement.
|
class |
SQLInsertOPToken
SQLInsertOPToken is used for parsing and specifying the AST
used for a insert statment.
|
class |
SQLOPToken
SQLOPToken provides useful convenience methods for subclasses.
|
class |
SQLPeekOPToken
An CohQL implementation of a
PeekOPToken . |
class |
SQLRestoreOPToken
SQLRestoreOPToken is used for parsing and specifying the AST
used for restoring a cache.
|
class |
SQLSelectOPToken
SQLSelectOPToken is used for parsing and specifying the AST
used for a select statement.
|
class |
SQLSourceOPToken
SQLSourceOPToken is used for parsing and specifying the AST
used for sourcing (including) a file.
|
class |
SQLTraceOPToken
SQLTraceOPToken is used for parsing and specifying the AST
used for a trace statement.
|
class |
SQLTruncateCacheOPToken
SQLTruncateCacheOPToken is used for parsing and specifying the AST
used for truncate cache.
|
class |
SQLUpdateOPToken
SQLUpdateOPToken is used for parsing and specifying the AST
used for an update statement.
|
Constructor and Description |
---|
SQLPeekOPToken(String sId,
OPToken... tokens)
Construct a SQLPeekOPToken.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractSQLSnapshotOPToken
An abstract implementation of a snapshot operation which can
be extended to support different persistence operations.
|
class |
SQLArchiveSnapshotOPToken
SQLArchiveSnapshotOPToken is used for parsing and specifying the AST
used for archiving snapshots.
|
class |
SQLCreateSnapshotOPToken
SQLCreateSnapshotOPToken is used for parsing and specifying the AST
used for creating snapshots.
|
class |
SQLForceRecoveryOPToken
SQLForceRecoveryOPToken is used for parsing and specifying the AST
used for forcing recovery.
|
class |
SQLListArchivedSnapshotsOPToken
SQLListArchivedSnapshotsOPToken is used for parsing and specifying the AST
used for listing archived snapshots.
|
class |
SQLListArchiverOPToken
SQLListArchiverOPToken is used for parsing and specifying the AST
used for showing the archiver implementation for a service.
|
class |
SQLListServicesOPToken
SQLListServicesOPToken is used for parsing and specifying the AST
used for listing services and their persistence mode.
|
class |
SQLListSnapshotsOPToken
SQLConnectOPToken is used for parsing and specifying the AST
used for listing snapshots.
|
class |
SQLRecoverSnapshotOPToken
SQLRecoverSnapshotOPToken is used for parsing and specifying the AST
used for creating snapshots.
|
class |
SQLRemoveSnapshotOPToken
SQLRemoveSnapshotOPToken is used for parsing and specifying the AST
used for creating snapshots.
|
class |
SQLResumeServiceOPToken
SQLResumeServiceOPToken is used for parsing and specifying the AST
used for resuming services.
|
class |
SQLRetrieveSnapshotOPToken
SQLRetrieveSnapshotOPToken is used for parsing and specifying the AST
used for retrieving snapshots.
|
class |
SQLSuspendServiceOPToken
SQLSuspendServiceOPToken is used for parsing and specifying the AST
used for suspending services.
|
class |
SQLValidateSnapshotOPToken
SQLValidateSnapshotOPToken is used for parsing and specifying the AST
used for creating snapshots.
|
Modifier and Type | Class and Description |
---|---|
class |
BetweenOPToken
BetweenOPToken is used to parse a SQl like between statment.
|
class |
ContainsOPToken
ContainsOPToken is used to implement a contains operation that checks for
membership in a list.
|
class |
EndOfStatementOPToken
An OPToken representing the end of a CohQL statement.
|
class |
EndOPToken
An OPToken representing the end of a token stream.
|
class |
IdentifierOPToken
IdentifierOPToken is used to implement identifiers.
|
class |
InfixOPToken
InfixOPToken is used to implement infix operators.
|
class |
InfixRightOPToken
InfixRightOPToken is used to implement infix operators that like to bind
to the right which is typical of exponentiation rules.
|
class |
KeywordOPToken
KeywordOPToken acts like a PunctuationOPToken when used in a led role
and a Identifier when used as a nud.
|
class |
LikeOPToken
LikeOPToken is used to parse a SQL like statement.
|
class |
ListOpToken
ListOPToken is used to process expressions between bracketing characters
such as are between "[" and "]" which should result in a list (e.g
|
class |
LiteralOPToken
LiteralOpToken is used to implement literals.
|
class |
NestingOPToken
NestingOPToken is an abstract classused to implement parsing situation
where some nesting is implied.
|
class |
NotOPToken
NotOPToken is used to implement not operators.
|
class |
ParenOPToken
ParenOPToken is used to process expressions that are between "(" and ")".
|
class |
PathOPToken
PathOPToken is used to implement dereferencing paths where you have
a sequence of identifiers or function calls seperated by a path separator.
|
class |
PeekOPToken
A PeekOPToken is a token that contains other
OPToken
instances. |
class |
PrefixOPToken
PrefixOPToken is used to implement prefix operators.
|
class |
PunctuationOPToken
PunctuationOPToken is used in situations where you need a place holder to
test for something like a ",".
|
Modifier and Type | Field and Description |
---|---|
protected OPToken |
OPScanner.m_currentToken
The current OPToken translated from current
|
Modifier and Type | Field and Description |
---|---|
protected Map<String,OPToken> |
PeekOPToken.f_mapTokens
|
Modifier and Type | Method and Description |
---|---|
OPToken |
TokenTable.addToken(OPToken token)
Add a token t under the id stored in the token
|
OPToken |
TokenTable.addToken(OPToken token,
String sASTName)
Add a token t with given ast name
|
OPToken |
TokenTable.addToken(String sName,
OPToken token)
Add a token t under the given name
|
OPToken |
TokenTable.addToken(String sName,
OPToken token,
String sASTName)
Add a token t under the given name with given ast name
|
OPToken |
TokenTable.addToken(String sName,
OPToken token,
String sLedName,
String sNudName)
Add a token t under the given name with given led and nud names
|
OPToken |
OPScanner.advance()
Advance to the next token.
|
OPToken |
OPScanner.advance(String s)
Advance to the next token and expect it to match the given string.
|
OPToken |
OPScanner.advance(String s,
boolean fIgnoreCase)
Advance to the next token and expect it to match the given string.
|
protected OPToken |
OPScanner.classify()
Figure out how to map the current BaseToken to a OPToken and return it.
|
protected OPToken |
PeekOPToken.findMatchingOPToken(OPParser parser)
|
OPToken |
OPScanner.getCurrent()
Answer the current OPToken.
|
OPToken |
PeekOPToken.getOPToken(String sId)
Obtain the
OPToken that is mapped to
the specified identifier. |
OPToken |
TokenTable.lookup(String sName)
Lookup an OPToken by name
|
OPToken |
TokenTable.newIdentifier(String sValue)
Construct a new identifier OPToken instance with the given id.
|
OPToken |
TokenTable.newLiteral(String sValue,
int nTypeCode)
Construct a new literal OPToken instance with the given parameters.
|
OPToken |
OPScanner.next()
Move to the next token in the stream and return it.
|
Modifier and Type | Method and Description |
---|---|
void |
PeekOPToken.addOPToken(OPToken token)
|
void |
PeekOPToken.addOPToken(String id,
OPToken token)
|
OPToken |
TokenTable.addToken(OPToken token)
Add a token t under the id stored in the token
|
OPToken |
TokenTable.addToken(OPToken token,
String sASTName)
Add a token t with given ast name
|
OPToken |
TokenTable.addToken(String sName,
OPToken token)
Add a token t under the given name
|
OPToken |
TokenTable.addToken(String sName,
OPToken token,
String sASTName)
Add a token t under the given name with given ast name
|
OPToken |
TokenTable.addToken(String sName,
OPToken token,
String sLedName,
String sNudName)
Add a token t under the given name with given led and nud names
|
Constructor and Description |
---|
PeekOPToken(String sId,
int nBindingPower,
OPToken... tokens)
Construct a new PeekOPToken with the given parameters.
|
PeekOPToken(String sId,
int nBindingPower,
String sASTName,
OPToken... tokens)
Construct a new PeekOPToken with the given parameters.
|
PeekOPToken(String sId,
int nBindingPower,
String sLedASTName,
String sNudASTName,
OPToken... aTokens)
Construct a new PeekOPToken with the given parameters.
|
PeekOPToken(String sId,
OPToken... tokens)
Construct a new PeekOPToken with the given parameters.
|
PeekOPToken(String sId,
String sASTName,
OPToken... tokens)
Construct a new PeekOPToken with the given parameters.
|
Modifier and Type | Class and Description |
---|---|
class |
ColonToken
Colon is used to make attributes in a list or bag.
|
class |
CurlyToken
CurlyToken is used to process expressions between bracketing characters
such as are between "{" and "}" which should result in a bag
such as {1,3,4,5}.
|