Record Class BlockfileRowKeyReader.BlockfileRowKeySearchResult<T>
java.lang.Object
java.lang.Record
io.datarouter.bytes.blockfile.io.read.query.BlockfileRowKeyReader.BlockfileRowKeySearchResult<T>
- Enclosing class:
BlockfileRowKeyReader<T>
public static record BlockfileRowKeyReader.BlockfileRowKeySearchResult<T>(BlockfileValueBlockCodec.BlockfileEncodedValueBlock encodedValueBlock, long globalBlockId, long valueBlockId, long firstItemId)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionBlockfileRowKeySearchResult(BlockfileValueBlockCodec.BlockfileEncodedValueBlock encodedValueBlock, long globalBlockId, long valueBlockId, long firstItemId) Creates an instance of aBlockfileRowKeySearchResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theencodedValueBlockrecord component.final booleanIndicates whether some other object is "equal to" this one.longReturns the value of thefirstItemIdrecord component.longReturns the value of theglobalBlockIdrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.longReturns the value of thevalueBlockIdrecord component.
-
Constructor Details
-
BlockfileRowKeySearchResult
public BlockfileRowKeySearchResult(BlockfileValueBlockCodec.BlockfileEncodedValueBlock encodedValueBlock, long globalBlockId, long valueBlockId, long firstItemId) Creates an instance of aBlockfileRowKeySearchResultrecord class.- Parameters:
encodedValueBlock- the value for theencodedValueBlockrecord componentglobalBlockId- the value for theglobalBlockIdrecord componentvalueBlockId- the value for thevalueBlockIdrecord componentfirstItemId- the value for thefirstItemIdrecord component
-
-
Method Details
-
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 '=='. -
encodedValueBlock
Returns the value of theencodedValueBlockrecord component.- Returns:
- the value of the
encodedValueBlockrecord component
-
globalBlockId
public long globalBlockId()Returns the value of theglobalBlockIdrecord component.- Returns:
- the value of the
globalBlockIdrecord component
-
valueBlockId
public long valueBlockId()Returns the value of thevalueBlockIdrecord component.- Returns:
- the value of the
valueBlockIdrecord component
-
firstItemId
public long firstItemId()Returns the value of thefirstItemIdrecord component.- Returns:
- the value of the
firstItemIdrecord component
-