Package | Description |
---|---|
org.apache.hadoop.hbase.protobuf |
Holds classes generated from protobuf
src/main/protobuf definition files. |
org.apache.hadoop.hbase.security.access |
Modifier and Type | Method and Description |
---|---|
static TablePermission |
ProtobufUtil.toTablePermission(AccessControlProtos.Permission proto)
Converts a Permission proto to a client TablePermission object.
|
Modifier and Type | Method and Description |
---|---|
static com.google.common.collect.ListMultimap<String,TablePermission> |
ProtobufUtil.toUserTablePermissions(AccessControlProtos.UsersAndPermissions proto)
Convert a protobuf UserTablePermissions to a
ListMultimap
|
Modifier and Type | Method and Description |
---|---|
static AccessControlProtos.UsersAndPermissions |
ProtobufUtil.toUserTablePermissions(com.google.common.collect.ListMultimap<String,TablePermission> perm)
Convert a ListMultimap
|
Modifier and Type | Class and Description |
---|---|
class |
UserPermission
Represents an authorization for access over the given table, column family
plus qualifier, for the given user.
|
Constructor and Description |
---|
UserPermission(byte[] user,
TablePermission perm)
Creates a new instance for the given user, table, column family and
qualifier, matching the actions with the given codes.
|
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.