T - result typepublic interface MergeFunction<T>
KeyValues.
IMPORTANT, Object reusing inside the kv of the add(org.apache.paimon.KeyValue) input:
| Modifier and Type | Method and Description |
|---|---|
void |
add(KeyValue kv)
Add the given
KeyValue to the merge function. |
T |
getResult()
Get current merged value.
|
void |
reset()
Reset the merge function to its default state.
|
Copyright © 2023–2025 The Apache Software Foundation. All rights reserved.