|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.index.Fields
org.apache.lucene.index.FilterAtomicReader.FilterFields
public static class FilterAtomicReader.FilterFields
Base class for filtering Fields
implementations.
Field Summary | |
---|---|
protected Fields |
in
The underlying Fields instance. |
Fields inherited from class org.apache.lucene.index.Fields |
---|
EMPTY_ARRAY |
Constructor Summary | |
---|---|
FilterAtomicReader.FilterFields(Fields in)
Creates a new FilterFields. |
Method Summary | |
---|---|
Iterator<String> |
iterator()
Returns an iterator that will step through all fields names. |
int |
size()
Returns the number of fields or -1 if the number of distinct field names is unknown. |
Terms |
terms(String field)
Get the Terms for this field. |
Methods inherited from class org.apache.lucene.index.Fields |
---|
getUniqueTermCount |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final Fields in
Constructor Detail |
---|
public FilterAtomicReader.FilterFields(Fields in)
in
- the underlying Fields instance.Method Detail |
---|
public Iterator<String> iterator()
Fields
iterator
in interface Iterable<String>
iterator
in class Fields
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 Fields
IOException
public int size()
Fields
Fields.iterator()
will return as many field names.
size
in class Fields
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |