Class BodyCompressionMethod

java.lang.Object
org.apache.arrow.flatbuf.BodyCompressionMethod

public final class BodyCompressionMethod extends Object
Provided for forward compatibility in case we need to support different strategies for compressing the IPC message body (like whole-body compression rather than buffer-level) in the future
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final byte
    Each constituent buffer is first compressed with the indicated compressor, and then written with the uncompressed length in the first 8 bytes as a 64-bit little-endian signed integer followed by the compressed buffer bytes (and then padding as required by the protocol).
    static final String[]
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    name(int e)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • BUFFER

      public static final byte BUFFER
      Each constituent buffer is first compressed with the indicated compressor, and then written with the uncompressed length in the first 8 bytes as a 64-bit little-endian signed integer followed by the compressed buffer bytes (and then padding as required by the protocol). The uncompressed length may be set to -1 to indicate that the data that follows is not compressed, which can be useful for cases where compression does not yield appreciable savings.
      See Also:
    • names

      public static final String[] names
  • Method Details

    • name

      public static String name(int e)