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, wait
getChildResources, ramBytesUsed
protected FieldsProducer()
public abstract void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
java.io.IOException
public 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.IOException
public FieldsProducer getMergeInstance() throws java.io.IOException
The default implementation returns this
java.io.IOException
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.