public class EncryptedChecksummedDataInput extends ChecksummedDataInput
Modifier and Type | Class and Description |
---|---|
static class |
EncryptedChecksummedDataInput.Builder |
RandomAccessReader.BufferedRandomAccessFileMark, RandomAccessReader.RandomAccessReaderWithOwnChannel
DataInputPlus.DataInputStreamPlus
bufferOffset, bufferSize, bufferType, channel, DEFAULT_BUFFER_SIZE, limiter, markedPointer, MAX_BUFFER_SIZE, regions
buffer
Modifier | Constructor and Description |
---|---|
protected |
EncryptedChecksummedDataInput(EncryptedChecksummedDataInput.Builder builder) |
Modifier and Type | Method and Description |
---|---|
boolean |
isEOF()
Since an entire block of compressed data is read off of disk, not just a hint at a time,
we don't report EOF until the decompressed data has also been read completely
|
protected void |
reBufferStandard() |
static ChecksummedDataInput |
upgradeInput(ChecksummedDataInput input,
javax.crypto.Cipher cipher,
ICompressor compressor) |
bytesPastLimit, checkCrc, checkLimit, limit, open, read, readFully, reBuffer, releaseBuffer, resetCrc, resetLimit
close
allocateBuffer, available, bytesPastMark, bytesPastMark, bytesRemaining, current, getChannel, getFilePointer, getPath, getPosition, length, mark, markSupported, open, readLine, reBufferMmap, reset, reset, seek, toString
read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readInt, readLong, readPrimitiveSlowly, readShort, readUnsignedByte, readUnsignedShort, readUnsignedVInt, readUTF, readVInt, skipBytes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
readUnsignedVInt, readVInt, skipBytes, skipBytesFully
protected EncryptedChecksummedDataInput(EncryptedChecksummedDataInput.Builder builder)
public boolean isEOF()
isEOF
in interface FileDataInput
isEOF
in class RandomAccessReader
protected void reBufferStandard()
reBufferStandard
in class RandomAccessReader
public static ChecksummedDataInput upgradeInput(ChecksummedDataInput input, javax.crypto.Cipher cipher, ICompressor compressor)
Copyright © 2016 The Apache Software Foundation