|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.index.Fields
public abstract class Fields
Flex API for access to fields and terms
Field Summary | |
---|---|
static Fields[] |
EMPTY_ARRAY
|
Constructor Summary | |
---|---|
Fields()
|
Method Summary | |
---|---|
long |
getUniqueTermCount()
Returns the number of terms for all fields, or -1 if this measure isn't stored by the codec. |
abstract FieldsEnum |
iterator()
Returns an iterator that will step through all fields names. |
abstract int |
size()
Returns the number of terms for all fields, or -1 if this measure isn't stored by the codec. |
abstract 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 |
---|
public static final Fields[] EMPTY_ARRAY
Constructor Detail |
---|
public Fields()
Method Detail |
---|
public abstract FieldsEnum iterator() throws IOException
IOException
public abstract Terms terms(String field) throws IOException
Terms
for this field. This will return
null if the field does not exist.
IOException
public abstract int size() throws IOException
IOException
public long getUniqueTermCount() throws IOException
IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |