Package | Description |
---|---|
org.apache.avro.hadoop.io |
Modifier and Type | Method and Description |
---|---|
AvroSequenceFile.Reader.Options |
AvroSequenceFile.Reader.Options.withConfiguration(org.apache.hadoop.conf.Configuration conf)
Sets the Hadoop configuration.
|
AvroSequenceFile.Reader.Options |
AvroSequenceFile.Reader.Options.withFileSystem(org.apache.hadoop.fs.FileSystem fileSystem)
Sets the filesystem the SequenceFile should be read from.
|
AvroSequenceFile.Reader.Options |
AvroSequenceFile.Reader.Options.withInputPath(org.apache.hadoop.fs.Path inputPath)
Sets the input path for the SequenceFile.
|
AvroSequenceFile.Reader.Options |
AvroSequenceFile.Reader.Options.withKeySchema(Schema keyReaderSchema)
Sets the reader schema of the key records when using Avro data.
|
AvroSequenceFile.Reader.Options |
AvroSequenceFile.Reader.Options.withValueSchema(Schema valueReaderSchema)
Sets the reader schema of the value records when using Avro data.
|
Constructor and Description |
---|
Reader(AvroSequenceFile.Reader.Options options)
Creates a new
Reader from a SequenceFile that supports Avro
data. |
Copyright © 2009–2020 The Apache Software Foundation. All rights reserved.