org.apache.lucene.index
Class FilterAtomicReader.FilterFieldsEnum

java.lang.Object
  extended by org.apache.lucene.index.FieldsEnum
      extended by org.apache.lucene.index.FilterAtomicReader.FilterFieldsEnum
Enclosing class:
FilterAtomicReader

public static class FilterAtomicReader.FilterFieldsEnum
extends FieldsEnum

Base class for filtering TermsEnum implementations.


Field Summary
protected  FieldsEnum in
           
 
Fields inherited from class org.apache.lucene.index.FieldsEnum
EMPTY, EMPTY_ARRAY
 
Constructor Summary
FilterAtomicReader.FilterFieldsEnum(FieldsEnum in)
           
 
Method Summary
 AttributeSource attributes()
          Returns the related attributes.
 String next()
          Increments the enumeration to the next field.
 Terms terms()
          Get Terms for the current field.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

in

protected final FieldsEnum in
Constructor Detail

FilterAtomicReader.FilterFieldsEnum

public FilterAtomicReader.FilterFieldsEnum(FieldsEnum in)
Method Detail

next

public String next()
            throws IOException
Description copied from class: FieldsEnum
Increments the enumeration to the next field. Returns null when there are no more fields.

Specified by:
next in class FieldsEnum
Throws:
IOException

terms

public Terms terms()
            throws IOException
Description copied from class: FieldsEnum
Get Terms for the current field. After FieldsEnum.next() returns null this method should not be called. This method may return null in some cases, which means the provided field does not have any terms.

Specified by:
terms in class FieldsEnum
Throws:
IOException

attributes

public AttributeSource attributes()
Description copied from class: FieldsEnum
Returns the related attributes.

Overrides:
attributes in class FieldsEnum


Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.