protected static class StreamWriteFunction.DataBucket extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
preWrite(List<HoodieRecord> records)
Sets up before flush: patch up the first record with correct partition path and fileID.
|
void |
reset() |
List<HoodieRecord> |
writeBuffer()
Prepare the write data buffer: patch up all the records with correct partition path.
|
public List<HoodieRecord> writeBuffer()
public void preWrite(List<HoodieRecord> records)
Note: the method may modify the given records records.
public void reset()
Copyright © 2023 The Apache Software Foundation. All rights reserved.