|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.queryParser.core.nodes.QueryNodeImpl
org.apache.lucene.queryParser.core.nodes.BooleanQueryNode
org.apache.lucene.queryParser.core.nodes.AndQueryNode
public class AndQueryNode
A AndQueryNode
represents an AND boolean operation performed on a
list of nodes.
Field Summary |
---|
Fields inherited from class org.apache.lucene.queryParser.core.nodes.QueryNodeImpl |
---|
PLAINTEXT_FIELD_NAME, toQueryStringIgnoreFields |
Constructor Summary | |
---|---|
AndQueryNode(java.util.List<QueryNode> clauses)
|
Method Summary | |
---|---|
java.lang.CharSequence |
toQueryString(EscapeQuerySyntax escapeSyntaxParser)
convert to a query string understood by the query parser |
java.lang.String |
toString()
Every implementation of this class should return pseudo xml like this: For FieldQueryNode: |
Methods inherited from class org.apache.lucene.queryParser.core.nodes.BooleanQueryNode |
---|
cloneTree |
Methods inherited from class org.apache.lucene.queryParser.core.nodes.QueryNodeImpl |
---|
add, add, allocate, clone, containsTag, getChildren, getParent, getTag, getTags, isDefaultField, isLeaf, isRoot, set, setLeaf, setTag, unsetTag |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AndQueryNode(java.util.List<QueryNode> clauses)
clauses
- - the query nodes to be and'edMethod Detail |
---|
public java.lang.String toString()
QueryNodeImpl
toString
in interface QueryNode
toString
in class BooleanQueryNode
QueryNode.toString()
public java.lang.CharSequence toQueryString(EscapeQuerySyntax escapeSyntaxParser)
QueryNode
toQueryString
in interface QueryNode
toQueryString
in class BooleanQueryNode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |