public class AndQueryNode extends BooleanQueryNode
AndQueryNode
represents an AND boolean operation performed on a
list of nodes.PLAINTEXT_FIELD_NAME, toQueryStringIgnoreFields
Constructor and Description |
---|
AndQueryNode(List<QueryNode> clauses) |
Modifier and Type | Method and Description |
---|---|
CharSequence |
toQueryString(EscapeQuerySyntax escapeSyntaxParser)
convert to a query string understood by the query parser
|
String |
toString()
Every implementation of this class should return pseudo xml like this:
For FieldQueryNode: <field start='1' end='2' field='subject' text='foo'/>
|
cloneTree
add, add, allocate, clone, containsTag, getChildren, getParent, getTag, getTagMap, isDefaultField, isLeaf, isRoot, removeChildren, removeFromParent, set, setLeaf, setTag, unsetTag
public String toString()
QueryNodeImpl
toString
in interface QueryNode
toString
in class BooleanQueryNode
QueryNode.toString()
public CharSequence toQueryString(EscapeQuerySyntax escapeSyntaxParser)
QueryNode
toQueryString
in interface QueryNode
toQueryString
in class BooleanQueryNode
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.