public class WriterEncryptionVariant extends Object implements EncryptionVariant
| Constructor and Description |
|---|
WriterEncryptionVariant(WriterEncryptionKey key,
TypeDescription root,
LocalKey columnKey) |
| Modifier and Type | Method and Description |
|---|---|
void |
addEncoding(OrcProto.ColumnEncoding encoding) |
void |
clearEncodings() |
void |
clearFileStatistics() |
int |
compareTo(@NotNull EncryptionVariant other) |
boolean |
equals(Object other) |
List<OrcProto.ColumnEncoding> |
getEncodings() |
Key |
getFileFooterKey()
Get the local key for the footer.
|
OrcProto.FileStatistics |
getFileStatistics() |
WriterEncryptionKey |
getKeyDescription()
Get the key description for this column.
|
LocalKey |
getMaterial() |
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.
|
int |
hashCode() |
void |
setId(int id) |
public WriterEncryptionVariant(WriterEncryptionKey key, TypeDescription root, LocalKey columnKey)
public WriterEncryptionKey getKeyDescription()
EncryptionVariantgetKeyDescription in interface EncryptionVariantpublic TypeDescription getRoot()
EncryptionVariantgetRoot in interface EncryptionVariantpublic void setId(int id)
public int getVariantId()
EncryptionVariantgetVariantId in interface EncryptionVariantpublic Key getFileFooterKey()
EncryptionVariantgetFileFooterKey in interface EncryptionVariantpublic Key getStripeKey(long stripe)
EncryptionVariantgetStripeKey in interface EncryptionVariantstripe - the stripe within the file (0 to N-1)public LocalKey getMaterial()
public void clearFileStatistics()
public OrcProto.FileStatistics getFileStatistics()
public void addEncoding(OrcProto.ColumnEncoding encoding)
public List<OrcProto.ColumnEncoding> getEncodings()
public void clearEncodings()
public int compareTo(@NotNull
@NotNull EncryptionVariant other)
compareTo in interface Comparable<EncryptionVariant>Copyright © 2013–2022 The Apache Software Foundation. All rights reserved.