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(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(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(Schema valueWriterSchema)
Sets the writer schema of the value records when using Avro data.
|
Modifier and Type | Method and Description |
---|---|
static SequenceFile.Writer |
AvroSequenceFile.createWriter(AvroSequenceFile.Writer.Options options)
Creates a writer from a set of options.
|
Constructor and Description |
---|
Writer(AvroSequenceFile.Writer.Options options)
Creates a new
Writer to a SequenceFile that supports Avro data. |
Copyright © 2009–2020 The Apache Software Foundation. All rights reserved.