public class CassandraEntireSSTableStreamWriter
extends java.lang.Object
Constructor and Description |
---|
CassandraEntireSSTableStreamWriter(SSTableReader sstable,
StreamSession session,
ComponentManifest manifest) |
Modifier and Type | Method and Description |
---|---|
void |
write(AsyncStreamingOutputPlus out)
Stream the entire file to given channel.
|
public CassandraEntireSSTableStreamWriter(SSTableReader sstable, StreamSession session, ComponentManifest manifest)
public void write(AsyncStreamingOutputPlus out) throws java.io.IOException
TODO: this currently requires a companion thread, but could be performed entirely asynchronously
out
- where this writes data tojava.io.IOException
- on any I/O errorCopyright © 2009-2020 The Apache Software Foundation