| Package | Description |
|---|---|
| org.apache.hadoop.hive.metastore | |
| org.apache.hadoop.hive.metastore.api |
| Modifier and Type | Method and Description |
|---|---|
List<PrivilegeGrantInfo> |
ObjectStore.getDBPrivilege(String dbName,
String principalName,
PrincipalType principalType) |
boolean |
HiveMetaStoreClient.grant_role(String roleName,
String userName,
PrincipalType principalType,
String grantor,
PrincipalType grantorType,
boolean grantOption) |
boolean |
IMetaStoreClient.grant_role(String role_name,
String user_name,
PrincipalType principalType,
String grantor,
PrincipalType grantorType,
boolean grantOption) |
boolean |
HiveMetaStore.HMSHandler.grant_role(String roleName,
String principalName,
PrincipalType principalType,
String grantor,
PrincipalType grantorType,
boolean grantOption) |
boolean |
ObjectStore.grantRole(Role role,
String userName,
PrincipalType principalType,
String grantor,
PrincipalType grantorType,
boolean grantOption) |
boolean |
RawStore.grantRole(Role role,
String userName,
PrincipalType principalType,
String grantor,
PrincipalType grantorType,
boolean grantOption) |
List<HiveObjectPrivilege> |
HiveMetaStoreClient.list_privileges(String principalName,
PrincipalType principalType,
HiveObjectRef hiveObject) |
List<HiveObjectPrivilege> |
IMetaStoreClient.list_privileges(String principal_name,
PrincipalType principal_type,
HiveObjectRef hiveObject)
Return the privileges that this principal has directly over the object (not through roles).
|
List<HiveObjectPrivilege> |
HiveMetaStore.HMSHandler.list_privileges(String principalName,
PrincipalType principalType,
HiveObjectRef hiveObject) |
List<Role> |
HiveMetaStoreClient.list_roles(String principalName,
PrincipalType principalType) |
List<Role> |
IMetaStoreClient.list_roles(String principalName,
PrincipalType principalType) |
List<Role> |
HiveMetaStore.HMSHandler.list_roles(String principalName,
PrincipalType principalType) |
List<MTablePrivilege> |
ObjectStore.listAllTableGrants(String principalName,
PrincipalType principalType,
String dbName,
String tableName) |
List<MTablePrivilege> |
RawStore.listAllTableGrants(String principalName,
PrincipalType principalType,
String dbName,
String tableName) |
List<MDBPrivilege> |
ObjectStore.listPrincipalDBGrants(String principalName,
PrincipalType principalType,
String dbName) |
List<MDBPrivilege> |
RawStore.listPrincipalDBGrants(String principalName,
PrincipalType principalType,
String dbName) |
List<HiveObjectPrivilege> |
ObjectStore.listPrincipalDBGrantsAll(String principalName,
PrincipalType principalType) |
List<HiveObjectPrivilege> |
RawStore.listPrincipalDBGrantsAll(String principalName,
PrincipalType principalType) |
List<MGlobalPrivilege> |
ObjectStore.listPrincipalGlobalGrants(String principalName,
PrincipalType principalType) |
List<MGlobalPrivilege> |
RawStore.listPrincipalGlobalGrants(String principalName,
PrincipalType principalType) |
List<MPartitionColumnPrivilege> |
ObjectStore.listPrincipalPartitionColumnGrants(String principalName,
PrincipalType principalType,
String dbName,
String tableName,
String partitionName,
String columnName) |
List<MPartitionColumnPrivilege> |
RawStore.listPrincipalPartitionColumnGrants(String principalName,
PrincipalType principalType,
String dbName,
String tableName,
String partName,
String columnName) |
List<HiveObjectPrivilege> |
ObjectStore.listPrincipalPartitionColumnGrantsAll(String principalName,
PrincipalType principalType) |
List<HiveObjectPrivilege> |
RawStore.listPrincipalPartitionColumnGrantsAll(String principalName,
PrincipalType principalType) |
List<MPartitionPrivilege> |
ObjectStore.listPrincipalPartitionGrants(String principalName,
PrincipalType principalType,
String dbName,
String tableName,
String partName) |
List<MPartitionPrivilege> |
RawStore.listPrincipalPartitionGrants(String principalName,
PrincipalType principalType,
String dbName,
String tableName,
String partName) |
List<HiveObjectPrivilege> |
ObjectStore.listPrincipalPartitionGrantsAll(String principalName,
PrincipalType principalType) |
List<HiveObjectPrivilege> |
RawStore.listPrincipalPartitionGrantsAll(String principalName,
PrincipalType principalType) |
List<MTableColumnPrivilege> |
ObjectStore.listPrincipalTableColumnGrants(String principalName,
PrincipalType principalType,
String dbName,
String tableName,
String columnName) |
List<MTableColumnPrivilege> |
RawStore.listPrincipalTableColumnGrants(String principalName,
PrincipalType principalType,
String dbName,
String tableName,
String columnName) |
List<HiveObjectPrivilege> |
ObjectStore.listPrincipalTableColumnGrantsAll(String principalName,
PrincipalType principalType) |
List<HiveObjectPrivilege> |
RawStore.listPrincipalTableColumnGrantsAll(String principalName,
PrincipalType principalType) |
List<HiveObjectPrivilege> |
ObjectStore.listPrincipalTableGrantsAll(String principalName,
PrincipalType principalType) |
List<HiveObjectPrivilege> |
RawStore.listPrincipalTableGrantsAll(String principalName,
PrincipalType principalType) |
List<MRoleMap> |
ObjectStore.listRoles(String principalName,
PrincipalType principalType) |
List<MRoleMap> |
RawStore.listRoles(String principalName,
PrincipalType principalType) |
boolean |
HiveMetaStore.HMSHandler.revoke_role(String roleName,
String userName,
PrincipalType principalType) |
boolean |
HiveMetaStoreClient.revoke_role(String roleName,
String userName,
PrincipalType principalType,
boolean grantOption) |
boolean |
IMetaStoreClient.revoke_role(String role_name,
String user_name,
PrincipalType principalType,
boolean grantOption) |
boolean |
ObjectStore.revokeRole(Role role,
String userName,
PrincipalType principalType,
boolean grantOption) |
boolean |
RawStore.revokeRole(Role role,
String userName,
PrincipalType principalType,
boolean grantOption) |
| Modifier and Type | Method and Description |
|---|---|
static PrincipalType |
PrincipalType.findByValue(int value)
Find a the enum type by its integer value, as defined in the Thrift IDL.
|
PrincipalType |
RolePrincipalGrant.getGrantorPrincipalType() |
PrincipalType |
PrivilegeGrantInfo.getGrantorType() |
PrincipalType |
GrantRevokeRoleRequest.getGrantorType() |
PrincipalType |
ThriftHiveMetastore.grant_role_args.getGrantorType() |
PrincipalType |
Function.getOwnerType() |
PrincipalType |
Database.getOwnerType() |
PrincipalType |
GetRoleGrantsForPrincipalRequest.getPrincipal_type() |
PrincipalType |
ThriftHiveMetastore.grant_role_args.getPrincipal_type() |
PrincipalType |
ThriftHiveMetastore.revoke_role_args.getPrincipal_type() |
PrincipalType |
ThriftHiveMetastore.list_roles_args.getPrincipal_type() |
PrincipalType |
ThriftHiveMetastore.list_privileges_args.getPrincipal_type() |
PrincipalType |
RolePrincipalGrant.getPrincipalType() |
PrincipalType |
HiveObjectPrivilege.getPrincipalType() |
PrincipalType |
GrantRevokeRoleRequest.getPrincipalType() |
static PrincipalType |
PrincipalType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrincipalType[] |
PrincipalType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ThriftHiveMetastore.Iface.grant_role(String role_name,
String principal_name,
PrincipalType principal_type,
String grantor,
PrincipalType grantorType,
boolean grant_option) |
boolean |
ThriftHiveMetastore.Client.grant_role(String role_name,
String principal_name,
PrincipalType principal_type,
String grantor,
PrincipalType grantorType,
boolean grant_option) |
void |
ThriftHiveMetastore.AsyncIface.grant_role(String role_name,
String principal_name,
PrincipalType principal_type,
String grantor,
PrincipalType grantorType,
boolean grant_option,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.grant_role_call> resultHandler) |
void |
ThriftHiveMetastore.AsyncClient.grant_role(String role_name,
String principal_name,
PrincipalType principal_type,
String grantor,
PrincipalType grantorType,
boolean grant_option,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.grant_role_call> resultHandler) |
List<HiveObjectPrivilege> |
ThriftHiveMetastore.Iface.list_privileges(String principal_name,
PrincipalType principal_type,
HiveObjectRef hiveObject) |
List<HiveObjectPrivilege> |
ThriftHiveMetastore.Client.list_privileges(String principal_name,
PrincipalType principal_type,
HiveObjectRef hiveObject) |
void |
ThriftHiveMetastore.AsyncIface.list_privileges(String principal_name,
PrincipalType principal_type,
HiveObjectRef hiveObject,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.list_privileges_call> resultHandler) |
void |
ThriftHiveMetastore.AsyncClient.list_privileges(String principal_name,
PrincipalType principal_type,
HiveObjectRef hiveObject,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.list_privileges_call> resultHandler) |
List<Role> |
ThriftHiveMetastore.Iface.list_roles(String principal_name,
PrincipalType principal_type) |
List<Role> |
ThriftHiveMetastore.Client.list_roles(String principal_name,
PrincipalType principal_type) |
void |
ThriftHiveMetastore.AsyncIface.list_roles(String principal_name,
PrincipalType principal_type,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.list_roles_call> resultHandler) |
void |
ThriftHiveMetastore.AsyncClient.list_roles(String principal_name,
PrincipalType principal_type,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.list_roles_call> resultHandler) |
boolean |
ThriftHiveMetastore.Iface.revoke_role(String role_name,
String principal_name,
PrincipalType principal_type) |
boolean |
ThriftHiveMetastore.Client.revoke_role(String role_name,
String principal_name,
PrincipalType principal_type) |
void |
ThriftHiveMetastore.AsyncIface.revoke_role(String role_name,
String principal_name,
PrincipalType principal_type,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.revoke_role_call> resultHandler) |
void |
ThriftHiveMetastore.AsyncClient.revoke_role(String role_name,
String principal_name,
PrincipalType principal_type,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.revoke_role_call> resultHandler) |
void |
ThriftHiveMetastore.Client.send_grant_role(String role_name,
String principal_name,
PrincipalType principal_type,
String grantor,
PrincipalType grantorType,
boolean grant_option) |
void |
ThriftHiveMetastore.Client.send_list_privileges(String principal_name,
PrincipalType principal_type,
HiveObjectRef hiveObject) |
void |
ThriftHiveMetastore.Client.send_list_roles(String principal_name,
PrincipalType principal_type) |
void |
ThriftHiveMetastore.Client.send_revoke_role(String role_name,
String principal_name,
PrincipalType principal_type) |
void |
RolePrincipalGrant.setGrantorPrincipalType(PrincipalType grantorPrincipalType) |
void |
PrivilegeGrantInfo.setGrantorType(PrincipalType grantorType) |
void |
GrantRevokeRoleRequest.setGrantorType(PrincipalType grantorType) |
void |
ThriftHiveMetastore.grant_role_args.setGrantorType(PrincipalType grantorType) |
void |
Function.setOwnerType(PrincipalType ownerType) |
void |
Database.setOwnerType(PrincipalType ownerType) |
void |
GetRoleGrantsForPrincipalRequest.setPrincipal_type(PrincipalType principal_type) |
void |
ThriftHiveMetastore.grant_role_args.setPrincipal_type(PrincipalType principal_type) |
void |
ThriftHiveMetastore.revoke_role_args.setPrincipal_type(PrincipalType principal_type) |
void |
ThriftHiveMetastore.list_roles_args.setPrincipal_type(PrincipalType principal_type) |
void |
ThriftHiveMetastore.list_privileges_args.setPrincipal_type(PrincipalType principal_type) |
void |
RolePrincipalGrant.setPrincipalType(PrincipalType principalType) |
void |
HiveObjectPrivilege.setPrincipalType(PrincipalType principalType) |
void |
GrantRevokeRoleRequest.setPrincipalType(PrincipalType principalType) |
| Constructor and Description |
|---|
Function(String functionName,
String dbName,
String className,
String ownerName,
PrincipalType ownerType,
int createTime,
FunctionType functionType,
List<ResourceUri> resourceUris) |
GetRoleGrantsForPrincipalRequest(String principal_name,
PrincipalType principal_type) |
GrantRevokeRoleRequest(GrantRevokeType requestType,
String roleName,
String principalName,
PrincipalType principalType) |
HiveObjectPrivilege(HiveObjectRef hiveObject,
String principalName,
PrincipalType principalType,
PrivilegeGrantInfo grantInfo) |
PrivilegeGrantInfo(String privilege,
int createTime,
String grantor,
PrincipalType grantorType,
boolean grantOption) |
RolePrincipalGrant(String roleName,
String principalName,
PrincipalType principalType,
boolean grantOption,
int grantTime,
String grantorName,
PrincipalType grantorPrincipalType) |
ThriftHiveMetastore.AsyncClient.grant_role_call(String role_name,
String principal_name,
PrincipalType principal_type,
String grantor,
PrincipalType grantorType,
boolean grant_option,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.grant_role_call> resultHandler,
org.apache.thrift.async.TAsyncClient client,
org.apache.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.thrift.transport.TNonblockingTransport transport) |
ThriftHiveMetastore.AsyncClient.list_privileges_call(String principal_name,
PrincipalType principal_type,
HiveObjectRef hiveObject,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.list_privileges_call> resultHandler,
org.apache.thrift.async.TAsyncClient client,
org.apache.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.thrift.transport.TNonblockingTransport transport) |
ThriftHiveMetastore.AsyncClient.list_roles_call(String principal_name,
PrincipalType principal_type,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.list_roles_call> resultHandler,
org.apache.thrift.async.TAsyncClient client,
org.apache.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.thrift.transport.TNonblockingTransport transport) |
ThriftHiveMetastore.AsyncClient.revoke_role_call(String role_name,
String principal_name,
PrincipalType principal_type,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.revoke_role_call> resultHandler,
org.apache.thrift.async.TAsyncClient client,
org.apache.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.thrift.transport.TNonblockingTransport transport) |
ThriftHiveMetastore.grant_role_args(String role_name,
String principal_name,
PrincipalType principal_type,
String grantor,
PrincipalType grantorType,
boolean grant_option) |
ThriftHiveMetastore.list_privileges_args(String principal_name,
PrincipalType principal_type,
HiveObjectRef hiveObject) |
ThriftHiveMetastore.list_roles_args(String principal_name,
PrincipalType principal_type) |
ThriftHiveMetastore.revoke_role_args(String role_name,
String principal_name,
PrincipalType principal_type) |
Copyright © 2016 Cloudera. All rights reserved.