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, wait
getChildResources, ramBytesUsed
forEach, spliterator
protected FieldsProducer()
public abstract void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
public 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.
IOException
public FieldsProducer getMergeInstance() throws IOException
The default implementation returns this
IOException
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.