public interface ExistingProcessor
Modifier and Type | Interface and Description |
---|---|
static class |
ExistingProcessor.SortOrder
Input Order for sorting.
|
boolean processExists(InternalRow newRow, BinaryRow previousPart, int previousBucket)
void bulkLoadNewRecords(java.util.function.Function<ExistingProcessor.SortOrder,RowIterator> iteratorFunction, java.util.function.Function<InternalRow,BinaryRow> extractPrimary, java.util.function.Function<InternalRow,BinaryRow> extractPartition, java.util.function.Function<BinaryRow,Integer> assignBucket)
static void bulkLoadCollectFirst(java.util.function.BiConsumer<InternalRow,Integer> collector, RowIterator iterator, java.util.function.Function<InternalRow,BinaryRow> extractPrimary, java.util.function.Function<InternalRow,BinaryRow> extractPartition, java.util.function.Function<BinaryRow,Integer> assignBucket)
static ExistingProcessor create(CoreOptions.MergeEngine mergeEngine, ProjectToRowFunction setPartition, BucketAssigner bucketAssigner, java.util.function.BiConsumer<InternalRow,Integer> collector)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.