public static class AvroSequenceFile.BlockCompressWriter extends SequenceFileBase.BlockCompressWriterBase
compressedValSerializer, keySerializer, uncompressedValSerializer| Constructor and Description | 
|---|
| AvroSequenceFile.BlockCompressWriter(AvroSequenceFile.Writer.Options options)Creates a new  BlockCompressWriterto 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) | 
| void | close() | 
| void | sync() | 
append, getCompressionCodec, getKeyClass, getLength, getValueClass, syncFspublic AvroSequenceFile.BlockCompressWriter(AvroSequenceFile.Writer.Options options) throws IOException
BlockCompressWriter to a SequenceFile that supports Avro data.options - The writer options.IOException - If the writer cannot be initialized.public void sync()
          throws IOException
sync in class SequenceFile.WriterIOExceptionpublic void close()
           throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class SequenceFile.WriterIOExceptionpublic 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.