public interface BulkInsertPartitioner<I>
| Modifier and Type | Method and Description |
|---|---|
boolean |
arePartitionRecordsSorted() |
I |
repartitionRecords(I records,
int outputSparkPartitions)
Repartitions the input records into at least expected number of output spark partitions.
|
I repartitionRecords(I records, int outputSparkPartitions)
records - Input Hoodie recordsoutputSparkPartitions - Expected number of output partitionsboolean arePartitionRecordsSorted()
true if the records within a partition are sorted; false otherwise.Copyright © 2022 The Apache Software Foundation. All rights reserved.