Package | Description |
---|---|
org.apache.avro.hadoop.io |
Modifier and Type | Method and Description |
---|---|
AvroSequenceFile.Writer.Options |
AvroSequenceFile.Writer.Options.withBlockSizeBytes(long bytes)
Sets the desired size of the file blocks.
|
AvroSequenceFile.Writer.Options |
AvroSequenceFile.Writer.Options.withBufferSizeBytes(int bytes)
Sets the write buffer size in bytes.
|
AvroSequenceFile.Writer.Options |
AvroSequenceFile.Writer.Options.withCompressionCodec(org.apache.hadoop.io.compress.CompressionCodec compressionCodec)
Sets the compression codec to use if it is enabled.
|
AvroSequenceFile.Writer.Options |
AvroSequenceFile.Writer.Options.withCompressionType(org.apache.hadoop.io.SequenceFile.CompressionType compressionType)
Sets the type of compression.
|
AvroSequenceFile.Writer.Options |
AvroSequenceFile.Writer.Options.withConfiguration(org.apache.hadoop.conf.Configuration conf)
Sets the Hadoop configuration.
|
AvroSequenceFile.Writer.Options |
AvroSequenceFile.Writer.Options.withFileSystem(org.apache.hadoop.fs.FileSystem fileSystem)
Sets the filesystem the SequenceFile should be written to.
|
AvroSequenceFile.Writer.Options |
AvroSequenceFile.Writer.Options.withKeyClass(Class<?> keyClass)
Sets the class of the key records to be written.
|
AvroSequenceFile.Writer.Options |
AvroSequenceFile.Writer.Options.withKeySchema(Schema keyWriterSchema)
Sets the writer schema of the key records when using Avro data.
|
AvroSequenceFile.Writer.Options |
AvroSequenceFile.Writer.Options.withMetadata(org.apache.hadoop.io.SequenceFile.Metadata metadata)
Sets the metadata that should be stored in the file header.
|
AvroSequenceFile.Writer.Options |
AvroSequenceFile.Writer.Options.withOutputPath(org.apache.hadoop.fs.Path outputPath)
Sets the output path for the SequenceFile.
|
AvroSequenceFile.Writer.Options |
AvroSequenceFile.Writer.Options.withProgressable(org.apache.hadoop.util.Progressable progressable)
Sets an object to report progress to.
|
AvroSequenceFile.Writer.Options |
AvroSequenceFile.Writer.Options.withReplicationFactor(short replicationFactor)
Sets the desired replication factor for the file.
|
AvroSequenceFile.Writer.Options |
AvroSequenceFile.Writer.Options.withValueClass(Class<?> valueClass)
Sets the class of the value records to be written.
|
AvroSequenceFile.Writer.Options |
AvroSequenceFile.Writer.Options.withValueSchema(Schema valueWriterSchema)
Sets the writer schema of the value records when using Avro data.
|
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.io.SequenceFile.Writer |
AvroSequenceFile.createWriter(AvroSequenceFile.Writer.Options options)
Creates a writer from a set of options.
|
Constructor and Description |
---|
AvroSequenceFile.Writer(AvroSequenceFile.Writer.Options options)
Creates a new
Writer to a SequenceFile that supports Avro data. |
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.