public class EncryptedFileSegmentInputStream extends FileSegmentInputStream implements FileDataInput, java.io.DataInput
Modifier and Type | Class and Description |
---|---|
static interface |
EncryptedFileSegmentInputStream.ChunkProvider |
DataInputPlus.DataInputStreamPlus
buffer
Constructor and Description |
---|
EncryptedFileSegmentInputStream(java.lang.String filePath,
long segmentOffset,
int position,
int expectedLength,
EncryptedFileSegmentInputStream.ChunkProvider chunkProvider) |
Modifier and Type | Method and Description |
---|---|
long |
bytesPastMark(DataPosition mark) |
long |
bytesRemaining() |
long |
getFilePointer() |
boolean |
isEOF() |
void |
reBuffer()
Implementations must implement this method to refill the buffer.
|
void |
seek(long position) |
getPath, mark, markSupported, reset
available, close
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readFully, readInt, readLine, readLong, readPrimitiveSlowly, readShort, readUnsignedByte, readUnsignedShort, readUnsignedVInt, readUTF, readVInt, skipBytes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPath
mark, reset
readUnsignedVInt, readVInt, skipBytes, skipBytesFully
public EncryptedFileSegmentInputStream(java.lang.String filePath, long segmentOffset, int position, int expectedLength, EncryptedFileSegmentInputStream.ChunkProvider chunkProvider)
public long getFilePointer()
getFilePointer
in interface FileDataInput
getFilePointer
in class FileSegmentInputStream
public boolean isEOF()
isEOF
in interface FileDataInput
isEOF
in class FileSegmentInputStream
public long bytesRemaining()
bytesRemaining
in interface FileDataInput
bytesRemaining
in class FileSegmentInputStream
public void seek(long position)
seek
in interface FileDataInput
seek
in class FileSegmentInputStream
public long bytesPastMark(DataPosition mark)
bytesPastMark
in interface RewindableDataInput
bytesPastMark
in class FileSegmentInputStream
public void reBuffer()
RebufferingInputStream
reBuffer
in class DataInputBuffer
Copyright © 2009-2021 The Apache Software Foundation