Package io.trino.operator.exchange
Class LocalExchange
java.lang.Object
io.trino.operator.exchange.LocalExchange
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Constructor Summary
ConstructorsConstructorDescriptionLocalExchange(NodePartitioningManager nodePartitioningManager, Session session, int sinkFactoryCount, int bufferCount, PartitioningHandle partitioning, List<Integer> partitionChannels, List<Type> partitionChannelTypes, Optional<Integer> partitionHashChannel, io.airlift.units.DataSize maxBufferedBytes, BlockTypeOperators blockTypeOperators) -
Method Summary
Modifier and TypeMethodDescriptionintlong
-
Constructor Details
-
LocalExchange
public LocalExchange(NodePartitioningManager nodePartitioningManager, Session session, int sinkFactoryCount, int bufferCount, PartitioningHandle partitioning, List<Integer> partitionChannels, List<Type> partitionChannelTypes, Optional<Integer> partitionHashChannel, io.airlift.units.DataSize maxBufferedBytes, BlockTypeOperators blockTypeOperators)
-
-
Method Details
-
getBufferCount
public int getBufferCount() -
getBufferedBytes
public long getBufferedBytes() -
createSinkFactory
-
getSinkFactory
public LocalExchange.LocalExchangeSinkFactory getSinkFactory(LocalExchange.LocalExchangeSinkFactoryId id) -
getNextSource
-