public abstract class HiveMultiPartitionAuthorizationProviderBase extends HiveAuthorizationProviderBase
HiveAuthorizationProviderBase.HiveProxy
authenticator, hive_db, LOG
Constructor and Description |
---|
HiveMultiPartitionAuthorizationProviderBase() |
Modifier and Type | Method and Description |
---|---|
abstract void |
authorize(Table table,
Iterable<Partition> partitions,
Privilege[] requiredReadPrivileges,
Privilege[] requiredWritePrivileges)
Authorization method for partition sets.
|
getAuthenticator, getConf, setAuthenticator, setConf
public HiveMultiPartitionAuthorizationProviderBase()
public abstract void authorize(Table table, Iterable<Partition> partitions, Privilege[] requiredReadPrivileges, Privilege[] requiredWritePrivileges) throws HiveException, AuthorizationException
table
- The table in questionpartitions
- An Iterable representing the partition-setrequiredReadPrivileges
- Read-privileges requiredrequiredWritePrivileges
- Write-privileges requiredHiveException
AuthorizationException
Copyright © 2017 The Apache Software Foundation. All rights reserved.