Package io.trino.filesystem.alluxio
Record Class AlluxioInputHelper.PageAlignedRead
java.lang.Object
java.lang.Record
io.trino.filesystem.alluxio.AlluxioInputHelper.PageAlignedRead
- Enclosing class:
AlluxioInputHelper
public static record AlluxioInputHelper.PageAlignedRead(long pageStart, long pageEnd, int pageOffset)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionPageAlignedRead(long pageStart, long pageEnd, int pageOffset) Creates an instance of aPageAlignedReadrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intlength()longpageEnd()Returns the value of thepageEndrecord component.intReturns the value of thepageOffsetrecord component.longReturns the value of thepageStartrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PageAlignedRead
public PageAlignedRead(long pageStart, long pageEnd, int pageOffset) Creates an instance of aPageAlignedReadrecord class.- Parameters:
pageStart- the value for thepageStartrecord componentpageEnd- the value for thepageEndrecord componentpageOffset- the value for thepageOffsetrecord component
-
-
Method Details
-
length
public int length() -
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 '=='. -
pageStart
public long pageStart()Returns the value of thepageStartrecord component.- Returns:
- the value of the
pageStartrecord component
-
pageEnd
public long pageEnd()Returns the value of thepageEndrecord component.- Returns:
- the value of the
pageEndrecord component
-
pageOffset
public int pageOffset()Returns the value of thepageOffsetrecord component.- Returns:
- the value of the
pageOffsetrecord component
-