public class Operation2Privilege extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Operation2Privilege.IOType |
| Constructor and Description |
|---|
Operation2Privilege() |
| Modifier and Type | Method and Description |
|---|---|
static Set<HiveOperationType> |
getOperationTypes() |
static RequiredPrivileges |
getRequiredPrivs(HiveOperationType hiveOpType,
HivePrivilegeObject hObj,
Operation2Privilege.IOType ioType)
Get the privileges required for this operation (hiveOpType) on hive object (hObj) when its
IOType is ioType.
|
public static RequiredPrivileges getRequiredPrivs(HiveOperationType hiveOpType, HivePrivilegeObject hObj, Operation2Privilege.IOType ioType)
hiveOpType - hObj - ioType - public static Set<HiveOperationType> getOperationTypes()
Copyright © 2017 The Apache Software Foundation. All rights reserved.