Save This Page
Home » lucene-3.0.1-src » org.apache.lucene.queryParser.core.nodes » [javadoc | source]
org.apache.lucene.queryParser.core.nodes
public class: BooleanQueryNode [javadoc | source]
java.lang.Object
   org.apache.lucene.queryParser.core.nodes.QueryNodeImpl
      org.apache.lucene.queryParser.core.nodes.BooleanQueryNode

All Implemented Interfaces:
    Cloneable, QueryNode

Direct Known Subclasses:
    OrQueryNode, AnyQueryNode, AndQueryNode, ProximityQueryNode, StandardBooleanQueryNode

A BooleanQueryNode represents a list of elements which do not have an explicit boolean operator defined between them. It can be used to express a boolean query that intends to use the default boolean operator.
Fields inherited from org.apache.lucene.queryParser.core.nodes.QueryNodeImpl:
PLAINTEXT_FIELD_NAME,  toQueryStringIgnoreFields
Constructor:
 public BooleanQueryNode(List<QueryNode> clauses) 
    Parameters:
    clauses - - the query nodes to be and'ed
Method from org.apache.lucene.queryParser.core.nodes.BooleanQueryNode Summary:
cloneTree,   toQueryString,   toString
Methods from org.apache.lucene.queryParser.core.nodes.QueryNodeImpl:
add,   add,   allocate,   clone,   cloneTree,   containsTag,   getChildren,   getParent,   getTag,   getTags,   isDefaultField,   isLeaf,   isRoot,   set,   setLeaf,   setTag,   toString,   unsetTag
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.lucene.queryParser.core.nodes.BooleanQueryNode Detail:
 public QueryNode cloneTree() throws CloneNotSupportedException 
 public CharSequence toQueryString(EscapeQuerySyntax escapeSyntaxParser) 
 public String toString()