public static class AssertingLeafReader.AssertingFields extends FilterLeafReader.FilterFields
in
EMPTY_ARRAY
Constructor and Description |
---|
AssertingFields(Fields in) |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<java.lang.String> |
iterator()
Returns an iterator that will step through all fields
names.
|
Terms |
terms(java.lang.String field)
Get the
Terms for this field. |
size
public AssertingFields(Fields in)
public java.util.Iterator<java.lang.String> iterator()
Fields
iterator
in interface java.lang.Iterable<java.lang.String>
iterator
in class FilterLeafReader.FilterFields
public Terms terms(java.lang.String field) throws java.io.IOException
Fields
Terms
for this field. This will return
null if the field does not exist.terms
in class FilterLeafReader.FilterFields
java.io.IOException
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.