|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@PublicApi public interface Clause
Represents a node in the tree that gets generated for a Query
.
The tree of these will be used to generate an overall search.
Method Summary | ||
---|---|---|
|
accept(ClauseVisitor<R> visitor)
Allows us to perform operations over the clauses based on the passed in visitor. |
|
List<Clause> |
getClauses()
|
|
String |
getName()
The name of the individual clause, this should be unique amongst the implementations otherwise the clauses will be treated as the "same" type of clause. |
|
String |
toString()
Return a string representation of the clause. |
Method Detail |
---|
String getName()
List<Clause> getClauses()
<R> R accept(ClauseVisitor<R> visitor)
visitor
- the visitor to accept.
String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |