@InterfaceAudience.Public public final class GetUserPermissionsRequest extends Object
Admin.getUserPermissions(GetUserPermissionsRequest)
.
Represents the params of user permissions needed to get from HBase.Modifier and Type | Class and Description |
---|---|
static class |
GetUserPermissionsRequest.Builder |
Modifier and Type | Field and Description |
---|---|
private byte[] |
family |
private String |
namespace |
private byte[] |
qualifier |
private TableName |
tableName |
private String |
userName |
Modifier | Constructor and Description |
---|---|
private |
GetUserPermissionsRequest(String userName,
String namespace,
TableName tableName,
byte[] family,
byte[] qualifier) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getFamily() |
String |
getNamespace() |
byte[] |
getQualifier() |
TableName |
getTableName() |
String |
getUserName() |
static GetUserPermissionsRequest.Builder |
newBuilder()
Build a get global permission request
|
static GetUserPermissionsRequest.Builder |
newBuilder(String namespace)
Build a get namespace permission request
|
static GetUserPermissionsRequest.Builder |
newBuilder(TableName tableName)
Build a get table permission request
|
private GetUserPermissionsRequest(String userName, String namespace, TableName tableName, byte[] family, byte[] qualifier)
public static GetUserPermissionsRequest.Builder newBuilder()
public static GetUserPermissionsRequest.Builder newBuilder(String namespace)
namespace
- the specific namespacepublic static GetUserPermissionsRequest.Builder newBuilder(TableName tableName)
tableName
- the specific table namepublic String getUserName()
public String getNamespace()
public TableName getTableName()
public byte[] getFamily()
public byte[] getQualifier()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.