public class CompressedSegmentedFile extends SegmentedFile implements ICompressedFile
| 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.
|
CompressionMetadata |
getMetadata() |
FileDataInput |
getSegment(long position) |
getBuilder, getCompressedBuilder, iterator, toStringpublic final CompressionMetadata metadata
public CompressedSegmentedFile(java.lang.String path,
CompressionMetadata metadata)
public FileDataInput getSegment(long position)
getSegment in class SegmentedFilepublic CompressionMetadata getMetadata()
getMetadata in interface ICompressedFilepublic void cleanup()
SegmentedFilecleanup in class SegmentedFileCopyright © 2015 The Apache Software Foundation