Package io.trino.operator.exchange
Class ScaleWriterPartitioningExchanger
java.lang.Object
io.trino.operator.exchange.ScaleWriterPartitioningExchanger
- All Implemented Interfaces:
LocalExchanger
-
Field Summary
Fields inherited from interface io.trino.operator.exchange.LocalExchanger
FINISHED -
Constructor Summary
ConstructorsConstructorDescriptionScaleWriterPartitioningExchanger(List<Consumer<Page>> buffers, LocalExchangeMemoryManager memoryManager, long maxBufferedBytes, Function<Page, Page> partitionedPagePreparer, PartitionFunction partitionFunction, int partitionCount, SkewedPartitionRebalancer partitionRebalancer, Supplier<Long> totalMemoryUsed, long maxMemoryPerNode) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.trino.operator.exchange.LocalExchanger
finish
-
Constructor Details
-
ScaleWriterPartitioningExchanger
public ScaleWriterPartitioningExchanger(List<Consumer<Page>> buffers, LocalExchangeMemoryManager memoryManager, long maxBufferedBytes, Function<Page, Page> partitionedPagePreparer, PartitionFunction partitionFunction, int partitionCount, SkewedPartitionRebalancer partitionRebalancer, Supplier<Long> totalMemoryUsed, long maxMemoryPerNode)
-
-
Method Details
-
accept
- Specified by:
acceptin interfaceLocalExchanger
-
waitForWriting
- Specified by:
waitForWritingin interfaceLocalExchanger
-