Package io.prestosql.util
Interface Mergeable<T>
-
- All Known Implementing Classes:
ExchangeClientStatus
,HashCollisionPlanNodeStats
,HashCollisionsInfo
,JoinOperatorInfo
,LocalExchangeBufferInfo
,PartitionedOutputOperator.PartitionedOutputInfo
,PlanNodeStats
,TableWriterOperator.TableWriterInfo
,WindowInfo
,WindowPlanNodeStats
public interface Mergeable<T>
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static <T extends Mergeable<T>>
Optional<T>merge(Optional<T> first, Optional<T> second)
T
mergeWith(T other)
Merges the current state with the state of the other instance, and returns the merged state.
-