public interface HoodieLogFormat
| Modifier and Type | Interface and Description |
|---|---|
static class |
HoodieLogFormat.LogFormatVersion
A set of feature flags associated with a log format.
|
static interface |
HoodieLogFormat.Reader
Reader interface which is an Iterator of HoodieLogBlock.
|
static interface |
HoodieLogFormat.Writer
Writer interface to allow appending block to this file format.
|
static class |
HoodieLogFormat.WriterBuilder
Builder class to construct the default log format writer.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
CURRENT_VERSION
The current version of the log format.
|
static String |
DEFAULT_LOG_FORMAT_WRITER |
static String |
DEFAULT_WRITE_TOKEN |
static byte[] |
MAGIC
Magic 6 bytes we put at the start of every block in the log file.
|
static String |
UNKNOWN_WRITE_TOKEN |
| Modifier and Type | Method and Description |
|---|---|
static HoodieLogFormat.Reader |
newReader(HoodieStorage storage,
HoodieLogFile logFile,
org.apache.avro.Schema readerSchema) |
static HoodieLogFormat.Reader |
newReader(HoodieStorage storage,
HoodieLogFile logFile,
org.apache.avro.Schema readerSchema,
boolean reverseReader) |
static HoodieLogFormat.WriterBuilder |
newWriterBuilder() |
static final byte[] MAGIC
static final int CURRENT_VERSION
HoodieLogFormatVersionstatic final String UNKNOWN_WRITE_TOKEN
static final String DEFAULT_WRITE_TOKEN
static final String DEFAULT_LOG_FORMAT_WRITER
static HoodieLogFormat.WriterBuilder newWriterBuilder()
static HoodieLogFormat.Reader newReader(HoodieStorage storage, HoodieLogFile logFile, org.apache.avro.Schema readerSchema) throws IOException
IOExceptionstatic HoodieLogFormat.Reader newReader(HoodieStorage storage, HoodieLogFile logFile, org.apache.avro.Schema readerSchema, boolean reverseReader) throws IOException
IOExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.