public static class AvroSequenceFile.RecordCompressWriter extends SequenceFileBase.RecordCompressWriterBase
compressedValSerializer, keySerializer, uncompressedValSerializer| Constructor and Description |
|---|
AvroSequenceFile.RecordCompressWriter(AvroSequenceFile.Writer.Options options)
Creates a new
RecordCompressWriter to a SequenceFile that supports Avro data. |
| Modifier and Type | Method and Description |
|---|---|
void |
append(Object arg0,
Object arg1) |
void |
appendRaw(byte[] arg0,
int arg1,
int arg2,
SequenceFile.ValueBytes arg3) |
append, close, getCompressionCodec, getKeyClass, getLength, getValueClass, sync, syncFspublic AvroSequenceFile.RecordCompressWriter(AvroSequenceFile.Writer.Options options) throws IOException
RecordCompressWriter to a SequenceFile that supports Avro data.options - The writer options.IOException - If the writer cannot be initialized.public void append(Object arg0, Object arg1) throws IOException
append in class SequenceFile.WriterIOExceptionpublic void appendRaw(byte[] arg0,
int arg1,
int arg2,
SequenceFile.ValueBytes arg3)
throws IOException
appendRaw in class SequenceFile.WriterIOExceptionCopyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.