Record Class GzipBlockStream.GzipBlockStreamRow

java.lang.Object
java.lang.Record
io.datarouter.bytes.compress.gzip.GzipBlockStream.GzipBlockStreamRow
Enclosing class:
GzipBlockStream

public static record GzipBlockStream.GzipBlockStreamRow(List<byte[]> tokens, int length) extends Record
One or more tokens that make up a "row" of data. The splitter keeps rows together in the same block. It's fine to have just one token. Lets the caller avoid concatenating the tokens, since they'll just be appended to a GzipOutputStream.