Class CassandraEntireSSTableStreamWriter
java.lang.Object
org.apache.cassandra.db.streaming.CassandraEntireSSTableStreamWriter
CassandraEntireSSTableStreamWriter streams the entire SSTable to given channel.
-
Constructor Summary
ConstructorsConstructorDescriptionCassandraEntireSSTableStreamWriter(SSTableReader sstable, StreamSession session, ComponentContext context) -
Method Summary
Modifier and TypeMethodDescriptionvoidStream the entire file to given channel.
-
Constructor Details
-
CassandraEntireSSTableStreamWriter
public CassandraEntireSSTableStreamWriter(SSTableReader sstable, StreamSession session, ComponentContext context)
-
-
Method Details
-
write
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:
IOException- on any I/O error
-