public static class AssertingLeafReader.AssertingFields extends FilterLeafReader.FilterFields
inEMPTY_ARRAY| Constructor and Description |
|---|
AssertingFields(Fields in) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<String> |
iterator()
Returns an iterator that will step through all fields
names.
|
Terms |
terms(String field)
Get the
Terms for this field. |
sizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic AssertingFields(Fields in)
public Iterator<String> iterator()
Fieldsiterator in interface Iterable<String>iterator in class FilterLeafReader.FilterFieldspublic Terms terms(String field) throws IOException
FieldsTerms for this field. This will return
null if the field does not exist.terms in class FilterLeafReader.FilterFieldsIOExceptionCopyright © 2000–2015 The Apache Software Foundation. All rights reserved.