protected abstract static class SequenceFileBase.BlockCompressWriterBase extends SequenceFile.Writer
compressedValSerializer, keySerializer, uncompressedValSerializer| Modifier | Constructor and Description |
|---|---|
protected |
SequenceFileBase.BlockCompressWriterBase(FileSystem fs,
Configuration conf,
Path name,
Class keyClass,
Class valClass,
int bufferSize,
short replication,
long blockSize,
CompressionCodec codec,
Progressable progress,
SequenceFile.Metadata metadata) |
| 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, syncFsprotected SequenceFileBase.BlockCompressWriterBase(FileSystem fs, Configuration conf, Path name, Class keyClass, Class valClass, int bufferSize, short replication, long blockSize, CompressionCodec codec, Progressable progress, SequenceFile.Metadata metadata) throws IOException
IOExceptionpublic 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.