public class CompressedSegmentedFile extends SegmentedFile
Modifier and Type | Class and Description |
---|---|
static class |
CompressedSegmentedFile.Builder |
Modifier and Type | Field and Description |
---|---|
CompressionMetadata |
metadata |
length, onDiskLength, path
Constructor and Description |
---|
CompressedSegmentedFile(java.lang.String path,
CompressionMetadata metadata) |
Modifier and Type | Method and Description |
---|---|
void |
cleanup()
Do whatever action is needed to reclaim ressources used by this SegmentedFile.
|
FileDataInput |
getSegment(long position) |
getBuilder, getCompressedBuilder, iterator, toString
public final CompressionMetadata metadata
public CompressedSegmentedFile(java.lang.String path, CompressionMetadata metadata)
public FileDataInput getSegment(long position)
getSegment
in class SegmentedFile
public void cleanup()
SegmentedFile
cleanup
in class SegmentedFile
Copyright © 2013 The Apache Software Foundation