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: FieldQueryNode [javadoc | source]
java.lang.Object
   org.apache.lucene.queryParser.core.nodes.QueryNodeImpl
      org.apache.lucene.queryParser.core.nodes.FieldQueryNode

All Implemented Interfaces:
    FieldableNode, TextableQueryNode, Cloneable, QueryNode

Direct Known Subclasses:
    FuzzyQueryNode, QuotedFieldQueryNode, ParametricQueryNode, PrefixWildcardQueryNode, WildcardQueryNode

A FieldQueryNode represents a element that contains field/text tuple
Field Summary
protected  CharSequence field    The term's field 
protected  CharSequence text    The term's text. 
protected  int begin    The term's begin position. 
protected  int end    The term's end position. 
protected  int positionIncrement    The term's position increment. 
Fields inherited from org.apache.lucene.queryParser.core.nodes.QueryNodeImpl:
PLAINTEXT_FIELD_NAME,  toQueryStringIgnoreFields
Constructor:
 public FieldQueryNode(CharSequence field,
    CharSequence text,
    int begin,
    int end) 
    Parameters:
    field - - field name
    text - - value
    begin - - position in the query string
    end - - position in the query string
Method from org.apache.lucene.queryParser.core.nodes.FieldQueryNode Summary:
cloneTree,   getBegin,   getEnd,   getField,   getFieldAsString,   getPositionIncrement,   getTermEscapeQuoted,   getTermEscaped,   getText,   getTextAsString,   setBegin,   setEnd,   setField,   setPositionIncrement,   setText,   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.FieldQueryNode Detail:
 public FieldQueryNode cloneTree() throws CloneNotSupportedException 
 public int getBegin() 
 public int getEnd() 
 public CharSequence getField() 
 public String getFieldAsString() 
    returns null if the field was not specified in the query string
 public int getPositionIncrement() 
 protected CharSequence getTermEscapeQuoted(EscapeQuerySyntax escaper) 
 protected CharSequence getTermEscaped(EscapeQuerySyntax escaper) 
 public CharSequence getText() 
    Returns the term.
 public String getTextAsString() 
 public  void setBegin(int begin) 
 public  void setEnd(int end) 
 public  void setField(CharSequence field) 
 public  void setPositionIncrement(int pi) 
 public  void setText(CharSequence text) 
 public CharSequence toQueryString(EscapeQuerySyntax escaper) 
 public String toString()