Record Class RowGroupPredicate.ByteRange
java.lang.Object
java.lang.Record
dev.hardwood.reader.RowGroupPredicate.ByteRange
- All Implemented Interfaces:
RowGroupPredicate
- Enclosing interface:
RowGroupPredicate
public static record RowGroupPredicate.ByteRange(long startInclusive, long endExclusive)
extends Record
implements RowGroupPredicate
Keep row groups whose midpoint falls in
[startInclusive, endExclusive).
Constructed via RowGroupPredicate.byteRange(long, long).-
Nested Class Summary
Nested classes/interfaces inherited from interface RowGroupPredicate
RowGroupPredicate.And, RowGroupPredicate.ByteRange -
Constructor Summary
ConstructorsConstructorDescriptionByteRange(long startInclusive, long endExclusive) Creates an instance of aByteRangerecord class. -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the value of theendExclusiverecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.longReturns the value of thestartInclusiverecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ByteRange
public ByteRange(long startInclusive, long endExclusive) Creates an instance of aByteRangerecord class.- Parameters:
startInclusive- the value for thestartInclusiverecord componentendExclusive- the value for theendExclusiverecord 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. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
startInclusive
public long startInclusive()Returns the value of thestartInclusiverecord component.- Returns:
- the value of the
startInclusiverecord component
-
endExclusive
public long endExclusive()Returns the value of theendExclusiverecord component.- Returns:
- the value of the
endExclusiverecord component
-