|
|||||||||
| 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(
Visits a node that represents a conjunction (logical and) of conditions. |
void |
visitContains(
Visits a node that represents that a field must contain a value. |
void |
visitDisjunction(
Visits a node that represents a disjunction (logical or) of conditions. |
void |
visitEqual(
Visits a node that represents that a field value must be greater than or equal to some specified value. |
void |
visitFuzzy(
Visits a node that represents a text field that is subject to query rewrite. |
void |
visitGreaterOrEqual(
Visits a node that represents an inequality between a field and value. |
void |
visitGreaterThan(
Visits a node that represents that a field value must be greater than some specified value. |
void |
visitLessOrEqual(
Visits a node that represents that a field value must be less than or equal to some specified value. |
void |
visitLessThan(
Visits a node that represents that a field value must be less than some specified value. |
void |
visitLiteral(
Visits a node that represents a text field that must not be altered. |
void |
visitNegation(
Visits a node that represents a negation of conditions. |
void |
visitOther(
Catch-all method for future type of query nodes. |
void |
visitRestriction(
Visits a node that represents a condition restricted to a named field. |
void |
visitSequence(
|
void |
visitValue(
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(walker, Tree node, java.util.concurrent.atomic.AtomicBoolean matches)
public void visitConjunction(walker, Tree node, java.util.concurrent.atomic.AtomicBoolean matches)
matches - Is set to the conjunction of node's
sub-expressions.public void visitDisjunction(walker, Tree node, java.util.concurrent.atomic.AtomicBoolean matches)
matches - Is set to the disjunction of node's
sub-expressions.public void visitNegation(walker, Tree node, java.util.concurrent.atomic.AtomicBoolean matches)
matches - Is set to the negation of node's sub-expression.public void visitRestriction(walker, Tree node, java.util.concurrent.atomic.AtomicBoolean matches)
matches - Is set to the value of node's sub-expression.public void visitFuzzy(walker, Tree node, java.util.concurrent.atomic.AtomicBoolean matches)
public void visitLiteral(walker, Tree node, java.util.concurrent.atomic.AtomicBoolean matches)
public void visitLessThan(walker, Tree node, java.util.concurrent.atomic.AtomicBoolean matches)
public void visitLessOrEqual(walker, Tree node, java.util.concurrent.atomic.AtomicBoolean matches)
public void visitGreaterThan(walker, Tree node, java.util.concurrent.atomic.AtomicBoolean matches)
public void visitGreaterOrEqual(walker, Tree node, java.util.concurrent.atomic.AtomicBoolean matches)
public void visitEqual(walker, Tree node, java.util.concurrent.atomic.AtomicBoolean matches)
public void visitContains(walker, Tree node, java.util.concurrent.atomic.AtomicBoolean matches)
public void visitValue(walker, Tree node, java.util.concurrent.atomic.AtomicBoolean matches)
public void visitOther(walker, Tree node, java.util.concurrent.atomic.AtomicBoolean matches)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||