public class ReaderEncryptionVariant extends Object implements EncryptionVariant
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(@NotNull EncryptionVariant other) |
boolean |
equals(Object other) |
Key |
getFileFooterKey()
Get the local key for the footer.
|
ReaderEncryptionKey |
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.
|
List<StripeStatistics> |
getStripeStatistics(boolean[] columns,
InStream.StreamOptions compression,
ReaderImpl reader)
Decrypt the raw data and return the list of the stripe statistics for this
variant.
|
long |
getStripeStatisticsLength() |
int |
getVariantId()
Get the encryption variant id within the file.
|
int |
hashCode() |
public ReaderEncryptionKey getKeyDescription()
EncryptionVariantgetKeyDescription in interface EncryptionVariantpublic TypeDescription getRoot()
EncryptionVariantgetRoot in interface EncryptionVariantpublic int getVariantId()
EncryptionVariantgetVariantId in interface EncryptionVariantpublic Key getFileFooterKey() throws IOException
EncryptionVariantgetFileFooterKey in interface EncryptionVariantIOExceptionpublic Key getStripeKey(long stripe) throws IOException
EncryptionVariantgetStripeKey in interface EncryptionVariantstripe - the stripe within the file (0 to N-1)IOExceptionpublic int compareTo(@NotNull
@NotNull EncryptionVariant other)
compareTo in interface Comparable<EncryptionVariant>public long getStripeStatisticsLength()
public List<StripeStatistics> getStripeStatistics(boolean[] columns, InStream.StreamOptions compression, ReaderImpl reader) throws IOException
columns - true for the columns that should be includedcompression - the compression optionsIOExceptionCopyright © 2013–2021 The Apache Software Foundation. All rights reserved.