public class ReaderEncryption extends Object
Constructor and Description |
---|
ReaderEncryption() |
ReaderEncryption(OrcProto.Footer footer,
TypeDescription schema,
long stripeStatisticsOffset,
BufferChunk serializedTail,
List<StripeInformation> stripes,
KeyProvider provider,
Configuration conf) |
Modifier and Type | Method and Description |
---|---|
ReaderEncryptionKey[] |
getKeys() |
MaskDescriptionImpl[] |
getMasks() |
ReaderEncryptionVariant |
getVariant(int column)
Get the variant for a given column that the user has access to.
|
ReaderEncryptionVariant[] |
getVariants() |
public ReaderEncryption()
public ReaderEncryption(OrcProto.Footer footer, TypeDescription schema, long stripeStatisticsOffset, BufferChunk serializedTail, List<StripeInformation> stripes, KeyProvider provider, Configuration conf) throws IOException
IOException
public MaskDescriptionImpl[] getMasks()
public ReaderEncryptionKey[] getKeys()
public ReaderEncryptionVariant[] getVariants()
public ReaderEncryptionVariant getVariant(int column)
column
- the column idCopyright © 2013–2023 The Apache Software Foundation. All rights reserved.