| Package | Description |
|---|---|
| org.apache.hadoop.hive.ql.parse.authorization | |
| org.apache.hadoop.hive.ql.plan | |
| org.apache.hadoop.hive.ql.security.authorization |
| Modifier and Type | Method and Description |
|---|---|
static PrincipalDesc |
AuthorizationParseUtils.getPrincipalDesc(ASTNode principal) |
| Modifier and Type | Method and Description |
|---|---|
static List<PrincipalDesc> |
AuthorizationParseUtils.analyzePrincipalListDef(ASTNode node) |
| Modifier and Type | Method and Description |
|---|---|
PrincipalDesc |
AlterDatabaseDesc.getOwnerPrincipal() |
PrincipalDesc |
ShowGrantDesc.getPrincipalDesc() |
| Modifier and Type | Method and Description |
|---|---|
List<PrincipalDesc> |
GrantRevokeRoleDDL.getPrincipalDesc() |
List<PrincipalDesc> |
RevokeDesc.getPrincipals() |
List<PrincipalDesc> |
GrantDesc.getPrincipals() |
| Modifier and Type | Method and Description |
|---|---|
void |
AlterDatabaseDesc.setOwnerPrincipal(PrincipalDesc ownerPrincipal) |
void |
ShowGrantDesc.setPrincipalDesc(PrincipalDesc principalDesc) |
| Modifier and Type | Method and Description |
|---|---|
void |
GrantRevokeRoleDDL.setPrincipalDesc(List<PrincipalDesc> principalDesc) |
void |
RevokeDesc.setPrincipals(List<PrincipalDesc> principals) |
void |
GrantDesc.setPrincipals(List<PrincipalDesc> principals) |
| Constructor and Description |
|---|
AlterDatabaseDesc(String databaseName,
PrincipalDesc ownerPrincipal) |
ShowGrantDesc(String resFile,
PrincipalDesc principalDesc,
PrivilegeObjectDesc subjectObj) |
| Constructor and Description |
|---|
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) |
RevokeDesc(List<PrivilegeDesc> privileges,
List<PrincipalDesc> principals,
PrivilegeObjectDesc privilegeSubjectDesc) |
RevokeDesc(List<PrivilegeDesc> privileges,
List<PrincipalDesc> principals,
PrivilegeObjectDesc privilegeSubjectDesc,
boolean grantOption) |
| Modifier and Type | Method and Description |
|---|---|
static HivePrincipal |
AuthorizationUtils.getHivePrincipal(PrincipalDesc principal) |
| Modifier and Type | Method and Description |
|---|---|
static List<HivePrincipal> |
AuthorizationUtils.getHivePrincipals(List<PrincipalDesc> principals) |
Copyright © 2017 The Apache Software Foundation. All rights reserved.