public static class SplitHelper.SingleKeyUnsplitter extends Object
Constructor and Description |
---|
SingleKeyUnsplitter(FDBRecordContext context,
Tuple key,
Subspace keySplitSubspace,
AsyncIterator<KeyValue> iter,
SplitHelper.SizeInfo sizeInfo) |
Modifier and Type | Method and Description |
---|---|
protected void |
append(KeyValue kv) |
CompletableFuture<com.apple.foundationdb.record.provider.foundationdb.FDBRawRecord> |
run(Executor executor)
Unsplit a record in the database.
|
public SingleKeyUnsplitter(@Nonnull FDBRecordContext context, @Nonnull Tuple key, @Nonnull Subspace keySplitSubspace, @Nonnull AsyncIterator<KeyValue> iter, @Nullable SplitHelper.SizeInfo sizeInfo)
@Nonnull public CompletableFuture<com.apple.foundationdb.record.provider.foundationdb.FDBRawRecord> run(Executor executor)
executor
- the executor to use for running asynchronous codenull
if the underlying iterator has no items or if the KeyValue
is not split
and its value is null