| Package | Description |
|---|---|
| org.apache.hadoop.hive.metastore.api |
| 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 |
Table.getOwnerType() |
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 |
GetRoleGrantsForPrincipalRequest.getPrincipal_type() |
PrincipalType |
RolePrincipalGrant.getPrincipalType() |
PrincipalType |
HiveObjectPrivilege.getPrincipalType() |
PrincipalType |
GrantRevokeRoleRequest.getPrincipalType() |
static PrincipalType |
PrincipalType.valueOf(java.lang.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(java.lang.String role_name,
java.lang.String principal_name,
PrincipalType principal_type,
java.lang.String grantor,
PrincipalType grantorType,
boolean grant_option) |
boolean |
ThriftHiveMetastore.Client.grant_role(java.lang.String role_name,
java.lang.String principal_name,
PrincipalType principal_type,
java.lang.String grantor,
PrincipalType grantorType,
boolean grant_option) |
void |
ThriftHiveMetastore.AsyncIface.grant_role(java.lang.String role_name,
java.lang.String principal_name,
PrincipalType principal_type,
java.lang.String grantor,
PrincipalType grantorType,
boolean grant_option,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
ThriftHiveMetastore.AsyncClient.grant_role(java.lang.String role_name,
java.lang.String principal_name,
PrincipalType principal_type,
java.lang.String grantor,
PrincipalType grantorType,
boolean grant_option,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
java.util.List<HiveObjectPrivilege> |
ThriftHiveMetastore.Iface.list_privileges(java.lang.String principal_name,
PrincipalType principal_type,
HiveObjectRef hiveObject) |
java.util.List<HiveObjectPrivilege> |
ThriftHiveMetastore.Client.list_privileges(java.lang.String principal_name,
PrincipalType principal_type,
HiveObjectRef hiveObject) |
void |
ThriftHiveMetastore.AsyncIface.list_privileges(java.lang.String principal_name,
PrincipalType principal_type,
HiveObjectRef hiveObject,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
ThriftHiveMetastore.AsyncClient.list_privileges(java.lang.String principal_name,
PrincipalType principal_type,
HiveObjectRef hiveObject,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
java.util.List<Role> |
ThriftHiveMetastore.Iface.list_roles(java.lang.String principal_name,
PrincipalType principal_type) |
java.util.List<Role> |
ThriftHiveMetastore.Client.list_roles(java.lang.String principal_name,
PrincipalType principal_type) |
void |
ThriftHiveMetastore.AsyncIface.list_roles(java.lang.String principal_name,
PrincipalType principal_type,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
ThriftHiveMetastore.AsyncClient.list_roles(java.lang.String principal_name,
PrincipalType principal_type,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
boolean |
ThriftHiveMetastore.Iface.revoke_role(java.lang.String role_name,
java.lang.String principal_name,
PrincipalType principal_type) |
boolean |
ThriftHiveMetastore.Client.revoke_role(java.lang.String role_name,
java.lang.String principal_name,
PrincipalType principal_type) |
void |
ThriftHiveMetastore.AsyncIface.revoke_role(java.lang.String role_name,
java.lang.String principal_name,
PrincipalType principal_type,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
ThriftHiveMetastore.AsyncClient.revoke_role(java.lang.String role_name,
java.lang.String principal_name,
PrincipalType principal_type,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
ThriftHiveMetastore.Client.send_grant_role(java.lang.String role_name,
java.lang.String principal_name,
PrincipalType principal_type,
java.lang.String grantor,
PrincipalType grantorType,
boolean grant_option) |
void |
ThriftHiveMetastore.Client.send_list_privileges(java.lang.String principal_name,
PrincipalType principal_type,
HiveObjectRef hiveObject) |
void |
ThriftHiveMetastore.Client.send_list_roles(java.lang.String principal_name,
PrincipalType principal_type) |
void |
ThriftHiveMetastore.Client.send_revoke_role(java.lang.String role_name,
java.lang.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 |
Table.setOwnerType(PrincipalType ownerType) |
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 |
GetRoleGrantsForPrincipalRequest.setPrincipal_type(PrincipalType principal_type) |
void |
RolePrincipalGrant.setPrincipalType(PrincipalType principalType) |
void |
HiveObjectPrivilege.setPrincipalType(PrincipalType principalType) |
void |
GrantRevokeRoleRequest.setPrincipalType(PrincipalType principalType) |
| Constructor and Description |
|---|
Function(java.lang.String functionName,
java.lang.String dbName,
java.lang.String className,
java.lang.String ownerName,
PrincipalType ownerType,
int createTime,
FunctionType functionType,
java.util.List<ResourceUri> resourceUris) |
GetRoleGrantsForPrincipalRequest(java.lang.String principal_name,
PrincipalType principal_type) |
grant_role_args(java.lang.String role_name,
java.lang.String principal_name,
PrincipalType principal_type,
java.lang.String grantor,
PrincipalType grantorType,
boolean grant_option) |
grant_role_call(java.lang.String role_name,
java.lang.String principal_name,
PrincipalType principal_type,
java.lang.String grantor,
PrincipalType grantorType,
boolean grant_option,
org.apache.thrift.async.AsyncMethodCallback resultHandler,
org.apache.thrift.async.TAsyncClient client,
org.apache.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.thrift.transport.TNonblockingTransport transport) |
GrantRevokeRoleRequest(GrantRevokeType requestType,
java.lang.String roleName,
java.lang.String principalName,
PrincipalType principalType) |
HiveObjectPrivilege(HiveObjectRef hiveObject,
java.lang.String principalName,
PrincipalType principalType,
PrivilegeGrantInfo grantInfo,
java.lang.String authorizer) |
list_privileges_args(java.lang.String principal_name,
PrincipalType principal_type,
HiveObjectRef hiveObject) |
list_privileges_call(java.lang.String principal_name,
PrincipalType principal_type,
HiveObjectRef hiveObject,
org.apache.thrift.async.AsyncMethodCallback resultHandler,
org.apache.thrift.async.TAsyncClient client,
org.apache.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.thrift.transport.TNonblockingTransport transport) |
list_roles_args(java.lang.String principal_name,
PrincipalType principal_type) |
list_roles_call(java.lang.String principal_name,
PrincipalType principal_type,
org.apache.thrift.async.AsyncMethodCallback resultHandler,
org.apache.thrift.async.TAsyncClient client,
org.apache.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.thrift.transport.TNonblockingTransport transport) |
PrivilegeGrantInfo(java.lang.String privilege,
int createTime,
java.lang.String grantor,
PrincipalType grantorType,
boolean grantOption) |
revoke_role_args(java.lang.String role_name,
java.lang.String principal_name,
PrincipalType principal_type) |
revoke_role_call(java.lang.String role_name,
java.lang.String principal_name,
PrincipalType principal_type,
org.apache.thrift.async.AsyncMethodCallback resultHandler,
org.apache.thrift.async.TAsyncClient client,
org.apache.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.thrift.transport.TNonblockingTransport transport) |
RolePrincipalGrant(java.lang.String roleName,
java.lang.String principalName,
PrincipalType principalType,
boolean grantOption,
int grantTime,
java.lang.String grantorName,
PrincipalType grantorPrincipalType) |
Copyright © 2013-2021. All Rights Reserved.