Package | Description |
---|---|
org.apache.hadoop.hive.ql.hooks | |
org.apache.hadoop.hive.ql.security.authorization |
Modifier and Type | Method and Description |
---|---|
Entity.Type |
Entity.getTyp() |
Entity.Type |
Entity.getType()
Get the type of the entity.
|
static Entity.Type |
Entity.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Entity.Type[] |
Entity.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Entity.setTyp(Entity.Type typ) |
Constructor and Description |
---|
Entity(Database database,
String strObj,
Entity.Type type)
Create an entity representing a object with given name, database namespace and type
|
WriteEntity(Database db,
String objName,
Entity.Type type,
WriteEntity.WriteType writeType)
Constructor for objects represented as String.
|
Modifier and Type | Method and Description |
---|---|
static HivePrivilegeObject.HivePrivilegeObjectType |
AuthorizationUtils.getHivePrivilegeObjectType(Entity.Type type)
Convert thrift object type to hive authorization plugin object type
|
Copyright © 2016 The Apache Software Foundation. All rights reserved.