Class CassandraEntireSSTableStreamWriter

java.lang.Object
org.apache.cassandra.db.streaming.CassandraEntireSSTableStreamWriter

public class CassandraEntireSSTableStreamWriter extends Object
CassandraEntireSSTableStreamWriter streams the entire SSTable to given channel.
  • Constructor Details

  • Method Details

    • write

      public void write(StreamingDataOutputPlus out) throws 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:
      IOException - on any I/O error