T - Thy type of the records the reader is reading.public static interface DecoderBasedReader.Decoder<T> extends Serializable
DecoderBasedReader.Decoder to decode the file content into the actual records.
A DecoderBasedReader.Decoder is generally the reverse of a Encoder.
| 限定符和类型 | 接口和说明 |
|---|---|
static interface |
DecoderBasedReader.Decoder.Factory<T>
Factory to create
DecoderBasedReader.Decoder. |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close()
Closes the open resources.
|
T |
decodeNext() |
void |
open(InputStream input)
Prepares to start decoding the input stream.
|
void open(InputStream input) throws IOException
IOExceptionT decodeNext() throws IOException
IOExceptionvoid close()
throws IOException
IOExceptionCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.