Package io.prestosql.operator.exchange
Class LocalExchange.LocalExchangeFactory
- java.lang.Object
-
- io.prestosql.operator.exchange.LocalExchange.LocalExchangeFactory
-
- Enclosing class:
- LocalExchange
@ThreadSafe public static class LocalExchange.LocalExchangeFactory extends Object
-
-
Constructor Summary
Constructors Constructor Description LocalExchangeFactory(PartitioningHandle partitioning, int defaultConcurrency, List<Type> types, List<Integer> partitionChannels, Optional<Integer> partitionHashChannel, PipelineExecutionStrategy exchangeSourcePipelineExecutionStrategy, io.airlift.units.DataSize maxBufferedBytes, BlockTypeOperators blockTypeOperators)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
closeSinks(LocalExchange.LocalExchangeSinkFactoryId sinkFactoryId)
int
getBufferCount()
LocalExchange
getLocalExchange(Lifespan lifespan)
LocalExchange.LocalExchangeSinkFactoryId
newSinkFactoryId()
void
noMoreSinkFactories()
-
-
-
Constructor Detail
-
LocalExchangeFactory
public LocalExchangeFactory(PartitioningHandle partitioning, int defaultConcurrency, List<Type> types, List<Integer> partitionChannels, Optional<Integer> partitionHashChannel, PipelineExecutionStrategy exchangeSourcePipelineExecutionStrategy, io.airlift.units.DataSize maxBufferedBytes, BlockTypeOperators blockTypeOperators)
-
-
Method Detail
-
newSinkFactoryId
public LocalExchange.LocalExchangeSinkFactoryId newSinkFactoryId()
-
noMoreSinkFactories
public void noMoreSinkFactories()
-
getBufferCount
public int getBufferCount()
-
getLocalExchange
public LocalExchange getLocalExchange(Lifespan lifespan)
-
closeSinks
public void closeSinks(LocalExchange.LocalExchangeSinkFactoryId sinkFactoryId)
-
-