public final class MultiFieldsEnum extends FieldsEnum
| Modifier and Type | Class and Description |
|---|---|
static class |
MultiFieldsEnum.FieldsEnumWithSlice |
EMPTY, EMPTY_ARRAY| Constructor and Description |
|---|
MultiFieldsEnum(MultiFields fields,
FieldsEnum[] subs,
ReaderSlice[] subSlices)
The subs array must be newly initialized FieldsEnum
(ie,
FieldsEnum.next() has not been called. |
| Modifier and Type | Method and Description |
|---|---|
String |
next()
Increments the enumeration to the next field.
|
Terms |
terms()
Get
Terms for the current field. |
attributespublic MultiFieldsEnum(MultiFields fields, FieldsEnum[] subs, ReaderSlice[] subSlices) throws IOException
FieldsEnum.next() has not been called.IOExceptionpublic String next() throws IOException
FieldsEnumnext in class FieldsEnumIOExceptionpublic Terms terms() throws IOException
FieldsEnumTerms 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.terms in class FieldsEnumIOExceptionCopyright © 2000-2012 Apache Software Foundation. All Rights Reserved.