Class StreamCompressionSerializer

java.lang.Object
org.apache.cassandra.streaming.async.StreamCompressionSerializer

public class StreamCompressionSerializer extends Object
A serialiazer for stream compressed files (see package-level documentation). Much like a typical compressed output stream, this class operates on buffers or chunks of the data at a a time. The format for each compressed chunk is as follows: - int - compressed payload length - int - uncompressed payload length - bytes - compressed payload
  • Constructor Details

    • StreamCompressionSerializer

      public StreamCompressionSerializer(io.netty.buffer.ByteBufAllocator allocator)
  • Method Details