public static class AssertingLeafReader.AssertingFields extends FilterLeafReader.FilterFields
in
EMPTY_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. |
size
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public AssertingFields(Fields in)
public Iterator<String> iterator()
Fields
iterator
in interface Iterable<String>
iterator
in class FilterLeafReader.FilterFields
public Terms terms(String field) throws IOException
Fields
Terms
for this field. This will return
null if the field does not exist.terms
in class FilterLeafReader.FilterFields
IOException
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.