public class EncryptedFileSegmentInputStream extends FileSegmentInputStream implements FileDataInput, java.io.DataInput
| Modifier and Type | Class and Description |
|---|---|
static interface |
EncryptedFileSegmentInputStream.ChunkProvider |
DataInputPlus.DataInputStreamPlusbuffer| 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, resetavailableread, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readPrimitiveSlowly, readShort, readUnsignedByte, readUnsignedShort, readUnsignedVInt, readUTF, readVInt, skipBytesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPathmark, resetreadUnsignedVInt, readVInt, skipBytes, skipBytesFullypublic EncryptedFileSegmentInputStream(java.lang.String filePath,
long segmentOffset,
int position,
int expectedLength,
EncryptedFileSegmentInputStream.ChunkProvider chunkProvider)
public long getFilePointer()
getFilePointer in interface FileDataInputgetFilePointer in class FileSegmentInputStreampublic boolean isEOF()
isEOF in interface FileDataInputisEOF in class FileSegmentInputStreampublic long bytesRemaining()
bytesRemaining in interface FileDataInputbytesRemaining in class FileSegmentInputStreampublic void seek(long position)
seek in interface FileDataInputseek in class FileSegmentInputStreampublic long bytesPastMark(DataPosition mark)
bytesPastMark in interface RewindableDataInputbytesPastMark in class FileSegmentInputStreampublic void reBuffer()
RebufferingInputStreamreBuffer in class DataInputBufferCopyright © 2018 The Apache Software Foundation