public interface EncryptionVariant extends Comparable<EncryptionVariant>
Column encryption is done by encoding multiple variants of the same column. Each encrypted column ends up in two variants:
Modifier and Type | Method and Description |
---|---|
Key |
getFileFooterKey()
Get the local key for the footer.
|
EncryptionKey |
getKeyDescription()
Get the key description for this column.
|
TypeDescription |
getRoot()
Get the root column for this variant.
|
Key |
getStripeKey(long stripe)
Get the local key for a stripe's data or footer.
|
int |
getVariantId()
Get the encryption variant id within the file.
|
compareTo
EncryptionKey getKeyDescription()
TypeDescription getRoot()
int getVariantId()
Key getFileFooterKey() throws IOException
IOException
Key getStripeKey(long stripe) throws IOException
stripe
- the stripe within the file (0 to N-1)IOException
Copyright © 2013–2023 The Apache Software Foundation. All rights reserved.