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
.
Modifier and Type | Interface and Description |
---|---|
static interface |
DecoderBasedReader.Decoder.Factory<T>
Factory to create
DecoderBasedReader.Decoder . |
Modifier and Type | Method and Description |
---|---|
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
IOException
T decodeNext() throws IOException
IOException
void close() throws IOException
IOException
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.