Save This Page
Home » lucene-2.3.2-src » org.apache » lucene » index » [javadoc | source]
org.apache.lucene.index
class: TermVectorsReader [javadoc | source]
java.lang.Object
   org.apache.lucene.index.TermVectorsReader

All Implemented Interfaces:
    Cloneable

Field Summary
static final  int FORMAT_VERSION     
static final  int FORMAT_SIZE     
static final  byte STORE_POSITIONS_WITH_TERMVECTOR     
static final  byte STORE_OFFSET_WITH_TERMVECTOR     
Constructor:
 TermVectorsReader(Directory d,
    String segment,
    FieldInfos fieldInfos) throws IOException, CorruptIndexException 
 TermVectorsReader(Directory d,
    String segment,
    FieldInfos fieldInfos,
    int readBufferSize) throws IOException, CorruptIndexException 
 TermVectorsReader(Directory d,
    String segment,
    FieldInfos fieldInfos,
    int readBufferSize,
    int docStoreOffset,
    int size) throws IOException, CorruptIndexException 
Method from org.apache.lucene.index.TermVectorsReader Summary:
clone,   close,   get,   get,   get,   get,   size
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.lucene.index.TermVectorsReader Detail:
 protected Object clone() 
  void close() throws IOException 
 TermFreqVector[] get(int docNum) throws IOException 
    Return all term vectors stored for this document or null if the could not be read in.
 TermFreqVector get(int docNum,
    String field) throws IOException 
    Retrieve the term vector for the given document and field
 public  void get(int docNumber,
    TermVectorMapper mapper) throws IOException 
 public  void get(int docNum,
    String field,
    TermVectorMapper mapper) throws IOException 
 int size()