Interface UnfilteredPartitionIterators.MergeListener
- All Known Implementing Classes:
PartitionIteratorMergeListener
- Enclosing class:
- UnfilteredPartitionIterators
public static interface UnfilteredPartitionIterators.MergeListener
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault voidclose()getRowMergeListener(DecoratedKey partitionKey, List<UnfilteredRowIterator> versions) default booleanReturns true if the merger needs to preserve the position of sources within the merge when passing data to the listener.
-
Field Details
-
NOOP
-
-
Method Details
-
preserveOrder
default boolean preserveOrder()Returns true if the merger needs to preserve the position of sources within the merge when passing data to the listener. If false, the merger can avoid creating empty sources for non-present partitions and significantly speed up processing.- Returns:
- True to preserve position of source iterators.
-
getRowMergeListener
UnfilteredRowIterators.MergeListener getRowMergeListener(DecoratedKey partitionKey, List<UnfilteredRowIterator> versions) -
close
default void close()
-