|
|||||||||
| 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 | |
|---|---|
long |
getUniqueTermCount()
Returns the number of terms for all fields, or -1 if this measure isn't stored by the codec. |
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 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
FieldsTerms for this field. This will return
null if the field does not exist.
terms in class FieldsIOExceptionpublic int size()
FieldsFields.iterator() will return as many field names.
size in class Fields
public long getUniqueTermCount()
throws IOException
Fields
getUniqueTermCount in class FieldsIOExceptionTerms.size()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||