public static class CompressedSegmentedFile.Builder extends SegmentedFile.Builder
Constructor and Description |
---|
Builder(CompressedSequentialWriter writer) |
Modifier and Type | Method and Description |
---|---|
SegmentedFile |
complete(ChannelProxy channel,
int bufferSize,
long overrideLength)
Called after all potential boundaries have been added to apply this Builder to a concrete file on disk.
|
protected CompressionMetadata |
metadata(java.lang.String path,
long overrideLength) |
buildData, buildData, buildIndex, buildIndex, close, close, deserializeBounds, serializeBounds
public Builder(CompressedSequentialWriter writer)
protected CompressionMetadata metadata(java.lang.String path, long overrideLength)
public SegmentedFile complete(ChannelProxy channel, int bufferSize, long overrideLength)
SegmentedFile.Builder
complete
in class SegmentedFile.Builder
channel
- The channel to the file on disk.Copyright © 2015 The Apache Software Foundation