public class FirstRowMergeFunctionWrapper extends Object implements MergeFunctionWrapper<ChangelogResult>
MergeFunction
s to produce changelog by lookup for first row.Constructor and Description |
---|
FirstRowMergeFunctionWrapper(MergeFunctionFactory<KeyValue> mergeFunctionFactory,
Filter<InternalRow> contains) |
Modifier and Type | Method and Description |
---|---|
void |
add(KeyValue kv) |
ChangelogResult |
getResult() |
void |
reset() |
public FirstRowMergeFunctionWrapper(MergeFunctionFactory<KeyValue> mergeFunctionFactory, Filter<InternalRow> contains)
public void reset()
reset
in interface MergeFunctionWrapper<ChangelogResult>
public void add(KeyValue kv)
add
in interface MergeFunctionWrapper<ChangelogResult>
public ChangelogResult getResult()
getResult
in interface MergeFunctionWrapper<ChangelogResult>
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.