|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.index.FieldsEnum
public abstract class FieldsEnum
Enumerates indexed fields. You must first call next()
before calling terms()
.
Field Summary | |
---|---|
static FieldsEnum |
EMPTY
Provides zero fields |
static FieldsEnum[] |
EMPTY_ARRAY
|
Constructor Summary | |
---|---|
FieldsEnum()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final FieldsEnum[] EMPTY_ARRAY
public static final FieldsEnum EMPTY
Constructor Detail |
---|
public FieldsEnum()
Method Detail |
---|
public AttributeSource attributes()
public abstract String next() throws IOException
IOException
public 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.
IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |