|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.appengine.api.prospectivesearch.dev.QueryEvaluator
public class QueryEvaluator
The QueryEvaluator class performs a full visit of the query tree, dispatching leaf evaluations to the QueryEngine. Fine-grained debugging of query parsing is available at the logging level java.util.logging.Level.FINEST. Not multi-thread safe.
| Method Summary | |
|---|---|
void |
visitConjunction(Tree node,
com.google.appengine.api.prospectivesearch.dev.BooleanQueryContext matches)
Visits a node that represents a conjunction (logical and) of conditions. |
void |
visitContains(Tree node,
com.google.appengine.api.prospectivesearch.dev.BooleanQueryContext matches)
Visits a node that represents that a field must contain a value. |
void |
visitDisjunction(Tree node,
com.google.appengine.api.prospectivesearch.dev.BooleanQueryContext matches)
Visits a node that represents a disjunction (logical or) of conditions. |
void |
visitEqual(Tree node,
com.google.appengine.api.prospectivesearch.dev.BooleanQueryContext matches)
Visits a node that represents that a field value must be greater than or equal to some specified value. |
void |
visitFunction(Tree node,
com.google.appengine.api.prospectivesearch.dev.BooleanQueryContext matches)
|
void |
visitFuzzy(Tree node,
com.google.appengine.api.prospectivesearch.dev.BooleanQueryContext matches)
Visits a node that represents a text field that is subject to query rewrite. |
void |
visitGlobal(Tree node,
com.google.appengine.api.prospectivesearch.dev.BooleanQueryContext matches)
|
void |
visitGreaterOrEqual(Tree node,
com.google.appengine.api.prospectivesearch.dev.BooleanQueryContext matches)
Visits a node that represents an inequality between a field and value. |
void |
visitGreaterThan(Tree node,
com.google.appengine.api.prospectivesearch.dev.BooleanQueryContext matches)
Visits a node that represents that a field value must be greater than some specified value. |
void |
visitLessOrEqual(Tree node,
com.google.appengine.api.prospectivesearch.dev.BooleanQueryContext matches)
Visits a node that represents that a field value must be less than or equal to some specified value. |
void |
visitLessThan(Tree node,
com.google.appengine.api.prospectivesearch.dev.BooleanQueryContext matches)
Visits a node that represents that a field value must be less than some specified value. |
void |
visitLiteral(Tree node,
com.google.appengine.api.prospectivesearch.dev.BooleanQueryContext matches)
Visits a node that represents a text field that must not be altered. |
void |
visitNegation(Tree node,
com.google.appengine.api.prospectivesearch.dev.BooleanQueryContext matches)
Visits a node that represents a negation of conditions. |
void |
visitOther(Tree node,
com.google.appengine.api.prospectivesearch.dev.BooleanQueryContext matches)
Catch-all method for future type of query nodes. |
void |
visitSequence(Tree node,
com.google.appengine.api.prospectivesearch.dev.BooleanQueryContext matches)
|
void |
visitValue(Tree node,
com.google.appengine.api.prospectivesearch.dev.BooleanQueryContext matches)
Visits a node that represents a constant value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void visitSequence(Tree node,
com.google.appengine.api.prospectivesearch.dev.BooleanQueryContext matches)
public void visitConjunction(Tree node,
com.google.appengine.api.prospectivesearch.dev.BooleanQueryContext matches)
matches - Is set to the conjunction of node's
sub-expressions.
public void visitDisjunction(Tree node,
com.google.appengine.api.prospectivesearch.dev.BooleanQueryContext matches)
matches - Is set to the disjunction of node's
sub-expressions.
public void visitNegation(Tree node,
com.google.appengine.api.prospectivesearch.dev.BooleanQueryContext matches)
matches - Is set to the negation of node's sub-expression.
public void visitFuzzy(Tree node,
com.google.appengine.api.prospectivesearch.dev.BooleanQueryContext matches)
public void visitLiteral(Tree node,
com.google.appengine.api.prospectivesearch.dev.BooleanQueryContext matches)
public void visitLessThan(Tree node,
com.google.appengine.api.prospectivesearch.dev.BooleanQueryContext matches)
public void visitLessOrEqual(Tree node,
com.google.appengine.api.prospectivesearch.dev.BooleanQueryContext matches)
public void visitGreaterThan(Tree node,
com.google.appengine.api.prospectivesearch.dev.BooleanQueryContext matches)
public void visitGreaterOrEqual(Tree node,
com.google.appengine.api.prospectivesearch.dev.BooleanQueryContext matches)
public void visitEqual(Tree node,
com.google.appengine.api.prospectivesearch.dev.BooleanQueryContext matches)
public void visitContains(Tree node,
com.google.appengine.api.prospectivesearch.dev.BooleanQueryContext matches)
public void visitValue(Tree node,
com.google.appengine.api.prospectivesearch.dev.BooleanQueryContext matches)
public void visitGlobal(Tree node,
com.google.appengine.api.prospectivesearch.dev.BooleanQueryContext matches)
public void visitFunction(Tree node,
com.google.appengine.api.prospectivesearch.dev.BooleanQueryContext matches)
public void visitOther(Tree node,
com.google.appengine.api.prospectivesearch.dev.BooleanQueryContext matches)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||