org.apache.hadoop.hive.ql.parse.authorization
Interface HiveAuthorizationTaskFactory
- All Known Implementing Classes:
- HiveAuthorizationTaskFactoryImpl
public interface HiveAuthorizationTaskFactory
HiveAuthorizationTaskFactory creates DDL authorization related
tasks. Every method in this class may return null, indicating no task
needs to be executed or can throw a SemanticException.
Method Summary |
Task<? extends Serializable> |
createCreateRoleTask(ASTNode node,
HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs)
|
Task<? extends Serializable> |
createDropRoleTask(ASTNode node,
HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs)
|
Task<? extends Serializable> |
createGrantRoleTask(ASTNode node,
HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs)
|
Task<? extends Serializable> |
createGrantTask(ASTNode node,
HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs)
|
Task<? extends Serializable> |
createRevokeRoleTask(ASTNode node,
HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs)
|
Task<? extends Serializable> |
createRevokeTask(ASTNode node,
HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs)
|
Task<? extends Serializable> |
createSetRoleTask(String roleName,
HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs)
|
Task<? extends Serializable> |
createShowCurrentRoleTask(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs,
org.apache.hadoop.fs.Path resFile)
|
Task<? extends Serializable> |
createShowGrantTask(ASTNode node,
org.apache.hadoop.fs.Path resultFile,
HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs)
|
Task<? extends Serializable> |
createShowRoleGrantTask(ASTNode node,
org.apache.hadoop.fs.Path resultFile,
HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs)
|
Task<? extends Serializable> |
createShowRolePrincipalsTask(ASTNode ast,
org.apache.hadoop.fs.Path resFile,
HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs)
|
createCreateRoleTask
Task<? extends Serializable> createCreateRoleTask(ASTNode node,
HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs)
throws SemanticException
- Throws:
SemanticException
createDropRoleTask
Task<? extends Serializable> createDropRoleTask(ASTNode node,
HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs)
throws SemanticException
- Throws:
SemanticException
createShowRoleGrantTask
Task<? extends Serializable> createShowRoleGrantTask(ASTNode node,
org.apache.hadoop.fs.Path resultFile,
HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs)
throws SemanticException
- Throws:
SemanticException
createGrantRoleTask
Task<? extends Serializable> createGrantRoleTask(ASTNode node,
HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs)
throws SemanticException
- Throws:
SemanticException
createRevokeRoleTask
Task<? extends Serializable> createRevokeRoleTask(ASTNode node,
HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs)
throws SemanticException
- Throws:
SemanticException
createGrantTask
Task<? extends Serializable> createGrantTask(ASTNode node,
HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs)
throws SemanticException
- Throws:
SemanticException
createShowGrantTask
Task<? extends Serializable> createShowGrantTask(ASTNode node,
org.apache.hadoop.fs.Path resultFile,
HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs)
throws SemanticException
- Throws:
SemanticException
createRevokeTask
Task<? extends Serializable> createRevokeTask(ASTNode node,
HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs)
throws SemanticException
- Throws:
SemanticException
createSetRoleTask
Task<? extends Serializable> createSetRoleTask(String roleName,
HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs)
throws SemanticException
- Throws:
SemanticException
createShowCurrentRoleTask
Task<? extends Serializable> createShowCurrentRoleTask(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs,
org.apache.hadoop.fs.Path resFile)
throws SemanticException
- Throws:
SemanticException
createShowRolePrincipalsTask
Task<? extends Serializable> createShowRolePrincipalsTask(ASTNode ast,
org.apache.hadoop.fs.Path resFile,
HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs)
throws SemanticException
- Throws:
SemanticException
Copyright © 2014 The Apache Software Foundation. All rights reserved.