public abstract class FieldsProducer extends Fields implements java.io.Closeable, Accountable
EMPTY_ARRAY| Modifier | Constructor and Description |
|---|---|
protected |
FieldsProducer()
Sole constructor.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
checkIntegrity()
Checks consistency of this reader.
|
abstract void |
close() |
FieldsProducer |
getMergeInstance()
Returns an instance optimized for merging.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChildResources, ramBytesUsedprotected FieldsProducer()
public abstract void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOExceptionpublic abstract void checkIntegrity()
throws java.io.IOException
Note that this may be costly in terms of I/O, e.g. may involve computing a checksum value against large data files.
java.io.IOExceptionpublic FieldsProducer getMergeInstance() throws java.io.IOException
The default implementation returns this
java.io.IOExceptionCopyright © 2000–2025 The Apache Software Foundation. All rights reserved.