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 theBaseOperatorinterface.com.tangosol.coherence.dslquery.queryplus This package contains commands that are specific to theQueryPlustool rather than general CohQL commands.com.tangosol.coherence.dslquery.statement This package containsStatementBuilderimplementations.com.tangosol.coherence.dslquery.token This package contains implementations ofOPTokenspecifically for parsing CohQL statements.com.tangosol.coherence.dslquery.token.persistence This package contains implementations ofOPTokenspecifically for parsing persistence related CohQL statements.com.tangosol.coherence.dsltools.precedence This package contains implementations ofOPTokens.com.tangosol.coherence.dsltools.termlanguage This package contains implementations ofTermLanguage.com.tangosol.coherence.dsltools.termtrees This package contains implementations of dsltools buildingTerms.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 TermFilterBuilder. m_termThe 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 voidFilterBuilder. acceptBinaryOperator(String sOperator, Term termLeft, Term termRight)This method will take a Binary Operator and the left and rightTerms for the operator and result in the creation of aFilteror aValueExtractor.protected voidFilterBuilder. acceptUnaryOperator(String sOperator, Term t)FilterFilterBuilder. makeFilter(Term term)Make a new Filter from the given AST.FilterFilterBuilder. makeFilter(Term term, Object[] aoIndexedBindVars)Make a new Filter from the given AST using given array for Bind vars.FilterFilterBuilder. makeFilter(Term term, Object[] aoIndexedBindVars, Map mapNamedBindVars)Make a new Filter from the given AST using the given bind variables.FilterFilterBuilder. makeFilter(Term term, List listBindVars, ParameterResolver namedBindVars)Make a new Filter from the given AST using the given bind variables.FilterFilterBuilder. 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 ValueExtractorBaseOperator. makeExtractor(Term termLeft, Term termRight, TermWalker walker)FBaseOperator. makeFilter(Term termLeft, Term termRight, TermWalker walker)ComparisonFilterComparisonOperator. makeFilter(Term termLeft, Term termRight, TermWalker walker)ComparisonFilterEqualsOperator. 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 TermTraceStatementBuilder.TraceCommandOPToken. led(OPParser parser, Term termLeft)TermCommandsStatementBuilder.CommandsOPToken. nud(OPParser parser)TermExtendedLanguageStatementBuilder.ExtendedLanguageCommandOPToken. nud(OPParser parser)TermHelpStatementBuilder.HelpCommandOPToken. nud(OPParser parser)TermSanityCheckStatementBuilder.SanityCheckCommandOPToken. nud(OPParser parser)TermServicesStatementBuilder.ServicesCommandOPToken. nud(OPParser parser)TermSetTenantStatementBuilder.SetTenantOPToken. nud(OPParser parser)TermSetTimeoutStatementBuilder.SetTimeoutOPToken. nud(OPParser parser)TermTraceStatementBuilder.TraceCommandOPToken. nud(OPParser parser)TermWheneverStatementBuilder.WheneverCommandOPToken. nud(OPParser parser)Methods in com.tangosol.coherence.dslquery.queryplus with parameters of type Term Modifier and Type Method Description TermTraceStatementBuilder.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 TermAbstractStatementBuilder. getExtractor(NodeTerm sn)Return the AST node that represents the extractor for an index from the given AST node.protected static TermAbstractStatementBuilder. getInsertKey(NodeTerm sn)Return the AST node that represents the key to insert from the given AST node.protected static TermAbstractStatementBuilder. getInsertValue(NodeTerm sn)Return the AST node that represents the value to insert from the given AST node.protected static TermAbstractStatementBuilder. 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 StringAbstractStatementBuilder. atomicStringValueOf(Term t)Return a String that is the value of the given Term.protected ObjectInsertStatementBuilder. createInsertKey(Term termKey, com.tangosol.coherence.dslquery.internal.UpdateSetListMaker transformer, Object oValue)Create the key to use in the insert statement.protected ObjectInsertStatementBuilder. 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 TermSQLOPToken. checkAlias(OPParser p, String... expectedNextKeywords)Check to see if there is an alias and create a Term to hold the alias identifier if one existsTermSQLBackupOPToken. nud(OPParser parser)TermSQLCreateCacheOPToken. nud(OPParser parser)TermSQLCreateIndexOPToken. nud(OPParser parser)TermSQLDeleteOPToken. nud(OPParser parser)TermSQLDropCacheOPToken. nud(OPParser parser)TermSQLDropIndexOPToken. nud(OPParser parser)TermSQLExplainOPToken. nud(OPParser parser)TermSQLInsertOPToken. nud(OPParser parser)TermSQLRestoreOPToken. nud(OPParser parser)TermSQLSelectOPToken. nud(OPParser parser)TermSQLSourceOPToken. nud(OPParser parser)TermSQLTruncateCacheOPToken. nud(OPParser parser)TermSQLUpdateOPToken. 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 TermSQLArchiveSnapshotOPToken. nud(OPParser p)TermSQLCreateSnapshotOPToken. nud(OPParser p)TermSQLForceRecoveryOPToken. nud(OPParser p)TermSQLListArchivedSnapshotsOPToken. nud(OPParser p)TermSQLListArchiverOPToken. nud(OPParser p)TermSQLListServicesOPToken. nud(OPParser p)TermSQLListSnapshotsOPToken. nud(OPParser p)TermSQLRecoverSnapshotOPToken. nud(OPParser p)TermSQLRemoveSnapshotOPToken. nud(OPParser p)TermSQLResumeServiceOPToken. nud(OPParser p)TermSQLRetrieveSnapshotOPToken. nud(OPParser p)TermSQLSuspendServiceOPToken. nud(OPParser p)TermSQLValidateSnapshotOPToken. nud(OPParser p)protected TermAbstractSQLSnapshotOPToken. process(OPScanner s, String sOperation, String sFunctor)Process the commands for the given operation and return a validTermfor 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 TermPeekOPToken. defaultLed(OPParser parser, Term leftNode)The default led method that will be called if there is noOPTokenmapped for the token parsed from the token stream.protected TermPeekOPToken. defaultNud(OPParser parser)The default nud method that will be called if there is noOPTokenmapped for the token parsed from the token stream.TermOPParser. expression(int nRightBindingPower)Parse the next expression into an Abstract Syntax Tree using the given right binding power.TermBetweenOPToken. led(OPParser p, Term leftNode)Process this token and possibly the given leftNodein the context of a parser with the left denotation.TermContainsOPToken. led(OPParser p, Term leftNode)Process this token and possibly the given leftNodein the context of a parser with the left denotation.TermIdentifierOPToken. led(OPParser parser, Term leftNode)Process this token and possibly the given leftNodein the context of a parser with the left denotation.TermInfixOPToken. led(OPParser p, Term leftNode)Process this token and possibly the given leftNodein the context of a parser with the left denotation.TermInfixRightOPToken. led(OPParser p, Term leftNode)Process this token and possibly the given leftNodein the context of a parser with the left denotation.TermKeywordOPToken. led(OPParser parser, Term leftNode)Process this token and possibly the given leftNodein the context of a parser with the left denotation.TermLikeOPToken. led(OPParser p, Term leftNode)Process this token and possibly the given leftNodein the context of a parser with the left denotation.TermLiteralOPToken. led(OPParser parser, Term leftNode)Process this token and possibly the given leftNodein the context of a parser with the left denotation.TermNotOPToken. led(OPParser p, Term leftNode)Process this token and possibly the given leftNodein the context of a parser with the left denotation.TermOPToken. led(OPParser parser, Term leftNode)Process this token and possibly the given leftNodein the context of a parser with the left denotation.TermParenOPToken. led(OPParser p, Term leftNode)Process this token and possibly the given leftNodein the context of a parser with the left denotation.TermPathOPToken. led(OPParser p, Term leftNode)Process this token and possibly the given leftNodein the context of a parser with the left denotation.TermPeekOPToken. led(OPParser parser, Term leftNode)Process this token and possibly the given leftNodein the context of a parser with the left denotation.protected TermOPToken. newAST(String sAstName, Term term)Create an Abstract Syntax Node for the given arguments.protected TermOPToken. newAST(String sAstName, String sFunctor)Create an Abstract Syntax Node for the given arguments.protected TermOPToken. newAST(String sAstName, String sFunctor, Term term)Create an Abstract Syntax Node for the given arguments.protected TermOPToken. newAST(String sAstName, String sFunctor, Term t1, Term t2)Create an Abstract Syntax Node for the given arguments.protected TermOPToken. 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.TermIdentifierOPToken. nud(OPParser parser)Process this token in the context of parser p with the null denotation.TermInfixOPToken. nud(OPParser p)Process this token in the context of parser p with the null denotation.TermKeywordOPToken. nud(OPParser p)Process this token in the context of parser p with the null denotation.TermListOpToken. nud(OPParser p)Process this token in the context of parser p with the null denotation.TermLiteralOPToken. nud(OPParser p)Process this token in the context of parser p with the null denotation.TermNotOPToken. nud(OPParser p)Process this token in the context of parser p with the null denotation.TermOPToken. nud(OPParser parser)Process this token in the context of parser p with the null denotation.TermParenOPToken. nud(OPParser p)Process this token in the context of parser p with the null denotation.TermPeekOPToken. nud(OPParser parser)Process this token in the context of parser p with the null denotation.TermPrefixOPToken. 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 TermPeekOPToken. defaultLed(OPParser parser, Term leftNode)The default led method that will be called if there is noOPTokenmapped for the token parsed from the token stream.TermBetweenOPToken. led(OPParser p, Term leftNode)Process this token and possibly the given leftNodein the context of a parser with the left denotation.TermContainsOPToken. led(OPParser p, Term leftNode)Process this token and possibly the given leftNodein the context of a parser with the left denotation.TermIdentifierOPToken. led(OPParser parser, Term leftNode)Process this token and possibly the given leftNodein the context of a parser with the left denotation.TermInfixOPToken. led(OPParser p, Term leftNode)Process this token and possibly the given leftNodein the context of a parser with the left denotation.TermInfixRightOPToken. led(OPParser p, Term leftNode)Process this token and possibly the given leftNodein the context of a parser with the left denotation.TermKeywordOPToken. led(OPParser parser, Term leftNode)Process this token and possibly the given leftNodein the context of a parser with the left denotation.TermLikeOPToken. led(OPParser p, Term leftNode)Process this token and possibly the given leftNodein the context of a parser with the left denotation.TermLiteralOPToken. led(OPParser parser, Term leftNode)Process this token and possibly the given leftNodein the context of a parser with the left denotation.TermNotOPToken. led(OPParser p, Term leftNode)Process this token and possibly the given leftNodein the context of a parser with the left denotation.TermOPToken. led(OPParser parser, Term leftNode)Process this token and possibly the given leftNodein the context of a parser with the left denotation.TermParenOPToken. led(OPParser p, Term leftNode)Process this token and possibly the given leftNodein the context of a parser with the left denotation.TermPathOPToken. led(OPParser p, Term leftNode)Process this token and possibly the given leftNodein the context of a parser with the left denotation.TermPeekOPToken. led(OPParser parser, Term leftNode)Process this token and possibly the given leftNodein the context of a parser with the left denotation.protected TermOPToken. newAST(String sAstName, Term term)Create an Abstract Syntax Node for the given arguments.protected TermOPToken. newAST(String sAstName, String sFunctor, Term term)Create an Abstract Syntax Node for the given arguments.protected TermOPToken. newAST(String sAstName, String sFunctor, Term t1, Term t2)Create an Abstract Syntax Node for the given arguments.protected TermOPToken. 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 TermColonToken. led(OPParser p, Term leftNode)Process this token and possibly the given leftNodein the context of a parser with the left denotation.TermCurlyToken. led(OPParser p, Term leftNode)Process this token and possibly the given leftNodein the context of a parser with the left denotation.TermCurlyToken. 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 TermColonToken. led(OPParser p, Term leftNode)Process this token and possibly the given leftNodein the context of a parser with the left denotation.TermCurlyToken. 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 classAtomicTermAtomicTerms is the class used to represent literal Terms such as String and Numbers.classNodeTermNodeTerm 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 TermTerms. create(String s)Create a Tree of Terms using the Term Language in the given Stringstatic TermTerms. create(String s, CoherenceQueryLanguage language)Create a Tree of Terms using the Term Language in the given StringTermTerm. findAttribute(String sFunctor)Find the Term amoungst the children whose functor equals the given functor that has a singleton child.TermAtomicTerm. findChild(String fn)Find the Term amoungst the children whose functor equals the given functor.TermTerm. findChild(String sFunctor)Find the Term amoungst the children whose functor equals the given functor.static TermTerms. newTerm(String sFunctor)Construct a new TermNode with the given functor.static TermTerms. newTerm(String sFunctor, Term t1)Construct a new TermNode with the given functor and given Terms.static TermTerms. newTerm(String sFunctor, Term[] aTerms)Construct a new TermNode with the given functor and given Terms.static TermTerms. newTerm(String sFunctor, Term t1, Term t2)Construct a new TermNode with the given functor and given Terms.static TermTerms. newTerm(String sFunctor, Term t1, Term t2, Term t3)Construct a new TermNode with the given functor and given Terms.static TermTerms. newTerm(String sFunctor, Term t1, Term t2, Term t3, Term t4)Construct a new TermNode with the given functor and given Terms.static TermTerms. newTerm(String sFunctor, Term t1, Term t2, Term t3, Term t4, Term t5)Construct a new TermNode with the given functor and given Terms.TermTerm.TermIterator. next()TermAtomicTerm. termAt(int index)Obtain the child term at the given index.TermNodeTerm. termAt(int index)Obtain the child term at the given index.abstract TermTerm. termAt(int index)Obtain the child term at the given index.TermAtomicTerm. withChild(Term t)Join the receiver with the given child Term.TermNodeTerm. withChild(Term t)Join the receiver with the given child Term.abstract TermTerm. 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 voidTermWalker. acceptTerm(String sFunctor, Term term)The receiver has been dispatched to from the given atom.booleanTerm. childrenTermEqual(Term t)Answer whether the receiver's children is equal to the given Terms children.booleanTerm. headChildrenTermEqual(Term t)Find the Term amongst the children whose functor equals the given functor.static TermTerms. newTerm(String sFunctor, Term t1)Construct a new TermNode with the given functor and given Terms.static TermTerms. newTerm(String sFunctor, Term[] aTerms)Construct a new TermNode with the given functor and given Terms.static TermTerms. newTerm(String sFunctor, Term t1, Term t2)Construct a new TermNode with the given functor and given Terms.static TermTerms. newTerm(String sFunctor, Term t1, Term t2, Term t3)Construct a new TermNode with the given functor and given Terms.static TermTerms. newTerm(String sFunctor, Term t1, Term t2, Term t3, Term t4)Construct a new TermNode with the given functor and given Terms.static TermTerms. newTerm(String sFunctor, Term t1, Term t2, Term t3, Term t4, Term t5)Construct a new TermNode with the given functor and given Terms.booleanAtomicTerm. termEqual(Term t)Answer whether the receiver is equal to the given Term.booleanNodeTerm. termEqual(Term t)Answer whether the receiver is equal to the given Term.abstract booleanTerm. termEqual(Term t)Answer whether the receiver is equal to the given Term.ObjectTermWalker. walk(Term term)Return the result of the walking the specified TermTree.TermAtomicTerm. withChild(Term t)Join the receiver with the given child Term.TermNodeTerm. withChild(Term t)Join the receiver with the given child Term.abstract TermTerm. 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 TermQueryHelper. parse(String sQuery)Return theTermrepresenting the AST produced by parsing the specified CohQL query String.protected static TermQueryHelper. parse(String sQuery, CoherenceQueryLanguage language)Return theTermrepresenting the AST produced by parsing the specified CohQL query String.
-