Class GetUserPermissionsRequest
java.lang.Object
org.apache.hadoop.hbase.security.access.GetUserPermissionsRequest
Used by
Admin.getUserPermissions(GetUserPermissionsRequest)
.
Represents the params of user permissions needed to get from HBase.-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprivate
GetUserPermissionsRequest
(String userName, String namespace, TableName tableName, byte[] family, byte[] qualifier) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
byte[]
Build a get global permission requestnewBuilder
(String namespace) Build a get namespace permission requestnewBuilder
(TableName tableName) Build a get table permission request
-
Field Details
-
userName
-
namespace
-
tableName
-
family
-
qualifier
-
-
Constructor Details
-
GetUserPermissionsRequest
private GetUserPermissionsRequest(String userName, String namespace, TableName tableName, byte[] family, byte[] qualifier)
-
-
Method Details
-
newBuilder
Build a get global permission request- Returns:
- a get global permission request builder
-
newBuilder
Build a get namespace permission request- Parameters:
namespace
- the specific namespace- Returns:
- a get namespace permission request builder
-
newBuilder
Build a get table permission request- Parameters:
tableName
- the specific table name- Returns:
- a get table permission request builder
-
getUserName
-
getNamespace
-
getTableName
-
getFamily
-
getQualifier
-