Uses of Class
com.tangosol.coherence.dsltools.termtrees.Term
Package
Description
Contains packages and classes supporting the Coherence CohQL command line tool.
This package contains implementations of the
BaseOperator
interface.This package contains commands that are specific to the
QueryPlus
tool rather than general CohQL commands.This package contains
StatementBuilder
implementations.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
.This package contains implementations of dsltools building
Term
s.Contains various generic utilities.
-
Uses of Term in com.tangosol.coherence.dslquery
Modifier and TypeFieldDescriptionprotected Term
FilterBuilder.m_term
The Term that is the AST that encodes the Filter to be made.Modifier and TypeMethodDescriptionprotected 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) FilterBuilder.makeFilter
(Term term) Make a new Filter from the given AST.FilterBuilder.makeFilter
(Term term, Object[] aoIndexedBindVars) Make a new Filter from the given AST using given array for Bind vars.FilterBuilder.makeFilter
(Term term, Object[] aoIndexedBindVars, Map mapNamedBindVars) Make a new Filter from the given AST using the given bind variables.FilterBuilder.makeFilter
(Term term, List listBindVars, ParameterResolver namedBindVars) Make a new Filter from the given AST using the given bind variables.FilterBuilder.makeFilterForCache
(String sCacheName, Term term, List indexedBindVars, ParameterResolver namedBindVars) Make a new Filter from the given AST using given array for Bind vars.ModifierConstructorDescriptionFilterBuilder
(Term term) Construct a new FilterBuilder that can construct a Filter from the given Term. -
Uses of Term in com.tangosol.coherence.dslquery.operator
Modifier and TypeMethodDescriptionBaseOperator.makeExtractor
(Term termLeft, Term termRight, TermWalker walker) BaseOperator.makeFilter
(Term termLeft, Term termRight, TermWalker walker) ComparisonOperator.makeFilter
(Term termLeft, Term termRight, TermWalker walker) EqualsOperator.makeFilter
(Term termLeft, Term termRight, TermWalker walker) -
Uses of Term in com.tangosol.coherence.dslquery.queryplus
Modifier and TypeMethodDescription -
Uses of Term in com.tangosol.coherence.dslquery.statement
Modifier and TypeMethodDescriptionprotected 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.Modifier and TypeMethodDescriptionprotected 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
Modifier and TypeMethodDescriptionprotected 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 exists -
Uses of Term in com.tangosol.coherence.dslquery.token.persistence
-
Uses of Term in com.tangosol.coherence.dsltools.precedence
Modifier and TypeMethodDescription<T extends Term>
TOPParser.parse()
Parse the next expression into an Abstract Syntax Tree.Modifier and TypeMethodDescriptionprotected 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.OPParser.expression
(int nRightBindingPower) Parse the next expression into an Abstract Syntax Tree using the given right binding power.Process this token and possibly the given leftNodein the context of a parser with the left denotation.Process this token and possibly the given leftNodein the context of a parser with the left denotation.Process this token and possibly the given leftNodein the context of a parser with the left denotation.Process this token and possibly the given leftNodein the context of a parser with the left denotation.Process this token and possibly the given leftNodein the context of a parser with the left denotation.Process this token and possibly the given leftNodein the context of a parser with the left denotation.Process this token and possibly the given leftNodein the context of a parser with the left denotation.Process this token and possibly the given leftNodein the context of a parser with the left denotation.Process this token and possibly the given leftNodein the context of a parser with the left denotation.Process this token and possibly the given leftNodein the context of a parser with the left denotation.Process this token and possibly the given leftNodein the context of a parser with the left denotation.Process this token and possibly the given leftNodein the context of a parser with the left denotation.Process this token and possibly the given leftNodein the context of a parser with the left denotation.protected Term
Create an Abstract Syntax Node for the given arguments.protected Term
Create an Abstract Syntax Node for the given arguments.protected Term
Create an Abstract Syntax Node for the given arguments.protected Term
Create an Abstract Syntax Node for the given arguments.protected Term
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[]
Parse a comma separated sequence of expressions upto the given end marker.Term[]
Parse a comma separated sequence of expressions upto the given end marker.Process this token in the context of parser p with the null denotation.Process this token in the context of parser p with the null denotation.Process this token in the context of parser p with the null denotation.Process this token in the context of parser p with the null denotation.Process this token in the context of parser p with the null denotation.Process this token in the context of parser p with the null denotation.Process this token in the context of parser p with the null denotation.Process this token in the context of parser p with the null denotation.Process this token in the context of parser p with the null denotation.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.Modifier and TypeMethodDescriptionprotected 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.Process this token and possibly the given leftNodein the context of a parser with the left denotation.Process this token and possibly the given leftNodein the context of a parser with the left denotation.Process this token and possibly the given leftNodein the context of a parser with the left denotation.Process this token and possibly the given leftNodein the context of a parser with the left denotation.Process this token and possibly the given leftNodein the context of a parser with the left denotation.Process this token and possibly the given leftNodein the context of a parser with the left denotation.Process this token and possibly the given leftNodein the context of a parser with the left denotation.Process this token and possibly the given leftNodein the context of a parser with the left denotation.Process this token and possibly the given leftNodein the context of a parser with the left denotation.Process this token and possibly the given leftNodein the context of a parser with the left denotation.Process this token and possibly the given leftNodein the context of a parser with the left denotation.Process this token and possibly the given leftNodein the context of a parser with the left denotation.Process this token and possibly the given leftNodein the context of a parser with the left denotation.protected Term
Create an Abstract Syntax Node for the given arguments.protected Term
Create an Abstract Syntax Node for the given arguments.protected Term
Create an Abstract Syntax Node for the given arguments.protected Term
Create an Abstract Syntax Node for the given arguments. -
Uses of Term in com.tangosol.coherence.dsltools.termlanguage
Modifier and TypeMethodDescriptionProcess this token and possibly the given leftNodein the context of a parser with the left denotation.Process this token and possibly the given leftNodein the context of a parser with the left denotation.Process this token in the context of parser p with the null denotation.Modifier and TypeMethodDescriptionProcess this token and possibly the given leftNodein the context of a parser with the left denotation.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
Modifier and TypeClassDescriptionclass
AtomicTerms is the class used to represent literal Terms such as String and Numbers.class
NodeTerm is the class used to represent trees of Terms that can have children.Modifier and TypeMethodDescriptionTerm[]
AtomicTerm.children()
Obtain the childern TermsTerm[]
NodeTerm.children()
Obtain the childern Termsabstract Term[]
Term.children()
Obtain the childern Termsstatic Term
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.findAttribute
(String sFunctor) Find the Term amoungst the children whose functor equals the given functor that has a singleton child.Find the Term amoungst the children whose functor equals the given functor.Find the Term amoungst the children whose functor equals the given functor.static Term
Construct a new TermNode with the given functor.static Term
Construct a new TermNode with the given functor and given Terms.static Term
Construct a new TermNode with the given functor and given Terms.static Term
Construct a new TermNode with the given functor and given Terms.static Term
Construct a new TermNode with the given functor and given Terms.static Term
Construct a new TermNode with the given functor and given Terms.static Term
Construct a new TermNode with the given functor and given Terms.Term.TermIterator.next()
AtomicTerm.termAt
(int index) Obtain the child term at the given index.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.Join the receiver with the given child Term.Join the receiver with the given child Term.abstract Term
Join the receiver with the given child Term.Modifier and TypeMethodDescriptionvoid
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
Construct a new TermNode with the given functor and given Terms.static Term
Construct a new TermNode with the given functor and given Terms.static Term
Construct a new TermNode with the given functor and given Terms.static Term
Construct a new TermNode with the given functor and given Terms.static Term
Construct a new TermNode with the given functor and given Terms.static Term
Construct a new TermNode with the given functor and given Terms.boolean
Answer whether the receiver is equal to the given Term.boolean
Answer whether the receiver is equal to the given Term.abstract boolean
Answer whether the receiver is equal to the given Term.Return the result of the walking the specified TermTree.Join the receiver with the given child Term.Join the receiver with the given child Term.abstract Term
Join the receiver with the given child Term.ModifierConstructorDescriptionConstruct a new TermNode with the given functor and given Terms.Construct a new TermNode with the given functor and given Terms.Construct a new TermNode with the given functor and given Terms.Construct a new TermNode with the given functor and given Terms.Construct a new TermNode with the given functor and given Terms.Construct a new TermNode with the given functor and given Terms.Construct a new TermNode with the given functor and given Terms.Construct a new TermNode with the given functor and given Terms.TermIterator
(Term termParent) -
Uses of Term in com.tangosol.util
Modifier and TypeMethodDescriptionprotected static Term
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.