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