Class Terms
java.lang.Object
com.tangosol.coherence.dsltools.termtrees.Terms
Terms is a utility class that provides static convenience methods for
the construction of Terms. Terms also provides a convenience interface
for converting String in the TermLanguage to trees of Terms
- Author:
- djl 2009.08.31
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final CoherenceQueryLanguage
The defaultCoherenceQueryLanguage
used by this QueryHelper when no language is provided to methods. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Term
Create a Tree of Terms using the Term Language in the given Stringstatic Term
create
(String s, CoherenceQueryLanguage language) Create a Tree of Terms using the Term Language in the given Stringstatic 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.
-
Field Details
-
f_language
The defaultCoherenceQueryLanguage
used by this QueryHelper when no language is provided to methods.
-
-
Constructor Details
-
Terms
public Terms()
-
-
Method Details
-
newTerm
Construct a new TermNode with the given functor.- Parameters:
sFunctor
- the functor for the Term- Returns:
- a term tree
-
newTerm
Construct a new TermNode with the given functor and given Terms.- Parameters:
sFunctor
- the functor for the TermaTerms
- an children of the node- Returns:
- a term tree
-
newTerm
Construct a new TermNode with the given functor and given Terms.- Parameters:
sFunctor
- the functor for the Termt1
- a child term- Returns:
- a term tree
-
newTerm
Construct a new TermNode with the given functor and given Terms.- Parameters:
sFunctor
- the functor for the Termt1
- a child termt2
- a child term- Returns:
- a term tree
-
newTerm
Construct a new TermNode with the given functor and given Terms.- Parameters:
sFunctor
- the functor for the Termt1
- a child termt2
- a child termt3
- a child term- Returns:
- a term tree
-
newTerm
Construct a new TermNode with the given functor and given Terms.- Parameters:
sFunctor
- the functor for the Termt1
- a child termt2
- a child termt3
- a child termt4
- a child term- Returns:
- a term tree
-
newTerm
Construct a new TermNode with the given functor and given Terms.- Parameters:
sFunctor
- the functor for the Termt1
- a child termt2
- a child termt3
- a child termt4
- a child termt5
- a child term- Returns:
- a term tree
-
create
Create a Tree of Terms using the Term Language in the given String- Parameters:
s
- String representing a Term tree- Returns:
- a term tree
-
create
Create a Tree of Terms using the Term Language in the given String- Parameters:
s
- String representing a Term tree- Returns:
- a term tree
-