public static interface HoodieLogFormat.Writer extends Closeable
| Modifier and Type | Method and Description |
|---|---|
AppendResult |
appendBlock(HoodieLogBlock block)
Append Block to a log file.
|
AppendResult |
appendBlocks(List<HoodieLogBlock> blocks)
Appends the list of blocks to a logfile.
|
long |
getCurrentSize() |
HoodieLogFile |
getLogFile() |
HoodieLogFile getLogFile()
HoodieLogFile being written to.AppendResult appendBlock(HoodieLogBlock block) throws IOException, InterruptedException
AppendResult containing result of the append.IOExceptionInterruptedExceptionAppendResult appendBlocks(List<HoodieLogBlock> blocks) throws IOException, InterruptedException
AppendResult containing result of the append.IOExceptionInterruptedExceptionlong getCurrentSize()
throws IOException
IOExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.