Record Class SpooledLocation.CoordinatorLocation
java.lang.Object
java.lang.Record
io.trino.spi.spool.SpooledLocation.CoordinatorLocation
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.trino.spi.spool.SpooledLocation
SpooledLocation.CoordinatorLocation, SpooledLocation.DirectLocation -
Constructor Summary
ConstructorsConstructorDescriptionCoordinatorLocation(io.airlift.slice.Slice identifier, Map<String, List<String>> headers) Creates an instance of aCoordinatorLocationrecord 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.headers()Returns the value of theheadersrecord component.io.airlift.slice.SliceReturns the value of theidentifierrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CoordinatorLocation
-
-
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 withObjects::equals(Object,Object). -
identifier
public io.airlift.slice.Slice identifier()Returns the value of theidentifierrecord component.- Specified by:
identifierin interfaceSpooledLocation- Returns:
- the value of the
identifierrecord component
-
headers
-