public class BufferedSegmentedFile extends SegmentedFile
Modifier and Type | Class and Description |
---|---|
static class |
BufferedSegmentedFile.Builder |
length, onDiskLength, path
Constructor and Description |
---|
BufferedSegmentedFile(java.lang.String path,
long length) |
Modifier and Type | Method and Description |
---|---|
FileDataInput |
getSegment(long position) |
BufferedSegmentedFile |
sharedCopy() |
createReader, createThrottledReader, dropPageCache, getBuilder, getCompressedBuilder, getCompressedBuilder, iterator, toString
close, isCleanedUp
public BufferedSegmentedFile(java.lang.String path, long length)
public FileDataInput getSegment(long position)
getSegment
in class SegmentedFile
public BufferedSegmentedFile sharedCopy()
sharedCopy
in interface SharedCloseable
sharedCopy
in class SegmentedFile
Copyright © 2016 The Apache Software Foundation