Package org.apache.orc.impl.reader
Class ReaderEncryption
java.lang.Object
org.apache.orc.impl.reader.ReaderEncryption
-
Constructor Summary
ConstructorDescriptionReaderEncryption
(OrcProto.Footer footer, TypeDescription schema, long stripeStatisticsOffset, BufferChunk serializedTail, List<StripeInformation> stripes, KeyProvider provider, Configuration conf) -
Method Summary
Modifier and TypeMethodDescriptiongetKeys()
getMasks()
getVariant
(int column) Get the variant for a given column that the user has access to.
-
Constructor Details
-
ReaderEncryption
public ReaderEncryption()
-
-
Method Details
-
getMasks
-
getKeys
-
getVariants
-
getVariant
Get the variant for a given column that the user has access to. If we haven't tried a given key, try to decrypt this variant's footer key to see if the KeyProvider will give it to us. If not, continue to the next variant.- Parameters:
column
- the column id- Returns:
- the encryption variant or null if there isn't one
-