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.
|
Constructor and Description |
---|
AvroSequenceFile.Reader(AvroSequenceFile.Reader.Options options)
Creates a new
Reader from a SequenceFile that supports Avro data. |
close, createValueBytes, getCompressionCodec, getCurrentValue, getCurrentValue, getKeyClass, getKeyClassName, getMetadata, getPosition, getValueClass, getValueClassName, isBlockCompressed, isCompressed, next, next, next, next, nextRaw, nextRawKey, nextRawValue, openFile, seek, sync, syncSeen, toString
public AvroSequenceFile.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-2014 The Apache Software Foundation. All Rights Reserved.