Package io.trino.server
Record Class TaskUpdateRequest
java.lang.Object
java.lang.Record
io.trino.server.TaskUpdateRequest
- Record Components:
extraCredentials- extraCredentials is stored separately from SessionRepresentation to avoid being leaked
public record TaskUpdateRequest(SessionRepresentation session, Map<String,String> extraCredentials, io.opentelemetry.api.trace.Span stageSpan, Optional<PlanFragment> fragment, List<SplitAssignment> splitAssignments, OutputBuffers outputIds, Map<DynamicFilterId,Domain> dynamicFilterDomains, Optional<io.airlift.slice.Slice> exchangeEncryptionKey, boolean speculative)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionTaskUpdateRequest(SessionRepresentation session, Map<String, String> extraCredentials, io.opentelemetry.api.trace.Span stageSpan, Optional<PlanFragment> fragment, List<SplitAssignment> splitAssignments, OutputBuffers outputIds, Map<DynamicFilterId, Domain> dynamicFilterDomains, Optional<io.airlift.slice.Slice> exchangeEncryptionKey, boolean speculative) Creates an instance of aTaskUpdateRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedynamicFilterDomainsrecord component.final booleanIndicates whether some other object is "equal to" this one.Optional<io.airlift.slice.Slice> Returns the value of theexchangeEncryptionKeyrecord component.Returns the value of theextraCredentialsrecord component.fragment()Returns the value of thefragmentrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theoutputIdsrecord component.session()Returns the value of thesessionrecord component.booleanReturns the value of thespeculativerecord component.Returns the value of thesplitAssignmentsrecord component.io.opentelemetry.api.trace.SpanReturns the value of thestageSpanrecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
TaskUpdateRequest
public TaskUpdateRequest(SessionRepresentation session, Map<String, String> extraCredentials, io.opentelemetry.api.trace.Span stageSpan, Optional<PlanFragment> fragment, List<SplitAssignment> splitAssignments, OutputBuffers outputIds, Map<DynamicFilterId, Domain> dynamicFilterDomains, Optional<io.airlift.slice.Slice> exchangeEncryptionKey, boolean speculative) Creates an instance of aTaskUpdateRequestrecord class.- Parameters:
session- the value for thesessionrecord componentextraCredentials- the value for theextraCredentialsrecord componentstageSpan- the value for thestageSpanrecord componentfragment- the value for thefragmentrecord componentsplitAssignments- the value for thesplitAssignmentsrecord componentoutputIds- the value for theoutputIdsrecord componentdynamicFilterDomains- the value for thedynamicFilterDomainsrecord componentexchangeEncryptionKey- the value for theexchangeEncryptionKeyrecord componentspeculative- the value for thespeculativerecord component
-
-
Method Details
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
session
Returns the value of thesessionrecord component.- Returns:
- the value of the
sessionrecord component
-
extraCredentials
Returns the value of theextraCredentialsrecord component.- Returns:
- the value of the
extraCredentialsrecord component
-
stageSpan
public io.opentelemetry.api.trace.Span stageSpan()Returns the value of thestageSpanrecord component.- Returns:
- the value of the
stageSpanrecord component
-
fragment
Returns the value of thefragmentrecord component.- Returns:
- the value of the
fragmentrecord component
-
splitAssignments
Returns the value of thesplitAssignmentsrecord component.- Returns:
- the value of the
splitAssignmentsrecord component
-
outputIds
Returns the value of theoutputIdsrecord component.- Returns:
- the value of the
outputIdsrecord component
-
dynamicFilterDomains
Returns the value of thedynamicFilterDomainsrecord component.- Returns:
- the value of the
dynamicFilterDomainsrecord component
-
exchangeEncryptionKey
Returns the value of theexchangeEncryptionKeyrecord component.- Returns:
- the value of the
exchangeEncryptionKeyrecord component
-
speculative
public boolean speculative()Returns the value of thespeculativerecord component.- Returns:
- the value of the
speculativerecord component
-