public class CompressedStreamReader extends StreamReader
| Modifier and Type | Field and Description |
|---|---|
protected CompressionInfo |
compressionInfo |
cfId, desc, estimatedKeys, inputVersion, sections, session| Constructor and Description |
|---|
CompressedStreamReader(FileMessageHeader header,
StreamSession session) |
| Modifier and Type | Method and Description |
|---|---|
SSTableWriter |
read(java.nio.channels.ReadableByteChannel channel) |
protected long |
totalSize() |
createWriter, drain, writeRowprotected final CompressionInfo compressionInfo
public CompressedStreamReader(FileMessageHeader header, StreamSession session)
public SSTableWriter read(java.nio.channels.ReadableByteChannel channel) throws java.io.IOException
read in class StreamReaderchannel - where this reads data fromjava.io.IOException - if reading the remote sstable fails. Will throw an RTE if local write fails.protected long totalSize()
totalSize in class StreamReaderCopyright © 2015 The Apache Software Foundation