public abstract class FieldsProducer extends Fields implements 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 IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic abstract void checkIntegrity()
throws IOException
Note that this may be costly in terms of I/O, e.g. may involve computing a checksum value against large data files.
IOExceptionpublic FieldsProducer getMergeInstance() throws IOException
The default implementation returns this
IOExceptionCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.