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

All Implemented Interfaces:
    Cloneable, QueryNode

A QueryNodeImpl is the default implementation of the interface QueryNode
Field Summary
public static final  String PLAINTEXT_FIELD_NAME     
protected  boolean toQueryStringIgnoreFields    If set to true the the method toQueryString will not write field names 
Method from org.apache.lucene.queryParser.core.nodes.QueryNodeImpl Summary:
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.QueryNodeImpl Detail:
 public final  void add(QueryNode child) 
 public final  void add(List<QueryNode> children) 
 protected  void allocate() 
 public Object clone() throws CloneNotSupportedException 
 public QueryNode cloneTree() throws CloneNotSupportedException 
 public boolean containsTag(CharSequence tagName) 
 public final List<QueryNode> getChildren() 
 public QueryNode getParent() 
 public Object getTag(CharSequence tagName) 
 public Map<CharSequence, Object> getTags() 
 protected boolean isDefaultField(CharSequence fld) 
    This method is use toQueryString to detect if fld is the default field
 public boolean isLeaf() 
 protected boolean isRoot() 
 public final  void set(List<QueryNode> children) 
 protected  void setLeaf(boolean isLeaf) 
 public  void setTag(CharSequence tagName,
    Object value) 
 public String toString() 
    Every implementation of this class should return pseudo xml like this: For FieldQueryNode:
 public  void unsetTag(CharSequence tagName)