Package org.apache.lucene.codecs
Class FieldsProducer
java.lang.Object
org.apache.lucene.index.Fields
org.apache.lucene.codecs.FieldsProducer
- All Implemented Interfaces:
Closeable,AutoCloseable,Iterable<String>
- Direct Known Subclasses:
BlockTreeTermsReader
Abstract API that produces terms, doc, freq, prox, offset and
payloads postings.
-
Field Summary
Fields inherited from class org.apache.lucene.index.Fields
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidclose()abstract longReturns approximate RAM bytes usedMethods inherited from class org.apache.lucene.index.Fields
getUniqueTermCount, iterator, size, termsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
FieldsProducer
protected FieldsProducer()Sole constructor. (For invocation by subclass constructors, typically implicit.)
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
ramBytesUsed
public abstract long ramBytesUsed()Returns approximate RAM bytes used
-