public static class AvroSequenceFile.Writer
extends org.apache.hadoop.io.SequenceFile.Writer
Modifier and Type | Class and Description |
---|---|
static class |
AvroSequenceFile.Writer.Options
A helper class to encapsulate the options that can be used to construct a
Writer.
|
Constructor and Description |
---|
Writer(AvroSequenceFile.Writer.Options options)
Creates a new
Writer to a SequenceFile that supports Avro data. |
append, append, appendIfExists, appendRaw, blockSize, bufferSize, close, compression, compression, file, getCompressionCodec, getKeyClass, getLength, getValueClass, hflush, hsync, keyClass, metadata, progressable, replication, stream, sync, syncFs, syncInterval, valueClass
public Writer(AvroSequenceFile.Writer.Options options) throws IOException
Writer
to a SequenceFile that supports Avro data.options
- The writer options.IOException
- If the writer cannot be initialized.Copyright © 2009–2021 The Apache Software Foundation. All rights reserved.