Save This Page
Home » lucene-2.4.1-src » org.apache » lucene » index » [javadoc | source]
org.apache.lucene.index
public class: TermVectorOffsetInfo [javadoc | source]
java.lang.Object
   org.apache.lucene.index.TermVectorOffsetInfo
The TermVectorOffsetInfo class holds information pertaining to a Term in a org.apache.lucene.index.TermPositionVector 's offset information. This offset information is the character offset as set during the Analysis phase (and thus may not be the actual offset in the original content).
Field Summary
public static final  TermVectorOffsetInfo[] EMPTY_OFFSET_INFO    Convenience declaration when creating a org.apache.lucene.index.TermPositionVector that stores only position information. 
Constructor:
 public TermVectorOffsetInfo() 
 public TermVectorOffsetInfo(int startOffset,
    int endOffset) 
Method from org.apache.lucene.index.TermVectorOffsetInfo Summary:
equals,   getEndOffset,   getStartOffset,   hashCode,   setEndOffset,   setStartOffset
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.lucene.index.TermVectorOffsetInfo Detail:
 public boolean equals(Object o) 
    Two TermVectorOffsetInfos are equals if both the start and end offsets are the same
 public int getEndOffset() 
    The accessor for the ending offset for the term
 public int getStartOffset() 
    The accessor for the starting offset of the term.
 public int hashCode() 
 public  void setEndOffset(int endOffset) 
 public  void setStartOffset(int startOffset)