T
- result typepublic interface MergeFunction<T>
KeyValue
s.
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–2024 The Apache Software Foundation. All rights reserved.