Uses of Class
com.tangosol.coherence.dsltools.precedence.OPToken
Package
Description
This package contains commands that are specific to the
QueryPlus
tool rather than general CohQL commands.This package contains implementations of
OPToken
specifically
for parsing CohQL statements.This package contains implementations of
OPToken
specifically for parsing persistence related CohQL statements.This package contains implementations of
OPToken
s.This package contains implementations of
TermLanguage
.-
Uses of OPToken in com.tangosol.coherence.dslquery.queryplus
Modifier and TypeClassDescriptionclass
AnOPToken
implementation that holds the name of the functor associated to an OPToken.class
A CohQL OPToken representing the QueryPlus "commands" command.class
A CohQL OPToken representing the QueryPlus "extended language" command.class
A CohQL OPToken representing the QueryPlus "help" command.class
A CohQL OPToken representing the QueryPlus "sanity check" command.class
A CohQL OPToken representing the QueryPlus "services" command.class
A CohQL OPToken representing the QueryPlus "ALTER SESSION SET TIMEOUT" statement.class
A CohQL OPToken representing the QueryPlus "trace" command.class
A CohQL OPToken representing the QueryPlus "whenever" command.Modifier and TypeFieldDescriptionprotected final OPToken
TraceStatementBuilder.f_tokenDelegate
TheIdentifierOPToken
to delegate to if we cannot process the token.ModifierConstructorDescriptionTraceStatementBuilder
(OPToken tokenDelegate) Construct a TraceStatementBuilder. -
Uses of OPToken in com.tangosol.coherence.dslquery.token
Modifier and TypeClassDescriptionclass
SQLBackupOPToken is used for parsing and specifying the AST used for backing up a cache.class
SQLCreateOPToken is used for parsing and specifying the AST used for a create cache.class
SQLCreateOPToken is used for parsing and specifying the AST used for a create index query.class
SQLDeleteOPToken is used for parsing and specifying the AST used for a delete query.class
SQLDropCacheOPToken is used for parsing and specifying the AST used for drop cacheclass
SQLDropIndexOPToken is used for parsing and specifying the AST used for drop index.class
SQLExplainOPToken is used for parsing and specifying the AST used for an explain plan statement.class
SQLInsertOPToken is used for parsing and specifying the AST used for a insert statment.class
SQLOPToken provides useful convenience methods for subclasses.class
An CohQL implementation of aPeekOPToken
.class
SQLRestoreOPToken is used for parsing and specifying the AST used for restoring a cache.class
SQLSelectOPToken is used for parsing and specifying the AST used for a select statement.class
SQLSourceOPToken is used for parsing and specifying the AST used for sourcing (including) a file.class
SQLTraceOPToken is used for parsing and specifying the AST used for a trace statement.class
SQLTruncateCacheOPToken is used for parsing and specifying the AST used for truncate cache.class
SQLUpdateOPToken is used for parsing and specifying the AST used for an update statement.ModifierConstructorDescriptionSQLPeekOPToken
(String sId, OPToken... tokens) Construct a SQLPeekOPToken. -
Uses of OPToken in com.tangosol.coherence.dslquery.token.persistence
Modifier and TypeClassDescriptionclass
An abstract implementation of a snapshot operation which can be extended to support different persistence operations.class
SQLArchiveSnapshotOPToken is used for parsing and specifying the AST used for archiving snapshots.class
SQLCreateSnapshotOPToken is used for parsing and specifying the AST used for creating snapshots.class
SQLForceRecoveryOPToken is used for parsing and specifying the AST used for forcing recovery.class
SQLListArchivedSnapshotsOPToken is used for parsing and specifying the AST used for listing archived snapshots.class
SQLListArchiverOPToken is used for parsing and specifying the AST used for showing the archiver implementation for a service.class
SQLListServicesOPToken is used for parsing and specifying the AST used for listing services and their persistence mode.class
SQLConnectOPToken is used for parsing and specifying the AST used for listing snapshots.class
SQLRecoverSnapshotOPToken is used for parsing and specifying the AST used for creating snapshots.class
SQLRemoveSnapshotOPToken is used for parsing and specifying the AST used for creating snapshots.class
SQLResumeServiceOPToken is used for parsing and specifying the AST used for resuming services.class
SQLRetrieveSnapshotOPToken is used for parsing and specifying the AST used for retrieving snapshots.class
SQLSuspendServiceOPToken is used for parsing and specifying the AST used for suspending services.class
SQLValidateSnapshotOPToken is used for parsing and specifying the AST used for creating snapshots. -
Uses of OPToken in com.tangosol.coherence.dsltools.precedence
Modifier and TypeClassDescriptionclass
BetweenOPToken is used to parse a SQl like between statment.class
ContainsOPToken is used to implement a contains operation that checks for membership in a list.class
An OPToken representing the end of a CohQL statement.class
An OPToken representing the end of a token stream.class
IdentifierOPToken is used to implement identifiers.class
InfixOPToken is used to implement infix operators.class
InfixRightOPToken is used to implement infix operators that like to bind to the right which is typical of exponentiation rules.class
KeywordOPToken acts like a PunctuationOPToken when used in a led role and a Identifier when used as a nud.class
LikeOPToken is used to parse a SQL like statement.class
ListOPToken is used to process expressions between bracketing characters such as are between "[" and "]" which should result in a list (e.gclass
LiteralOpToken is used to implement literals.class
NestingOPToken is an abstract classused to implement parsing situation where some nesting is implied.class
NotOPToken is used to implement not operators.class
ParenOPToken is used to process expressions that are between "(" and ")".class
PathOPToken is used to implement dereferencing paths where you have a sequence of identifiers or function calls seperated by a path separator.class
A PeekOPToken is a token that contains otherOPToken
instances.class
PrefixOPToken is used to implement prefix operators.class
PunctuationOPToken is used in situations where you need a place holder to test for something like a ",".Modifier and TypeFieldDescriptionprotected OPToken
OPScanner.m_currentToken
The current OPToken translated from currentModifier and TypeMethodDescriptionAdd a token t under the id stored in the tokenAdd a token t with given ast nameAdd a token t under the given nameAdd a token t under the given name with given ast nameAdd a token t under the given name with given led and nud namesOPScanner.advance()
Advance to the next token.Advance to the next token and expect it to match the given string.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) OPScanner.getCurrent()
Answer the current OPToken.PeekOPToken.getOPToken
(String sId) Obtain theOPToken
that is mapped to the specified identifier.Lookup an OPToken by nameTokenTable.newIdentifier
(String sValue) Construct a new identifier OPToken instance with the given id.TokenTable.newLiteral
(String sValue, int nTypeCode) Construct a new literal OPToken instance with the given parameters.OPScanner.next()
Move to the next token in the stream and return it.Modifier and TypeMethodDescriptionvoid
PeekOPToken.addOPToken
(OPToken token) void
PeekOPToken.addOPToken
(String id, OPToken token) Add a token t under the id stored in the tokenAdd a token t with given ast nameAdd a token t under the given nameAdd a token t under the given name with given ast nameAdd a token t under the given name with given led and nud namesModifierConstructorDescriptionPeekOPToken
(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. -
Uses of OPToken in com.tangosol.coherence.dsltools.termlanguage
Modifier and TypeClassDescriptionclass
Colon is used to make attributes in a list or bag.class
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}.