Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.lucene.index
Class MultiTermEnum  view MultiTermEnum download MultiTermEnum.java

java.lang.Object
  extended byorg.apache.lucene.index.TermEnum
      extended byorg.apache.lucene.index.MultiTermEnum

class MultiTermEnum
extends TermEnum


Field Summary
private  int docFreq
           
private  SegmentMergeQueue queue
           
private  Term term
           
 
Constructor Summary
MultiTermEnum(IndexReader[] readers, int[] starts, Term t)
           
 
Method Summary
 void close()
          Closes the enumeration to further activity, freeing resources.
 int docFreq()
          Returns the docFreq of the current Term in the enumeration.
 boolean next()
          Increments the enumeration to the next element.
 Term term()
          Returns the current Term in the enumeration.
 
Methods inherited from class org.apache.lucene.index.TermEnum
skipTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

queue

private SegmentMergeQueue queue

term

private Term term

docFreq

private int docFreq
Constructor Detail

MultiTermEnum

public MultiTermEnum(IndexReader[] readers,
                     int[] starts,
                     Term t)
              throws java.io.IOException
Method Detail

next

public boolean next()
             throws java.io.IOException
Description copied from class: TermEnum
Increments the enumeration to the next element. True if one exists.

Specified by:
next in class TermEnum

term

public Term term()
Description copied from class: TermEnum
Returns the current Term in the enumeration.

Specified by:
term in class TermEnum

docFreq

public int docFreq()
Description copied from class: TermEnum
Returns the docFreq of the current Term in the enumeration.

Specified by:
docFreq in class TermEnum

close

public void close()
           throws java.io.IOException
Description copied from class: TermEnum
Closes the enumeration to further activity, freeing resources.

Specified by:
close in class TermEnum