@InterfaceAudience.Public @InterfaceStability.Evolving public class VisibilityClient extends Object
| Constructor and Description |
|---|
VisibilityClient() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse |
addLabel(org.apache.hadoop.conf.Configuration conf,
String label)
Utility method for adding label to the system.
|
static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse |
addLabels(org.apache.hadoop.conf.Configuration conf,
String[] labels)
Utility method for adding labels to the system.
|
static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse |
clearAuths(org.apache.hadoop.conf.Configuration conf,
String[] auths,
String user)
Removes given labels from user's globally authorized list of labels.
|
static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse |
getAuths(org.apache.hadoop.conf.Configuration conf,
String user) |
static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse |
listLabels(org.apache.hadoop.conf.Configuration conf,
String regex)
Retrieve the list of visibility labels defined in the system.
|
static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse |
setAuths(org.apache.hadoop.conf.Configuration conf,
String[] auths,
String user)
Sets given labels globally authorized for the user.
|
public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse addLabel(org.apache.hadoop.conf.Configuration conf, String label) throws Throwable
conf - label - Throwablepublic static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse addLabels(org.apache.hadoop.conf.Configuration conf, String[] labels) throws Throwable
conf - labels - Throwablepublic static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse setAuths(org.apache.hadoop.conf.Configuration conf, String[] auths, String user) throws Throwable
conf - auths - user - Throwablepublic static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse getAuths(org.apache.hadoop.conf.Configuration conf, String user) throws Throwable
conf - user - Throwablepublic static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse listLabels(org.apache.hadoop.conf.Configuration conf, String regex) throws Throwable
conf - regex - The regular expression to filter which labels are returned.Throwablepublic static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse clearAuths(org.apache.hadoop.conf.Configuration conf, String[] auths, String user) throws Throwable
conf - auths - user - ThrowableCopyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.