public class CassandraEntireSSTableStreamWriter
extends java.lang.Object
| Constructor and Description |
|---|
CassandraEntireSSTableStreamWriter(SSTableReader sstable,
StreamSession session,
ComponentContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
write(AsyncStreamingOutputPlus out)
Stream the entire file to given channel.
|
public CassandraEntireSSTableStreamWriter(SSTableReader sstable, StreamSession session, ComponentContext context)
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-2022 The Apache Software Foundation