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

All Implemented Interfaces:
    FieldableNode, TextableQueryNode, Cloneable, QueryNode

A ParametricQueryNode represents LE, LT, GE, GT, EQ, NE query. Example: date >= "2009-10-10" OR price = 200
Nested Class Summary:
public enum class  ParametricQueryNode.CompareOperator   
Fields inherited from org.apache.lucene.queryParser.core.nodes.FieldQueryNode:
field,  text,  begin,  end,  positionIncrement
Fields inherited from org.apache.lucene.queryParser.core.nodes.QueryNodeImpl:
PLAINTEXT_FIELD_NAME,  toQueryStringIgnoreFields
Constructor:
 public ParametricQueryNode(CharSequence field,
    CompareOperator comp,
    CharSequence value,
    int begin,
    int end) 
    Parameters:
    field - - field name
    comp - - CompareOperator
    value - - text value
    begin - - position in the query string
    end - - position in the query string
Method from org.apache.lucene.queryParser.core.nodes.ParametricQueryNode Summary:
cloneTree,   getOperand,   getOperator,   toQueryString,   toString
Methods from org.apache.lucene.queryParser.core.nodes.FieldQueryNode:
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.ParametricQueryNode Detail:
 public ParametricQueryNode cloneTree() throws CloneNotSupportedException 
 public CharSequence getOperand() 
 public CompareOperator getOperator() 
 public CharSequence toQueryString(EscapeQuerySyntax escapeSyntaxParser) 
 public String toString()