Class SegmentFileBuilderV10

java.lang.Object
org.apache.druid.segment.file.SegmentFileBuilderV10
All Implemented Interfaces:
Closeable, AutoCloseable, SegmentFileBuilder

public class SegmentFileBuilderV10 extends Object implements SegmentFileBuilder
SegmentFileBuilder for V10 format segments. Right now, this uses a FileSmoosher underneath to build V9 smoosh files and collect the metadata about the offsets in those containers, and then appends them into the V10 consolidated segment file after the header and SegmentFileMetadata is written.

V10 file format: | version (byte) | meta compression (byte) | meta length (int) | meta json | container 0 | ... | container n |