public class CompressedStreamWriter extends StreamWriter
Modifier and Type | Field and Description |
---|---|
static int |
CHUNK_SIZE |
limiter, sections, session, sstable
Constructor and Description |
---|
CompressedStreamWriter(SSTableReader sstable,
java.util.Collection<Pair<java.lang.Long,java.lang.Long>> sections,
CompressionInfo compressionInfo,
StreamSession session) |
Modifier and Type | Method and Description |
---|---|
protected long |
totalSize() |
void |
write(DataOutputStreamPlus out)
Stream file of specified sections to given channel.
|
write
public static final int CHUNK_SIZE
public CompressedStreamWriter(SSTableReader sstable, java.util.Collection<Pair<java.lang.Long,java.lang.Long>> sections, CompressionInfo compressionInfo, StreamSession session)
public void write(DataOutputStreamPlus out) throws java.io.IOException
StreamWriter
write
in class StreamWriter
out
- where this writes data tojava.io.IOException
- on any I/O errorprotected long totalSize()
totalSize
in class StreamWriter
Copyright © 2009- The Apache Software Foundation