Uses of Class
com.tangosol.coherence.dsltools.termtrees.Term
Packages that use 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
Fields in com.tangosol.coherence.dslquery declared as TermModifier and TypeFieldDescriptionprotected 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 TermModifier 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.Constructors in com.tangosol.coherence.dslquery with parameters of type TermModifierConstructorDescriptionFilterBuilder
(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 TermModifier 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
Methods in com.tangosol.coherence.dslquery.queryplus that return TermModifier and TypeMethodDescriptionMethods in com.tangosol.coherence.dslquery.queryplus with parameters of type Term -
Uses of Term in com.tangosol.coherence.dslquery.statement
Methods in com.tangosol.coherence.dslquery.statement that return TermModifier 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.Methods in com.tangosol.coherence.dslquery.statement with parameters of type TermModifier 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
Methods in com.tangosol.coherence.dslquery.token that return TermModifier 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
Methods in com.tangosol.coherence.dslquery.token.persistence that return Term -
Uses of Term in com.tangosol.coherence.dsltools.precedence
Methods in com.tangosol.coherence.dsltools.precedence with type parameters of type TermModifier and TypeMethodDescription<T extends Term>
TOPParser.parse()
Parse the next expression into an Abstract Syntax Tree.Methods in com.tangosol.coherence.dsltools.precedence that return TermModifier 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.Methods in com.tangosol.coherence.dsltools.precedence with parameters of type TermModifier 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
Methods in com.tangosol.coherence.dsltools.termlanguage that return TermModifier 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.Methods in com.tangosol.coherence.dsltools.termlanguage with parameters of type TermModifier 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
Subclasses of Term in com.tangosol.coherence.dsltools.termtreesModifier 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.Methods in com.tangosol.coherence.dsltools.termtrees that return TermModifier 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.Methods in com.tangosol.coherence.dsltools.termtrees that return types with arguments of type TermMethods in com.tangosol.coherence.dsltools.termtrees with parameters of type TermModifier 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.Constructors in com.tangosol.coherence.dsltools.termtrees with parameters of type TermModifierConstructorDescriptionConstruct 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
Methods in com.tangosol.util that return TermModifier 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.