Record Class SpooledBlock
java.lang.Object
java.lang.Record
io.trino.server.protocol.spooling.SpooledBlock
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSpooledBlock(SpooledLocation location, DataAttributes attributes) Creates an instance of aSpooledBlockrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theattributesrecord component.static PagecreateNonSpooledPage(Page page) static SpooledBlockdeserialize(Page page) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.location()Returns the value of thelocationrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
SPOOLING_METADATA_TYPE
-
SPOOLING_METADATA_COLUMN_NAME
- See Also:
-
SPOOLING_METADATA_SYMBOL
-
-
Constructor Details
-
SpooledBlock
Creates an instance of aSpooledBlockrecord class.- Parameters:
location- the value for thelocationrecord componentattributes- the value for theattributesrecord component
-
-
Method Details
-
deserialize
-
serialize
-
createNonSpooledPage
-
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 withObjects::equals(Object,Object). -
location
Returns the value of thelocationrecord component.- Returns:
- the value of the
locationrecord component
-
attributes
Returns the value of theattributesrecord component.- Returns:
- the value of the
attributesrecord component
-