Class CassandraEntireSSTableStreamWriter
- java.lang.Object
-
- org.apache.cassandra.db.streaming.CassandraEntireSSTableStreamWriter
-
public class CassandraEntireSSTableStreamWriter extends java.lang.ObjectCassandraEntireSSTableStreamWriter streams the entire SSTable to given channel.
-
-
Constructor Summary
Constructors Constructor Description CassandraEntireSSTableStreamWriter(SSTableReader sstable, StreamSession session, ComponentContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwrite(StreamingDataOutputPlus out)Stream the entire file to given channel.
-
-
-
Constructor Detail
-
CassandraEntireSSTableStreamWriter
public CassandraEntireSSTableStreamWriter(SSTableReader sstable, StreamSession session, ComponentContext context)
-
-
Method Detail
-
write
public void write(StreamingDataOutputPlus out) throws java.io.IOException
Stream the entire file to given channel.TODO: this currently requires a companion thread, but could be performed entirely asynchronously
- Parameters:
out- where this writes data to- Throws:
java.io.IOException- on any I/O error
-
-