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, serializeBoundspublic Builder(CompressedSequentialWriter writer)
protected CompressionMetadata metadata(java.lang.String path, long overrideLength)
public SegmentedFile complete(ChannelProxy channel, int bufferSize, long overrideLength)
SegmentedFile.Buildercomplete in class SegmentedFile.Builderchannel - The channel to the file on disk.Copyright © 2016 The Apache Software Foundation