public class AndQueryNode extends BooleanQueryNode
AndQueryNode
represents an AND boolean operation performed on a
list of nodes.PLAINTEXT_FIELD_NAME
Constructor and Description |
---|
AndQueryNode(java.util.List<QueryNode> clauses) |
Modifier and Type | Method and Description |
---|---|
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: <field start='1' end='2' field='subject' text='foo'/>
|
cloneTree
add, add, clone, containsTag, getChildren, getParent, getTag, getTagMap, isLeaf, removeFromParent, set, setTag, unsetTag
public AndQueryNode(java.util.List<QueryNode> clauses)
clauses
- - the query nodes to be and'edpublic 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
Copyright © 2010 - 2019 Adobe. All Rights Reserved