Package org.apache.orc.impl
Class InStream.EncryptedStream
java.lang.Object
java.io.InputStream
org.apache.orc.impl.InStream
org.apache.orc.impl.InStream.UncompressedStream
org.apache.orc.impl.InStream.EncryptedStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Enclosing class:
- InStream
Implements a stream over an encrypted, but uncompressed stream.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.orc.impl.InStream
InStream.CompressedStream, InStream.EncryptedStream, InStream.StreamOptions, InStream.UncompressedStream
-
Field Summary
Fields inherited from class org.apache.orc.impl.InStream.UncompressedStream
currentOffset, currentRange, decrypted
-
Constructor Summary
ConstructorDescriptionEncryptedStream
(Object name, org.apache.hadoop.hive.common.io.DiskRangeList input, long offset, long length, InStream.StreamOptions options) -
Method Summary
Methods inherited from class org.apache.orc.impl.InStream.UncompressedStream
available, read, read, seek, seek
Methods inherited from class org.apache.orc.impl.InStream
create, create, createCodedInputStream, options, reset, reset
Methods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
EncryptedStream
public EncryptedStream(Object name, org.apache.hadoop.hive.common.io.DiskRangeList input, long offset, long length, InStream.StreamOptions options)
-
-
Method Details
-
setCurrent
protected void setCurrent(org.apache.hadoop.hive.common.io.DiskRangeList newRange, boolean isJump) Description copied from class:InStream
Set the current range- Overrides:
setCurrent
in classInStream.UncompressedStream
- Parameters:
newRange
- the block that is currentisJump
- if this was a seek instead of a natural read
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classInStream.UncompressedStream
-
changeIv
- Overrides:
changeIv
in classInStream.UncompressedStream
-
toString
- Overrides:
toString
in classInStream.UncompressedStream
-