Module org.elasticsearch.server
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 bytesblockCountThreshold- threshold for binary block value countenablePerBlockCompression- whether per-block compression is enabledcompressionMode- 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 Summary
ConstructorsConstructorDescriptionBinaryConfig(int blockBytesThreshold, int blockCountThreshold, boolean enablePerBlockCompression, BinaryDVCompressionMode compressionMode) Creates an instance of aBinaryConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of theblockBytesThresholdrecord component.intReturns the value of theblockCountThresholdrecord component.Returns the value of thecompressionModerecord component.booleanReturns the value of theenablePerBlockCompressionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BinaryConfig
public BinaryConfig(int blockBytesThreshold, int blockCountThreshold, boolean enablePerBlockCompression, BinaryDVCompressionMode compressionMode) Creates an instance of aBinaryConfigrecord class.- Parameters:
blockBytesThreshold- the value for theblockBytesThresholdrecord componentblockCountThreshold- the value for theblockCountThresholdrecord componentenablePerBlockCompression- the value for theenablePerBlockCompressionrecord componentcompressionMode- the value for thecompressionModerecord component
-
-
Method Details
-
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. -
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. -
equals
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 withObjects::equals(Object,Object); primitive components are compared with '=='. -
blockBytesThreshold
public int blockBytesThreshold()Returns the value of theblockBytesThresholdrecord component.- Returns:
- the value of the
blockBytesThresholdrecord component
-
blockCountThreshold
public int blockCountThreshold()Returns the value of theblockCountThresholdrecord component.- Returns:
- the value of the
blockCountThresholdrecord component
-
enablePerBlockCompression
public boolean enablePerBlockCompression()Returns the value of theenablePerBlockCompressionrecord component.- Returns:
- the value of the
enablePerBlockCompressionrecord component
-
compressionMode
Returns the value of thecompressionModerecord component.- Returns:
- the value of the
compressionModerecord component
-