# Uses of Class
org.apache.avro.hadoop.io.AvroSequenceFile.Writer.Options

Packages that use AvroSequenceFile.Writer.Options
Package
Description
org.apache.avro.hadoop.io

## Uses of AvroSequenceFile.Writer.Options in org.apache.avro.hadoop.io

Methods in org.apache.avro.hadoop.io that return AvroSequenceFile.Writer.Options
Modifier and Type
Method
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(CompressionCodec compressionCodec)`
Sets the compression codec to use if it is enabled.
`AvroSequenceFile.Writer.Options`
AvroSequenceFile.Writer.Options.`withCompressionType(SequenceFile.CompressionType compressionType)`
Sets the type of compression.
`AvroSequenceFile.Writer.Options`
AvroSequenceFile.Writer.Options.`withConfiguration(Configuration conf)`
Sets the Hadoop configuration.
`AvroSequenceFile.Writer.Options`
AvroSequenceFile.Writer.Options.`withFileSystem(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(org.apache.avro.Schema keyWriterSchema)`
Sets the writer schema of the key records when using Avro data.
`AvroSequenceFile.Writer.Options`
AvroSequenceFile.Writer.Options.`withMetadata(SequenceFile.Metadata metadata)`
Sets the metadata that should be stored in the file header.
`AvroSequenceFile.Writer.Options`
AvroSequenceFile.Writer.Options.`withOutputPath(Path outputPath)`
Sets the output path for the SequenceFile.
`AvroSequenceFile.Writer.Options`
AvroSequenceFile.Writer.Options.`withProgressable(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(org.apache.avro.Schema valueWriterSchema)`
Sets the writer schema of the value records when using Avro data.
Methods in org.apache.avro.hadoop.io with parameters of type AvroSequenceFile.Writer.Options
Modifier and Type
Method
Description
`static SequenceFile.Writer`
AvroSequenceFile.`createWriter(AvroSequenceFile.Writer.Options options)`
Creates a writer from a set of options.
Constructors in org.apache.avro.hadoop.io with parameters of type AvroSequenceFile.Writer.Options
Modifier
Constructor
Description
``
`Writer(AvroSequenceFile.Writer.Options options)`
Creates a new `Writer` to a SequenceFile that supports Avro data.