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.
|
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, close, getCompressionCodec, getKeyClass, getLength, getValueClass, sync, syncFs
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-2012 The Apache Software Foundation. All Rights Reserved.