public class SkipNewExistingProcessor extends Object implements ExistingProcessor
ExistingProcessor
to skip new record.ExistingProcessor.SortOrder
Constructor and Description |
---|
SkipNewExistingProcessor(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 SkipNewExistingProcessor(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.