|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Query
A Query represents a users inputted query string. The query contains an heirarchy of Clause objects implemented against a visitor pattern that visitors are free to use.
| Method Summary | |
|---|---|
TokenEvaluationEngine.State |
getEvaluationState()
Returns the object that holds State for any TokenEvaluationEngine actions. |
LeafClause |
getFirstLeafClause()
The first term (leaf clause) in the query. |
ParentFinder |
getParentFinder()
Returns the ParentFinder instance applicable for this query. |
String |
getQueryString()
The original string the user entered for the search. |
Clause |
getRootClause()
The root clause to the clause heirarchy. |
int |
getTermCount()
Return the number of terms in this query. |
boolean |
isBlank()
Is the query blank (or just full of useless symbols). |
| Method Detail |
|---|
Clause getRootClause()
String getQueryString()
LeafClause getFirstLeafClause()
int getTermCount()
boolean isBlank()
ParentFinder getParentFinder()
TokenEvaluationEngine.State getEvaluationState()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||