public static class AvroSequenceFile.Reader extends SequenceFile.Reader
| Modifier and Type | Class and Description |
|---|---|
static class |
AvroSequenceFile.Reader.Options
A helper class to encapsulate the options that can be used to construct a
Reader.
|
SequenceFile.Reader.Option| Constructor and Description |
|---|
Reader(AvroSequenceFile.Reader.Options options)
Creates a new
Reader from a SequenceFile that supports Avro
data. |
bufferSize, close, createValueBytes, file, getCompressionCodec, getCompressionType, getCurrentValue, getCurrentValue, getKeyClass, getKeyClassName, getMetadata, getPosition, getValueClass, getValueClassName, isBlockCompressed, isCompressed, length, next, next, next, nextRaw, nextRawKey, nextRawValue, openFile, seek, start, stream, sync, syncSeen, toStringpublic Reader(AvroSequenceFile.Reader.Options options) throws IOException
Reader from a SequenceFile that supports Avro
data.options - The reader options.IOException - If the reader cannot be initialized.Copyright © 2009–2023 The Apache Software Foundation. All rights reserved.