Package io.trino.sql.planner
Class MergePartitioningHandle
java.lang.Object
io.trino.sql.planner.MergePartitioningHandle
- All Implemented Interfaces:
ConnectorPartitioningHandle
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface -
Constructor Summary
ConstructorsConstructorDescriptionMergePartitioningHandle(Optional<PartitioningScheme> insertPartitioning, Optional<PartitioningScheme> updatePartitioning) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetFaultTolerantPartitioningScheme(Function<PartitioningHandle, FaultTolerantPartitioningScheme> getScheme) getPartitionFunction(MergePartitioningHandle.PartitionFunctionLookup partitionFunctionLookup, List<Type> types, int[] bucketToPartition) inthashCode()toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.trino.spi.connector.ConnectorPartitioningHandle
isCoordinatorOnly, isSingleNode
-
Constructor Details
-
MergePartitioningHandle
public MergePartitioningHandle(Optional<PartitioningScheme> insertPartitioning, Optional<PartitioningScheme> updatePartitioning)
-
-
Method Details
-
getInsertPartitioning
-
getUpdatePartitioning
-
equals
-
hashCode
public int hashCode() -
toString
-
getNodePartitioningMap
public NodePartitionMap getNodePartitioningMap(Function<PartitioningHandle, NodePartitionMap> getMap) -
getFaultTolerantPartitioningScheme
public FaultTolerantPartitioningScheme getFaultTolerantPartitioningScheme(Function<PartitioningHandle, FaultTolerantPartitioningScheme> getScheme) -
getPartitionFunction
public PartitionFunction getPartitionFunction(MergePartitioningHandle.PartitionFunctionLookup partitionFunctionLookup, List<Type> types, int[] bucketToPartition)
-