public abstract class FieldsEnum extends Object
| Modifier and Type | Field and Description |
|---|---|
static FieldsEnum |
EMPTY
Provides zero fields
|
static FieldsEnum[] |
EMPTY_ARRAY |
| Constructor and Description |
|---|
FieldsEnum() |
| Modifier and Type | Method and Description |
|---|---|
AttributeSource |
attributes()
Returns the related attributes.
|
abstract String |
next()
Increments the enumeration to the next field.
|
abstract Terms |
terms()
Get
Terms for the current field. |
public static final FieldsEnum[] EMPTY_ARRAY
public static final FieldsEnum EMPTY
public AttributeSource attributes()
public abstract String next() throws IOException
IOExceptionpublic abstract Terms terms() throws IOException
Terms for the current field. After 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.IOExceptionCopyright © 2000-2012 Apache Software Foundation. All Rights Reserved.