Uses of Class
org.apache.hadoop.hive.metastore.api.PrincipalType

Packages that use PrincipalType
org.apache.hadoop.hive.metastore   
org.apache.hadoop.hive.metastore.api   
org.apache.hadoop.hive.ql.exec Hive QL execution tasks, operators, functions and other handlers. 
org.apache.hadoop.hive.ql.metadata   
org.apache.hadoop.hive.ql.plan   
 

Uses of PrincipalType in org.apache.hadoop.hive.metastore
 

Methods in org.apache.hadoop.hive.metastore that return PrincipalType
 PrincipalType HiveMetaStore.HMSHandler.getPrincipalType(String principalType)
           
 

Methods in org.apache.hadoop.hive.metastore with parameters of type PrincipalType
 List<PrivilegeGrantInfo> ObjectStore.getDBPrivilege(String dbName, String principalName, PrincipalType principalType)
           
 boolean HiveMetaStore.HMSHandler.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 HiveMetaStoreClient.grant_role(String roleName, 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)
           
 boolean ObjectStore.grantRole(Role role, String userName, PrincipalType principalType, String grantor, PrincipalType grantorType, boolean grantOption)
           
 List<HiveObjectPrivilege> HiveMetaStore.HMSHandler.list_column_privileges(String principalName, PrincipalType principalType, String dbName, String tableName, List<String> partValues, String columnName)
           
 List<HiveObjectPrivilege> HiveMetaStore.HMSHandler.list_db_privileges(String principalName, PrincipalType principalType, String dbName)
           
 List<HiveObjectPrivilege> HiveMetaStore.HMSHandler.list_global_privileges(String principalName, PrincipalType principalType)
           
 List<HiveObjectPrivilege> HiveMetaStore.HMSHandler.list_partition_privileges(String principalName, PrincipalType principalType, String dbName, String tableName, List<String> partValues)
           
 List<HiveObjectPrivilege> HiveMetaStore.HMSHandler.list_privileges(String principalName, PrincipalType principalType, HiveObjectRef hiveObject)
           
 List<HiveObjectPrivilege> IMetaStoreClient.list_privileges(String principal_name, PrincipalType principal_type, HiveObjectRef hiveObject)
           
 List<HiveObjectPrivilege> HiveMetaStoreClient.list_privileges(String principalName, PrincipalType principalType, HiveObjectRef hiveObject)
           
 List<Role> HiveMetaStore.HMSHandler.list_roles(String principalName, PrincipalType principalType)
           
 List<Role> IMetaStoreClient.list_roles(String principalName, PrincipalType principalType)
           
 List<Role> HiveMetaStoreClient.list_roles(String principalName, PrincipalType principalType)
           
 List<HiveObjectPrivilege> HiveMetaStore.HMSHandler.list_table_privileges(String principalName, PrincipalType principalType, String dbName, String tableName)
           
 List<MTablePrivilege> RawStore.listAllTableGrants(String principalName, PrincipalType principalType, String dbName, String tableName)
           
 List<MTablePrivilege> ObjectStore.listAllTableGrants(String principalName, PrincipalType principalType, String dbName, String tableName)
           
 List<MDBPrivilege> RawStore.listPrincipalDBGrants(String principalName, PrincipalType principalType, String dbName)
           
 List<MDBPrivilege> ObjectStore.listPrincipalDBGrants(String principalName, PrincipalType principalType, String dbName)
           
 List<MGlobalPrivilege> RawStore.listPrincipalGlobalGrants(String principalName, PrincipalType principalType)
           
 List<MGlobalPrivilege> ObjectStore.listPrincipalGlobalGrants(String principalName, PrincipalType principalType)
           
 List<MPartitionColumnPrivilege> RawStore.listPrincipalPartitionColumnGrants(String principalName, PrincipalType principalType, String dbName, String tableName, String partName, String columnName)
           
 List<MPartitionColumnPrivilege> ObjectStore.listPrincipalPartitionColumnGrants(String principalName, PrincipalType principalType, String dbName, String tableName, String partitionName, String columnName)
           
 List<MPartitionPrivilege> RawStore.listPrincipalPartitionGrants(String principalName, PrincipalType principalType, String dbName, String tableName, String partName)
           
 List<MPartitionPrivilege> ObjectStore.listPrincipalPartitionGrants(String principalName, PrincipalType principalType, String dbName, String tableName, String partName)
           
 List<MTableColumnPrivilege> RawStore.listPrincipalTableColumnGrants(String principalName, PrincipalType principalType, String dbName, String tableName, String columnName)
           
 List<MTableColumnPrivilege> ObjectStore.listPrincipalTableColumnGrants(String principalName, PrincipalType principalType, String dbName, String tableName, String columnName)
           
 List<MRoleMap> RawStore.listRoles(String principalName, PrincipalType principalType)
           
 List<MRoleMap> ObjectStore.listRoles(String principalName, PrincipalType principalType)
           
 boolean HiveMetaStore.HMSHandler.revoke_role(String roleName, String userName, PrincipalType principalType)
           
 boolean IMetaStoreClient.revoke_role(String role_name, String user_name, PrincipalType principalType)
           
 boolean HiveMetaStoreClient.revoke_role(String roleName, String userName, PrincipalType principalType)
           
 boolean RawStore.revokeRole(Role role, String userName, PrincipalType principalType)
           
 boolean ObjectStore.revokeRole(Role role, String userName, PrincipalType principalType)
           
 

Uses of PrincipalType in org.apache.hadoop.hive.metastore.api
 

Methods in org.apache.hadoop.hive.metastore.api that return PrincipalType
static PrincipalType PrincipalType.findByValue(int value)
          Find a the enum type by its integer value, as defined in the Thrift IDL.
 PrincipalType PrivilegeGrantInfo.getGrantorType()
           
 PrincipalType ThriftHiveMetastore.grant_role_args.getGrantorType()
           
 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 HiveObjectPrivilege.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.
 

Methods in org.apache.hadoop.hive.metastore.api with parameters of type PrincipalType
 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 PrivilegeGrantInfo.setGrantorType(PrincipalType grantorType)
           
 void ThriftHiveMetastore.grant_role_args.setGrantorType(PrincipalType grantorType)
           
 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 HiveObjectPrivilege.setPrincipalType(PrincipalType principalType)
           
 

Constructors in org.apache.hadoop.hive.metastore.api with parameters of type PrincipalType
HiveObjectPrivilege(HiveObjectRef hiveObject, String principalName, PrincipalType principalType, PrivilegeGrantInfo grantInfo)
           
PrivilegeGrantInfo(String privilege, int createTime, String grantor, PrincipalType grantorType, boolean grantOption)
           
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)
           
 

Uses of PrincipalType in org.apache.hadoop.hive.ql.exec
 

Methods in org.apache.hadoop.hive.ql.exec with parameters of type PrincipalType
static void DDLTask.writeGrantInfo(DataOutput outStream, PrincipalType principalType, String principalName, String dbName, String tableName, String partName, String columnName, PrivilegeGrantInfo grantInfo)
           
 

Uses of PrincipalType in org.apache.hadoop.hive.ql.metadata
 

Methods in org.apache.hadoop.hive.ql.metadata with parameters of type PrincipalType
 boolean Hive.grantRole(String roleName, String userName, PrincipalType principalType, String grantor, PrincipalType grantorType, boolean grantOption)
           
 List<Role> Hive.listRoles(String userName, PrincipalType principalType)
           
 boolean Hive.revokeRole(String roleName, String userName, PrincipalType principalType)
           
 List<HiveObjectPrivilege> Hive.showPrivilegeGrant(HiveObjectType objectType, String principalName, PrincipalType principalType, String dbName, String tableName, List<String> partValues, String columnName)
           
 List<Role> Hive.showRoleGrant(String principalName, PrincipalType principalType)
           
 

Uses of PrincipalType in org.apache.hadoop.hive.ql.plan
 

Methods in org.apache.hadoop.hive.ql.plan that return PrincipalType
 PrincipalType GrantRevokeRoleDDL.getGrantorType()
           
 PrincipalType GrantDesc.getGrantorType()
           
 PrincipalType RoleDDLDesc.getPrincipalType()
           
 PrincipalType PrincipalDesc.getType()
           
 

Methods in org.apache.hadoop.hive.ql.plan with parameters of type PrincipalType
 void GrantRevokeRoleDDL.setGrantorType(PrincipalType grantorType)
           
 void GrantDesc.setGrantorType(PrincipalType grantorType)
           
 void RoleDDLDesc.setPrincipalType(PrincipalType principalType)
           
 void PrincipalDesc.setType(PrincipalType type)
           
 

Constructors in org.apache.hadoop.hive.ql.plan with parameters of type PrincipalType
GrantDesc(PrivilegeObjectDesc privilegeSubject, List<PrivilegeDesc> privilegeDesc, List<PrincipalDesc> principalDesc, String grantor, PrincipalType grantorType, boolean grantOption)
           
GrantRevokeRoleDDL(boolean grant, List<String> roles, List<PrincipalDesc> principalDesc, String grantor, PrincipalType grantorType, boolean grantOption)
           
PrincipalDesc(String name, PrincipalType type)
           
RoleDDLDesc(String principalName, PrincipalType principalType, RoleDDLDesc.RoleOperation operation, String roleOwnerName)
           
 



Copyright © 2011 The Apache Software Foundation