Package io.trino.operator
Class DirectExchangeClientStatus
- java.lang.Object
-
- io.trino.operator.DirectExchangeClientStatus
-
- All Implemented Interfaces:
OperatorInfo,Mergeable<DirectExchangeClientStatus>
public class DirectExchangeClientStatus extends Object implements Mergeable<DirectExchangeClientStatus>, OperatorInfo
-
-
Constructor Summary
Constructors Constructor Description DirectExchangeClientStatus(long bufferedBytes, long maxBufferedBytes, long averageBytesPerRequest, long successFullRequestsCount, int bufferedPages, int spilledPages, long spilledBytes, boolean noMoreLocations, List<PageBufferClientStatus> pageBufferClientStatuses)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetAverageBytesPerRequest()longgetBufferedBytes()intgetBufferedPages()longgetMaxBufferedBytes()List<PageBufferClientStatus>getPageBufferClientStatuses()longgetSpilledBytes()intgetSpilledPages()longgetSuccessfulRequestsCount()booleanisFinal()booleanisNoMoreLocations()DirectExchangeClientStatusmergeWith(DirectExchangeClientStatus other)StringtoString()
-
-
-
Constructor Detail
-
DirectExchangeClientStatus
public DirectExchangeClientStatus(long bufferedBytes, long maxBufferedBytes, long averageBytesPerRequest, long successFullRequestsCount, int bufferedPages, int spilledPages, long spilledBytes, boolean noMoreLocations, List<PageBufferClientStatus> pageBufferClientStatuses)
-
-
Method Detail
-
getBufferedBytes
public long getBufferedBytes()
-
getMaxBufferedBytes
public long getMaxBufferedBytes()
-
getAverageBytesPerRequest
public long getAverageBytesPerRequest()
-
getSuccessfulRequestsCount
public long getSuccessfulRequestsCount()
-
getBufferedPages
public int getBufferedPages()
-
getSpilledPages
public int getSpilledPages()
-
getSpilledBytes
public long getSpilledBytes()
-
isNoMoreLocations
public boolean isNoMoreLocations()
-
getPageBufferClientStatuses
public List<PageBufferClientStatus> getPageBufferClientStatuses()
-
isFinal
public boolean isFinal()
- Specified by:
isFinalin interfaceOperatorInfo- 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).
-
mergeWith
public DirectExchangeClientStatus mergeWith(DirectExchangeClientStatus other)
- Specified by:
mergeWithin interfaceMergeable<DirectExchangeClientStatus>
-
-