Class ExchangeClientStatus

java.lang.Object
io.trino.operator.ExchangeClientStatus
All Implemented Interfaces:
OperatorInfo, Mergeable<ExchangeClientStatus>

public class ExchangeClientStatus extends Object implements Mergeable<ExchangeClientStatus>, OperatorInfo
  • Constructor Details

    • ExchangeClientStatus

      public ExchangeClientStatus(long bufferedBytes, long maxBufferedBytes, long averageBytesPerRequest, long successFullRequestsCount, int bufferedPages, boolean noMoreLocations, List<PageBufferClientStatus> pageBufferClientStatuses)
  • Method Details

    • getBufferedBytes

      public long getBufferedBytes()
    • getMaxBufferedBytes

      public long getMaxBufferedBytes()
    • getAverageBytesPerRequest

      public long getAverageBytesPerRequest()
    • getSuccessfulRequestsCount

      public long getSuccessfulRequestsCount()
    • getBufferedPages

      public int getBufferedPages()
    • isNoMoreLocations

      public boolean isNoMoreLocations()
    • getPageBufferClientStatuses

      public List<PageBufferClientStatus> getPageBufferClientStatuses()
    • isFinal

      public boolean isFinal()
      Specified by:
      isFinal in interface OperatorInfo
      Returns:
      true if this OperatorInfo should be collected and sent to the coordinator when the task completes (i.e. it will not be stripped away during summarization).
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • mergeWith

      public ExchangeClientStatus mergeWith(ExchangeClientStatus other)
      Specified by:
      mergeWith in interface Mergeable<ExchangeClientStatus>