Segment Writer Plugin
Overview
SPI Interface
public interface SegmentWriter extends Closeable {
void init(TableConfig tableConfig, Schema schema) throws Exception;
void init(TableConfig tableConfig, Schema schema, Map<String, String> batchConfigOverride)
throws Exception;
void collect(GenericRow row) throws Exception;
default void collect(GenericRow[] rowBatch) throws Exception;
URI flush() throws Exception;
}Key Methods
Method
Description
File-Based Implementation
Configuration
Property
Required
Description
Usage Example
Writing a Custom Segment Writer
Last updated
Was this helpful?

