Uses of Class
com.tangosol.coherence.dsltools.termtrees.Term
-
Packages that use Term Package Description com.tangosol.coherence.dslquery Contains packages and classes supporting the Coherence CohQL command line tool.com.tangosol.coherence.dslquery.operator This package contains implementations of theBaseOperator
interface.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.token This package contains implementations ofOPToken
specifically for parsing CohQL statements.com.tangosol.coherence.dslquery.token.persistence This package contains implementations ofOPToken
specifically for parsing persistence related CohQL statements.com.tangosol.coherence.dsltools.precedence This package contains implementations ofOPToken
s.com.tangosol.coherence.dsltools.termlanguage This package contains implementations ofTermLanguage
.com.tangosol.coherence.dsltools.termtrees This package contains implementations of dsltools buildingTerm
s.com.tangosol.util Contains various generic utilities. -
-
Uses of Term in com.tangosol.coherence.dslquery
Fields in com.tangosol.coherence.dslquery declared as Term Modifier and Type Field Description protected Term
FilterBuilder. m_term
The Term that is the AST that encodes the Filter to be made.Methods in com.tangosol.coherence.dslquery with parameters of type Term Modifier and Type Method Description protected void
FilterBuilder. acceptBinaryOperator(String sOperator, Term termLeft, Term termRight)
This method will take a Binary Operator and the left and rightTerm
s for the operator and result in the creation of aFilter
or aValueExtractor
.protected void
FilterBuilder. acceptUnaryOperator(String sOperator, Term t)
Filter
FilterBuilder. makeFilter(Term term)
Make a new Filter from the given AST.Filter
FilterBuilder. makeFilter(Term term, Object[] aoIndexedBindVars)
Make a new Filter from the given AST using given array for Bind vars.Filter
FilterBuilder. makeFilter(Term term, Object[] aoIndexedBindVars, Map mapNamedBindVars)
Make a new Filter from the given AST using the given bind variables.Filter
FilterBuilder. makeFilter(Term term, List listBindVars, ParameterResolver namedBindVars)
Make a new Filter from the given AST using the given bind variables.Filter
FilterBuilder. makeFilterForCache(String sCacheName, Term term, List indexedBindVars, ParameterResolver namedBindVars)
Make a new Filter from the given AST using given array for Bind vars.Constructors in com.tangosol.coherence.dslquery with parameters of type Term Constructor Description FilterBuilder(Term term)
Construct a new FilterBuilder that can construct a Filter from the given Term. -
Uses of Term in com.tangosol.coherence.dslquery.operator
Methods in com.tangosol.coherence.dslquery.operator with parameters of type Term Modifier and Type Method Description ValueExtractor
BaseOperator. makeExtractor(Term termLeft, Term termRight, TermWalker walker)
F
BaseOperator. makeFilter(Term termLeft, Term termRight, TermWalker walker)
ComparisonFilter
ComparisonOperator. makeFilter(Term termLeft, Term termRight, TermWalker walker)
ComparisonFilter
EqualsOperator. makeFilter(Term termLeft, Term termRight, TermWalker walker)
-
Uses of Term in com.tangosol.coherence.dslquery.queryplus
Methods in com.tangosol.coherence.dslquery.queryplus that return Term Modifier and Type Method Description Term
TraceStatementBuilder.TraceCommandOPToken. led(OPParser parser, Term termLeft)
Term
CommandsStatementBuilder.CommandsOPToken. nud(OPParser parser)
Term
ExtendedLanguageStatementBuilder.ExtendedLanguageCommandOPToken. nud(OPParser parser)
Term
HelpStatementBuilder.HelpCommandOPToken. nud(OPParser parser)
Term
SanityCheckStatementBuilder.SanityCheckCommandOPToken. nud(OPParser parser)
Term
ServicesStatementBuilder.ServicesCommandOPToken. nud(OPParser parser)
Term
SetTimeoutStatementBuilder.SetTimeoutOPToken. nud(OPParser parser)
Term
TraceStatementBuilder.TraceCommandOPToken. nud(OPParser parser)
Term
WheneverStatementBuilder.WheneverCommandOPToken. nud(OPParser parser)
Methods in com.tangosol.coherence.dslquery.queryplus with parameters of type Term Modifier and Type Method Description Term
TraceStatementBuilder.TraceCommandOPToken. led(OPParser parser, Term termLeft)
-
Uses of Term in com.tangosol.coherence.dslquery.statement
Methods in com.tangosol.coherence.dslquery.statement that return Term Modifier and Type Method Description 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 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 Term
AbstractStatementBuilder. getSetList(NodeTerm sn)
Return the AST node that represents the list of "Set statements" from the given AST node.Methods in com.tangosol.coherence.dslquery.statement with parameters of type Term Modifier and Type Method Description protected static String
AbstractStatementBuilder. atomicStringValueOf(Term t)
Return a String that is the value of the given Term.protected Object
InsertStatementBuilder. createInsertKey(Term termKey, com.tangosol.coherence.dslquery.internal.UpdateSetListMaker transformer, Object oValue)
Create the key to use in the insert statement.protected Object
InsertStatementBuilder. createInsertValue(Term termValue, com.tangosol.coherence.dslquery.internal.UpdateSetListMaker transformer)
Create the instance of the value that will be inserted into the cache. -
Uses of Term in com.tangosol.coherence.dslquery.token
Methods in com.tangosol.coherence.dslquery.token that return Term Modifier and Type Method Description protected Term
SQLOPToken. checkAlias(OPParser p, String... expectedNextKeywords)
Check to see if there is an alias and create a Term to hold the alias identifier if one existsTerm
SQLBackupOPToken. nud(OPParser parser)
Term
SQLCreateCacheOPToken. nud(OPParser parser)
Term
SQLCreateIndexOPToken. nud(OPParser parser)
Term
SQLDeleteOPToken. nud(OPParser parser)
Term
SQLDropCacheOPToken. nud(OPParser parser)
Term
SQLDropIndexOPToken. nud(OPParser parser)
Term
SQLExplainOPToken. nud(OPParser parser)
Term
SQLInsertOPToken. nud(OPParser parser)
Term
SQLRestoreOPToken. nud(OPParser parser)
Term
SQLSelectOPToken. nud(OPParser parser)
Term
SQLSourceOPToken. nud(OPParser parser)
Term
SQLTruncateCacheOPToken. nud(OPParser parser)
Term
SQLUpdateOPToken. nud(OPParser parser)
-
Uses of Term in com.tangosol.coherence.dslquery.token.persistence
Methods in com.tangosol.coherence.dslquery.token.persistence that return Term Modifier and Type Method Description Term
SQLArchiveSnapshotOPToken. nud(OPParser p)
Term
SQLCreateSnapshotOPToken. nud(OPParser p)
Term
SQLForceRecoveryOPToken. nud(OPParser p)
Term
SQLListArchivedSnapshotsOPToken. nud(OPParser p)
Term
SQLListArchiverOPToken. nud(OPParser p)
Term
SQLListServicesOPToken. nud(OPParser p)
Term
SQLListSnapshotsOPToken. nud(OPParser p)
Term
SQLRecoverSnapshotOPToken. nud(OPParser p)
Term
SQLRemoveSnapshotOPToken. nud(OPParser p)
Term
SQLResumeServiceOPToken. nud(OPParser p)
Term
SQLRetrieveSnapshotOPToken. nud(OPParser p)
Term
SQLSuspendServiceOPToken. nud(OPParser p)
Term
SQLValidateSnapshotOPToken. nud(OPParser p)
protected Term
AbstractSQLSnapshotOPToken. process(OPScanner s, String sOperation, String sFunctor)
Process the commands for the given operation and return a validTerm
for the command. -
Uses of Term in com.tangosol.coherence.dsltools.precedence
Methods in com.tangosol.coherence.dsltools.precedence with type parameters of type Term Modifier and Type Method Description <T extends Term>
TOPParser. parse()
Parse the next expression into an Abstract Syntax Tree.Methods in com.tangosol.coherence.dsltools.precedence that return Term Modifier and Type Method Description protected Term
PeekOPToken. defaultLed(OPParser parser, Term leftNode)
The default led method that will be called if there is noOPToken
mapped for the token parsed from the token stream.protected Term
PeekOPToken. defaultNud(OPParser parser)
The default nud method that will be called if there is noOPToken
mapped for the token parsed from the token stream.Term
OPParser. expression(int nRightBindingPower)
Parse the next expression into an Abstract Syntax Tree using the given right binding power.Term
BetweenOPToken. led(OPParser p, Term leftNode)
Process this token and possibly the given leftNodein the context of a parser with the left denotation.Term
ContainsOPToken. led(OPParser p, Term leftNode)
Process this token and possibly the given leftNodein the context of a parser with the left denotation.Term
IdentifierOPToken. led(OPParser parser, Term leftNode)
Process this token and possibly the given leftNodein the context of a parser with the left denotation.Term
InfixOPToken. led(OPParser p, Term leftNode)
Process this token and possibly the given leftNodein the context of a parser with the left denotation.Term
InfixRightOPToken. led(OPParser p, Term leftNode)
Process this token and possibly the given leftNodein the context of a parser with the left denotation.Term
KeywordOPToken. led(OPParser parser, Term leftNode)
Process this token and possibly the given leftNodein the context of a parser with the left denotation.Term
LikeOPToken. led(OPParser p, Term leftNode)
Process this token and possibly the given leftNodein the context of a parser with the left denotation.Term
LiteralOPToken. led(OPParser parser, Term leftNode)
Process this token and possibly the given leftNodein the context of a parser with the left denotation.Term
NotOPToken. led(OPParser p, Term leftNode)
Process this token and possibly the given leftNodein the context of a parser with the left denotation.Term
OPToken. led(OPParser parser, Term leftNode)
Process this token and possibly the given leftNodein the context of a parser with the left denotation.Term
ParenOPToken. led(OPParser p, Term leftNode)
Process this token and possibly the given leftNodein the context of a parser with the left denotation.Term
PathOPToken. led(OPParser p, Term leftNode)
Process this token and possibly the given leftNodein the context of a parser with the left denotation.Term
PeekOPToken. led(OPParser parser, Term leftNode)
Process this token and possibly the given leftNodein the context of a parser with the left denotation.protected Term
OPToken. newAST(String sAstName, Term term)
Create an Abstract Syntax Node for the given arguments.protected Term
OPToken. newAST(String sAstName, String sFunctor)
Create an Abstract Syntax Node for the given arguments.protected Term
OPToken. newAST(String sAstName, String sFunctor, Term term)
Create an Abstract Syntax Node for the given arguments.protected Term
OPToken. newAST(String sAstName, String sFunctor, Term t1, Term t2)
Create an Abstract Syntax Node for the given arguments.protected Term
OPToken. newAST(String sAstName, String sFunctor, Term t1, Term t2, Term t3)
Create an Abstract Syntax Node for the given arguments.Term[]
OPParser. nodeList()
Parse a comma separated sequence of expressions to the of the tokens.Term[]
OPParser. nodeList(String sEndMarker)
Parse a comma separated sequence of expressions upto the given end marker.Term[]
OPParser. nodeList(String sEndMarker, boolean fEndStreamAllowed)
Parse a comma separated sequence of expressions upto the given end marker.Term
IdentifierOPToken. nud(OPParser parser)
Process this token in the context of parser p with the null denotation.Term
InfixOPToken. nud(OPParser p)
Process this token in the context of parser p with the null denotation.Term
KeywordOPToken. nud(OPParser p)
Process this token in the context of parser p with the null denotation.Term
ListOpToken. nud(OPParser p)
Process this token in the context of parser p with the null denotation.Term
LiteralOPToken. nud(OPParser p)
Process this token in the context of parser p with the null denotation.Term
NotOPToken. nud(OPParser p)
Process this token in the context of parser p with the null denotation.Term
OPToken. nud(OPParser parser)
Process this token in the context of parser p with the null denotation.Term
ParenOPToken. nud(OPParser p)
Process this token in the context of parser p with the null denotation.Term
PeekOPToken. nud(OPParser parser)
Process this token in the context of parser p with the null denotation.Term
PrefixOPToken. nud(OPParser p)
Process this token in the context of parser p with the null denotation.Term[]
OPParser. readNestedCommaSeparatedList(NestedBaseTokens nest)
Build an array of ASTNodes by processing the this tokens nest as a comma separated list.Methods in com.tangosol.coherence.dsltools.precedence with parameters of type Term Modifier and Type Method Description protected Term
PeekOPToken. defaultLed(OPParser parser, Term leftNode)
The default led method that will be called if there is noOPToken
mapped for the token parsed from the token stream.Term
BetweenOPToken. led(OPParser p, Term leftNode)
Process this token and possibly the given leftNodein the context of a parser with the left denotation.Term
ContainsOPToken. led(OPParser p, Term leftNode)
Process this token and possibly the given leftNodein the context of a parser with the left denotation.Term
IdentifierOPToken. led(OPParser parser, Term leftNode)
Process this token and possibly the given leftNodein the context of a parser with the left denotation.Term
InfixOPToken. led(OPParser p, Term leftNode)
Process this token and possibly the given leftNodein the context of a parser with the left denotation.Term
InfixRightOPToken. led(OPParser p, Term leftNode)
Process this token and possibly the given leftNodein the context of a parser with the left denotation.Term
KeywordOPToken. led(OPParser parser, Term leftNode)
Process this token and possibly the given leftNodein the context of a parser with the left denotation.Term
LikeOPToken. led(OPParser p, Term leftNode)
Process this token and possibly the given leftNodein the context of a parser with the left denotation.Term
LiteralOPToken. led(OPParser parser, Term leftNode)
Process this token and possibly the given leftNodein the context of a parser with the left denotation.Term
NotOPToken. led(OPParser p, Term leftNode)
Process this token and possibly the given leftNodein the context of a parser with the left denotation.Term
OPToken. led(OPParser parser, Term leftNode)
Process this token and possibly the given leftNodein the context of a parser with the left denotation.Term
ParenOPToken. led(OPParser p, Term leftNode)
Process this token and possibly the given leftNodein the context of a parser with the left denotation.Term
PathOPToken. led(OPParser p, Term leftNode)
Process this token and possibly the given leftNodein the context of a parser with the left denotation.Term
PeekOPToken. led(OPParser parser, Term leftNode)
Process this token and possibly the given leftNodein the context of a parser with the left denotation.protected Term
OPToken. newAST(String sAstName, Term term)
Create an Abstract Syntax Node for the given arguments.protected Term
OPToken. newAST(String sAstName, String sFunctor, Term term)
Create an Abstract Syntax Node for the given arguments.protected Term
OPToken. newAST(String sAstName, String sFunctor, Term t1, Term t2)
Create an Abstract Syntax Node for the given arguments.protected Term
OPToken. newAST(String sAstName, String sFunctor, Term t1, Term t2, Term t3)
Create an Abstract Syntax Node for the given arguments. -
Uses of Term in com.tangosol.coherence.dsltools.termlanguage
Methods in com.tangosol.coherence.dsltools.termlanguage that return Term Modifier and Type Method Description Term
ColonToken. led(OPParser p, Term leftNode)
Process this token and possibly the given leftNodein the context of a parser with the left denotation.Term
CurlyToken. led(OPParser p, Term leftNode)
Process this token and possibly the given leftNodein the context of a parser with the left denotation.Term
CurlyToken. nud(OPParser p)
Process this token in the context of parser p with the null denotation.Methods in com.tangosol.coherence.dsltools.termlanguage with parameters of type Term Modifier and Type Method Description Term
ColonToken. led(OPParser p, Term leftNode)
Process this token and possibly the given leftNodein the context of a parser with the left denotation.Term
CurlyToken. led(OPParser p, Term leftNode)
Process this token and possibly the given leftNodein the context of a parser with the left denotation. -
Uses of Term in com.tangosol.coherence.dsltools.termtrees
Subclasses of Term in com.tangosol.coherence.dsltools.termtrees Modifier and Type Class Description class
AtomicTerm
AtomicTerms is the class used to represent literal Terms such as String and Numbers.class
NodeTerm
NodeTerm is the class used to represent trees of Terms that can have children.Methods in com.tangosol.coherence.dsltools.termtrees that return Term Modifier and Type Method Description Term[]
AtomicTerm. children()
Obtain the childern TermsTerm[]
NodeTerm. children()
Obtain the childern Termsabstract Term[]
Term. children()
Obtain the childern Termsstatic Term
Terms. create(String s)
Create a Tree of Terms using the Term Language in the given Stringstatic Term
Terms. create(String s, CoherenceQueryLanguage language)
Create a Tree of Terms using the Term Language in the given StringTerm
Term. findAttribute(String sFunctor)
Find the Term amoungst the children whose functor equals the given functor that has a singleton child.Term
AtomicTerm. findChild(String fn)
Find the Term amoungst the children whose functor equals the given functor.Term
Term. findChild(String sFunctor)
Find the Term amoungst the children whose functor equals the given functor.static Term
Terms. newTerm(String sFunctor)
Construct a new TermNode with the given functor.static Term
Terms. newTerm(String sFunctor, Term t1)
Construct a new TermNode with the given functor and given Terms.static Term
Terms. newTerm(String sFunctor, Term[] aTerms)
Construct a new TermNode with the given functor and given Terms.static Term
Terms. newTerm(String sFunctor, Term t1, Term t2)
Construct a new TermNode with the given functor and given Terms.static Term
Terms. newTerm(String sFunctor, Term t1, Term t2, Term t3)
Construct a new TermNode with the given functor and given Terms.static Term
Terms. newTerm(String sFunctor, Term t1, Term t2, Term t3, Term t4)
Construct a new TermNode with the given functor and given Terms.static Term
Terms. newTerm(String sFunctor, Term t1, Term t2, Term t3, Term t4, Term t5)
Construct a new TermNode with the given functor and given Terms.Term
Term.TermIterator. next()
Term
AtomicTerm. termAt(int index)
Obtain the child term at the given index.Term
NodeTerm. termAt(int index)
Obtain the child term at the given index.abstract Term
Term. termAt(int index)
Obtain the child term at the given index.Term
AtomicTerm. withChild(Term t)
Join the receiver with the given child Term.Term
NodeTerm. withChild(Term t)
Join the receiver with the given child Term.abstract Term
Term. withChild(Term t)
Join the receiver with the given child Term.Methods in com.tangosol.coherence.dsltools.termtrees that return types with arguments of type Term Modifier and Type Method Description Iterator<Term>
Term. iterator()
Methods in com.tangosol.coherence.dsltools.termtrees with parameters of type Term Modifier and Type Method Description void
TermWalker. acceptTerm(String sFunctor, Term term)
The receiver has been dispatched to from the given atom.boolean
Term. childrenTermEqual(Term t)
Answer whether the receiver's children is equal to the given Terms children.boolean
Term. headChildrenTermEqual(Term t)
Find the Term amongst the children whose functor equals the given functor.static Term
Terms. newTerm(String sFunctor, Term t1)
Construct a new TermNode with the given functor and given Terms.static Term
Terms. newTerm(String sFunctor, Term[] aTerms)
Construct a new TermNode with the given functor and given Terms.static Term
Terms. newTerm(String sFunctor, Term t1, Term t2)
Construct a new TermNode with the given functor and given Terms.static Term
Terms. newTerm(String sFunctor, Term t1, Term t2, Term t3)
Construct a new TermNode with the given functor and given Terms.static Term
Terms. newTerm(String sFunctor, Term t1, Term t2, Term t3, Term t4)
Construct a new TermNode with the given functor and given Terms.static Term
Terms. newTerm(String sFunctor, Term t1, Term t2, Term t3, Term t4, Term t5)
Construct a new TermNode with the given functor and given Terms.boolean
AtomicTerm. termEqual(Term t)
Answer whether the receiver is equal to the given Term.boolean
NodeTerm. termEqual(Term t)
Answer whether the receiver is equal to the given Term.abstract boolean
Term. termEqual(Term t)
Answer whether the receiver is equal to the given Term.Object
TermWalker. walk(Term term)
Return the result of the walking the specified TermTree.Term
AtomicTerm. withChild(Term t)
Join the receiver with the given child Term.Term
NodeTerm. withChild(Term t)
Join the receiver with the given child Term.abstract Term
Term. withChild(Term t)
Join the receiver with the given child Term.Constructors in com.tangosol.coherence.dsltools.termtrees with parameters of type Term Constructor Description NodeTerm(String sFunctor, Term t1)
Construct a new TermNode with the given functor and given Terms.NodeTerm(String sFunctor, Term[] aTerms)
Construct a new TermNode with the given functor and given Terms.NodeTerm(String sFunctor, Term[] aTerms, Term term)
Construct a new TermNode with the given functor and given Terms.NodeTerm(String sFunctor, Term t1, Term t2)
Construct a new TermNode with the given functor and given Terms.NodeTerm(String sFunctor, Term term, Term[] aTerms)
Construct a new TermNode with the given functor and given Terms.NodeTerm(String sFunctor, Term t1, Term t2, Term t3)
Construct a new TermNode with the given functor and given Terms.NodeTerm(String sFunctor, Term t1, Term t2, Term t3, Term t4)
Construct a new TermNode with the given functor and given Terms.NodeTerm(String sFunctor, Term t1, Term t2, Term t3, Term t4, Term t5)
Construct a new TermNode with the given functor and given Terms.TermIterator(Term termParent)
-
Uses of Term in com.tangosol.util
Methods in com.tangosol.util that return Term Modifier and Type Method Description protected static Term
QueryHelper. parse(String sQuery)
Return theTerm
representing the AST produced by parsing the specified CohQL query String.protected static Term
QueryHelper. parse(String sQuery, CoherenceQueryLanguage language)
Return theTerm
representing the AST produced by parsing the specified CohQL query String.
-