Package io.prestosql.operator.exchange
Class LocalExchangeBufferInfo
- java.lang.Object
-
- io.prestosql.operator.exchange.LocalExchangeBufferInfo
-
- All Implemented Interfaces:
OperatorInfo
,Mergeable<LocalExchangeBufferInfo>
public class LocalExchangeBufferInfo extends Object implements Mergeable<LocalExchangeBufferInfo>, OperatorInfo
-
-
Constructor Summary
Constructors Constructor Description LocalExchangeBufferInfo(long bufferedBytes, int bufferedPages)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getBufferedBytes()
int
getBufferedPages()
LocalExchangeBufferInfo
mergeWith(LocalExchangeBufferInfo other)
Merges the current state with the state of the other instance, and returns the merged state.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.prestosql.operator.OperatorInfo
isFinal
-
-
-
-
Method Detail
-
getBufferedBytes
public long getBufferedBytes()
-
getBufferedPages
public int getBufferedPages()
-
mergeWith
public LocalExchangeBufferInfo mergeWith(LocalExchangeBufferInfo other)
Description copied from interface:Mergeable
Merges the current state with the state of the other instance, and returns the merged state.- Specified by:
mergeWith
in interfaceMergeable<LocalExchangeBufferInfo>
-
-