public class DwrfEncryptionMetadata extends Object implements EncryptionMetadata
| Modifier and Type | Field and Description |
|---|---|
static String |
TABLE_IDENTIFIER |
| Constructor and Description |
|---|
DwrfEncryptionMetadata(Map<String,byte[]> fieldToKeyData,
Map<String,String> extraMetadata,
String encryptionAlgorithm,
String encryptionProvider)
Visible only for JSON deserialization.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static DwrfEncryptionMetadata |
forPerField(Map<String,byte[]> fieldToKeyData,
Map<String,String> extraMetadata,
String encryptionAlgorithm,
String encryptionProvider) |
static DwrfEncryptionMetadata |
forTable(byte[] keyData,
Map<String,String> extraMetadata,
String encryptionAlgorithm,
String encryptionProvider) |
String |
getEncryptionAlgorithm() |
String |
getEncryptionProvider() |
Map<String,String> |
getExtraMetadata() |
Map<String,byte[]> |
getFieldToKeyData() |
int |
hashCode() |
Map<Integer,io.airlift.slice.Slice> |
toKeyMap(List<OrcType> types,
List<HiveColumnHandle> physicalColumnHandles) |
Map<Integer,io.airlift.slice.Slice> |
toKeyMap(List<OrcType> types,
Map<String,Integer> columnNamesToHiveIndex) |
public static final String TABLE_IDENTIFIER
public String getEncryptionAlgorithm()
public String getEncryptionProvider()
public static DwrfEncryptionMetadata forTable(byte[] keyData, Map<String,String> extraMetadata, String encryptionAlgorithm, String encryptionProvider)
public static DwrfEncryptionMetadata forPerField(Map<String,byte[]> fieldToKeyData, Map<String,String> extraMetadata, String encryptionAlgorithm, String encryptionProvider)
public Map<Integer,io.airlift.slice.Slice> toKeyMap(List<OrcType> types, List<HiveColumnHandle> physicalColumnHandles)
Copyright © 2012–2023. All rights reserved.