public class UseOldExistingProcessor extends Object implements ExistingProcessor
ExistingProcessor
to use old partition and bucket.ExistingProcessor.SortOrder
Constructor and Description |
---|
UseOldExistingProcessor(ProjectToRowFunction setPartition,
java.util.function.BiConsumer<InternalRow,Integer> collector) |
Modifier and Type | Method and Description |
---|---|
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) |
boolean |
processExists(InternalRow newRow,
BinaryRow previousPart,
int previousBucket) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
bulkLoadCollectFirst, create
public UseOldExistingProcessor(ProjectToRowFunction setPartition, java.util.function.BiConsumer<InternalRow,Integer> collector)
public boolean processExists(InternalRow newRow, BinaryRow previousPart, int previousBucket)
processExists
in interface ExistingProcessor
public 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)
bulkLoadNewRecords
in interface ExistingProcessor
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.