org.apache.lucene.codecs
Class FieldsProducer
java.lang.Object
org.apache.lucene.index.Fields
org.apache.lucene.codecs.FieldsProducer
- All Implemented Interfaces:
- Closeable, Iterable<String>
- Direct Known Subclasses:
- BlockTreeTermsReader
public abstract class FieldsProducer
- extends Fields
- implements Closeable
Abstract API that produces terms, doc, freq, prox, offset and
payloads postings.
- WARNING: This API is experimental and might change in incompatible ways in the next release.
Method Summary |
abstract void |
close()
|
abstract long |
ramBytesUsed()
Returns approximate RAM bytes used |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FieldsProducer
protected FieldsProducer()
- Sole constructor. (For invocation by subclass
constructors, typically implicit.)
close
public abstract void close()
throws IOException
- Specified by:
close
in interface Closeable
- Throws:
IOException
ramBytesUsed
public abstract long ramBytesUsed()
- Returns approximate RAM bytes used
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.