public static class AvroSequenceFile.Writer extends 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.
|
SequenceFile.Writer.Option
compressedValSerializer, keySerializer, uncompressedValSerializer
Constructor and Description |
---|
AvroSequenceFile.Writer(AvroSequenceFile.Writer.Options options)
Creates a new
Writer to a SequenceFile that supports Avro data. |
append, append, appendRaw, blockSize, bufferSize, close, compression, compression, file, getCompressionCodec, getKeyClass, getLength, getValueClass, hflush, hsync, keyClass, metadata, progressable, replication, stream, sync, syncFs, valueClass
public AvroSequenceFile.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–2017 The Apache Software Foundation. All rights reserved.