Home » lucene-3.0.1-src » org.apache » lucene » store » instantiated » [javadoc | source]
public class: InstantiatedTermDocs [javadoc | source]

All Implemented Interfaces:

Direct Known Subclasses:

A org.apache.lucene.index.TermDocs navigating an InstantiatedIndexReader .
Field Summary
protected  InstantiatedTermDocumentInformation currentDocumentInformation     
protected  InstantiatedTerm currentTerm     
 public InstantiatedTermDocs(InstantiatedIndexReader reader) 
Method from org.apache.lucene.store.instantiated.InstantiatedTermDocs Summary:
close,   doc,   freq,   next,   read,   seek,   seek,   skipTo
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.lucene.store.instantiated.InstantiatedTermDocs Detail:
 public  void close() 
    Does nothing
 public int doc() 
 public int freq() 
 public boolean next() 
 public int read(int[] docs,
    int[] freqs) 
 public  void seek(Term term) 
 public  void seek(TermEnum termEnum) 
 public boolean skipTo(int target) 
    Skips entries to the first beyond the current whose document number is greater than or equal to target.

    Returns true if there is such an entry.

    Behaves as if written:

      boolean skipTo(int target) {
        do {
          if (!next())
    	     return false;
        } while (target > doc());
        return true;
    This implementation is considerably more efficient than that.