public class HiveEncryptionInformationProvider extends Object
| Constructor and Description |
|---|
HiveEncryptionInformationProvider(Set<EncryptionInformationSource> sources) |
| Modifier and Type | Method and Description |
|---|---|
Optional<EncryptionInformation> |
getReadEncryptionInformation(ConnectorSession session,
Table table,
Optional<Set<HiveColumnHandle>> requestedColumns) |
Optional<Map<String,EncryptionInformation>> |
getReadEncryptionInformation(ConnectorSession session,
Table table,
Optional<Set<HiveColumnHandle>> requestedColumns,
Map<String,Partition> partitions) |
Optional<EncryptionInformation> |
getWriteEncryptionInformation(ConnectorSession session,
Optional<TableEncryptionProperties> tableEncryptionProperties,
String dbName,
String tableName) |
@Inject public HiveEncryptionInformationProvider(Set<EncryptionInformationSource> sources)
public Optional<Map<String,EncryptionInformation>> getReadEncryptionInformation(ConnectorSession session, Table table, Optional<Set<HiveColumnHandle>> requestedColumns, Map<String,Partition> partitions)
public Optional<EncryptionInformation> getReadEncryptionInformation(ConnectorSession session, Table table, Optional<Set<HiveColumnHandle>> requestedColumns)
public Optional<EncryptionInformation> getWriteEncryptionInformation(ConnectorSession session, Optional<TableEncryptionProperties> tableEncryptionProperties, String dbName, String tableName)
Copyright © 2012–2023. All rights reserved.