Package | Description |
---|---|
org.apache.hadoop.hbase.protobuf |
Holds classes generated from protobuf
src/main/protobuf definition files. |
org.apache.hadoop.hbase.protobuf.generated |
Modifier and Type | Method and Description |
---|---|
static List<UserPermission> |
ProtobufUtil.getUserPermissions(com.google.protobuf.RpcController controller,
AccessControlProtos.AccessControlService.BlockingInterface protocol)
A utility used to get user's global permissions.
|
static List<UserPermission> |
ProtobufUtil.getUserPermissions(com.google.protobuf.RpcController controller,
AccessControlProtos.AccessControlService.BlockingInterface protocol,
byte[] namespace)
A utility used to get permissions for selected namespace.
|
static List<UserPermission> |
ProtobufUtil.getUserPermissions(com.google.protobuf.RpcController controller,
AccessControlProtos.AccessControlService.BlockingInterface protocol,
TableName t)
A utility used to get user table permissions.
|
static void |
ProtobufUtil.grant(com.google.protobuf.RpcController controller,
AccessControlProtos.AccessControlService.BlockingInterface protocol,
String userShortName,
Permission.Action... actions)
A utility used to grant a user global permissions.
|
static void |
ProtobufUtil.grant(com.google.protobuf.RpcController controller,
AccessControlProtos.AccessControlService.BlockingInterface protocol,
String userShortName,
String namespace,
Permission.Action... actions)
A utility used to grant a user namespace permissions.
|
static void |
ProtobufUtil.grant(com.google.protobuf.RpcController controller,
AccessControlProtos.AccessControlService.BlockingInterface protocol,
String userShortName,
TableName tableName,
byte[] f,
byte[] q,
Permission.Action... actions)
A utility used to grant a user table permissions.
|
static void |
ProtobufUtil.revoke(com.google.protobuf.RpcController controller,
AccessControlProtos.AccessControlService.BlockingInterface protocol,
String userShortName,
Permission.Action... actions)
A utility used to revoke a user's global permissions.
|
static void |
ProtobufUtil.revoke(com.google.protobuf.RpcController controller,
AccessControlProtos.AccessControlService.BlockingInterface protocol,
String userShortName,
String namespace,
Permission.Action... actions)
A utility used to revoke a user's namespace permissions.
|
static void |
ProtobufUtil.revoke(com.google.protobuf.RpcController controller,
AccessControlProtos.AccessControlService.BlockingInterface protocol,
String userShortName,
TableName tableName,
byte[] f,
byte[] q,
Permission.Action... actions)
A utility used to revoke a user's table permissions.
|
Modifier and Type | Method and Description |
---|---|
static AccessControlProtos.AccessControlService.BlockingInterface |
AccessControlProtos.AccessControlService.newBlockingStub(com.google.protobuf.BlockingRpcChannel channel) |
Modifier and Type | Method and Description |
---|---|
static com.google.protobuf.BlockingService |
AccessControlProtos.AccessControlService.newReflectiveBlockingService(AccessControlProtos.AccessControlService.BlockingInterface impl) |
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.