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, toString
public final CompressionMetadata metadata
public CompressedSegmentedFile(java.lang.String path, CompressionMetadata metadata)
public FileDataInput getSegment(long position)
getSegment
in class SegmentedFile
public CompressionMetadata getMetadata()
getMetadata
in interface ICompressedFile
public void cleanup()
SegmentedFile
cleanup
in class SegmentedFile
Copyright © 2015 The Apache Software Foundation