Module org.elasticsearch.server
Record Class TSDBDocValuesFormatConfig.VersionConfig
java.lang.Object
java.lang.Record
org.elasticsearch.index.codec.tsdb.TSDBDocValuesFormatConfig.VersionConfig
- Record Components:
start- minimum format version for header validationcurrent- format version to write in file headerslargeBlocks- version at which large numeric blocks were introducedbinaryCompression- version at which binary DV compression was introducedprefixPartitions- version at which prefix partitions were introduced
- Enclosing class:
TSDBDocValuesFormatConfig
public static record TSDBDocValuesFormatConfig.VersionConfig(int start, int current, int largeBlocks, int binaryCompression, int prefixPartitions)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionVersionConfig(int start, int current, int largeBlocks, int binaryCompression, int prefixPartitions) Creates an instance of aVersionConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of thebinaryCompressionrecord component.intcurrent()Returns the value of thecurrentrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of thelargeBlocksrecord component.intReturns the value of theprefixPartitionsrecord component.intstart()Returns the value of thestartrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
VersionConfig
public VersionConfig(int start, int current, int largeBlocks, int binaryCompression, int prefixPartitions) Creates an instance of aVersionConfigrecord class.- Parameters:
start- the value for thestartrecord componentcurrent- the value for thecurrentrecord componentlargeBlocks- the value for thelargeBlocksrecord componentbinaryCompression- the value for thebinaryCompressionrecord componentprefixPartitions- the value for theprefixPartitionsrecord 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. All components in this record class are compared with '=='. -
start
public int start()Returns the value of thestartrecord component.- Returns:
- the value of the
startrecord component
-
current
public int current()Returns the value of thecurrentrecord component.- Returns:
- the value of the
currentrecord component
-
largeBlocks
public int largeBlocks()Returns the value of thelargeBlocksrecord component.- Returns:
- the value of the
largeBlocksrecord component
-
binaryCompression
public int binaryCompression()Returns the value of thebinaryCompressionrecord component.- Returns:
- the value of the
binaryCompressionrecord component
-
prefixPartitions
public int prefixPartitions()Returns the value of theprefixPartitionsrecord component.- Returns:
- the value of the
prefixPartitionsrecord component
-