Record Class BlockfileIndexBlockInput
java.lang.Object
java.lang.Record
io.datarouter.bytes.blockfile.index.BlockfileIndexBlockInput
public record BlockfileIndexBlockInput(long globalBlockId, long indexBlockId, int level, List<BlockfileIndexEntry> children)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionBlockfileIndexBlockInput(long globalBlockId, long indexBlockId, int level, List<BlockfileIndexEntry> children) Creates an instance of aBlockfileIndexBlockInputrecord class. -
Method Summary
Modifier and TypeMethodDescriptionchildren()Returns the value of thechildrenrecord component.final booleanIndicates whether some other object is "equal to" this one.longReturns the value of theglobalBlockIdrecord component.final inthashCode()Returns a hash code value for this object.longReturns the value of theindexBlockIdrecord component.intlevel()Returns the value of thelevelrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BlockfileIndexBlockInput
public BlockfileIndexBlockInput(long globalBlockId, long indexBlockId, int level, List<BlockfileIndexEntry> children) Creates an instance of aBlockfileIndexBlockInputrecord class.- Parameters:
globalBlockId- the value for theglobalBlockIdrecord componentindexBlockId- the value for theindexBlockIdrecord componentlevel- the value for thelevelrecord componentchildren- the value for thechildrenrecord component
-
-
Method Details
-
toParentValueBlockIdRange
-
toParentRowIdRange
-
toParentRowRange
-
toString
-
hashCode
-
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 '=='. -
globalBlockId
public long globalBlockId()Returns the value of theglobalBlockIdrecord component.- Returns:
- the value of the
globalBlockIdrecord component
-
indexBlockId
public long indexBlockId()Returns the value of theindexBlockIdrecord component.- Returns:
- the value of the
indexBlockIdrecord component
-
level
public int level()Returns the value of thelevelrecord component.- Returns:
- the value of the
levelrecord component
-
children
Returns the value of thechildrenrecord component.- Returns:
- the value of the
childrenrecord component
-