Record Class TSDBDocValuesFormatConfig.BinaryConfig

java.lang.Object
java.lang.Record
org.elasticsearch.index.codec.tsdb.TSDBDocValuesFormatConfig.BinaryConfig
Record Components:
blockBytesThreshold - threshold for binary block size in bytes
blockCountThreshold - threshold for binary block value count
enablePerBlockCompression - whether per-block compression is enabled
compressionMode - compression algorithm for binary doc values
Enclosing class:
TSDBDocValuesFormatConfig

public static record TSDBDocValuesFormatConfig.BinaryConfig(int blockBytesThreshold, int blockCountThreshold, boolean enablePerBlockCompression, BinaryDVCompressionMode compressionMode) extends Record
  • Constructor Details

    • BinaryConfig

      public BinaryConfig(int blockBytesThreshold, int blockCountThreshold, boolean enablePerBlockCompression, BinaryDVCompressionMode compressionMode)
      Creates an instance of a BinaryConfig record class.
      Parameters:
      blockBytesThreshold - the value for the blockBytesThreshold record component
      blockCountThreshold - the value for the blockCountThreshold record component
      enablePerBlockCompression - the value for the enablePerBlockCompression record component
      compressionMode - the value for the compressionMode record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • blockBytesThreshold

      public int blockBytesThreshold()
      Returns the value of the blockBytesThreshold record component.
      Returns:
      the value of the blockBytesThreshold record component
    • blockCountThreshold

      public int blockCountThreshold()
      Returns the value of the blockCountThreshold record component.
      Returns:
      the value of the blockCountThreshold record component
    • enablePerBlockCompression

      public boolean enablePerBlockCompression()
      Returns the value of the enablePerBlockCompression record component.
      Returns:
      the value of the enablePerBlockCompression record component
    • compressionMode

      public BinaryDVCompressionMode compressionMode()
      Returns the value of the compressionMode record component.
      Returns:
      the value of the compressionMode record component