|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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. |
|
java.util.List<Clause> |
getClauses()
|
|
java.lang.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. |
|
java.lang.String |
toString()
Return a string representation of the clause. |
Method Detail |
---|
java.lang.String getName()
java.util.List<Clause> getClauses()
<R> R accept(ClauseVisitor<R> visitor)
visitor
- the visitor to accept.
java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |