@InterfaceAudience.Public public class VisibilityClient extends Object
Constructor and Description |
---|
VisibilityClient() |
public static boolean isCellVisibilityEnabled(Connection connection) throws IOException
connection
- The connection to useIOException
public static org.apache.hadoop.hbase.shaded.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse addLabel(Connection connection, String label) throws Throwable
Throwable
public static org.apache.hadoop.hbase.shaded.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse addLabels(Connection connection, String[] labels) throws Throwable
Throwable
public static org.apache.hadoop.hbase.shaded.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse setAuths(Connection connection, String[] auths, String user) throws Throwable
Throwable
public static org.apache.hadoop.hbase.shaded.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse getAuths(Connection connection, String user) throws Throwable
connection
- the Connection instance to useuser
- the userThrowable
public static org.apache.hadoop.hbase.shaded.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse listLabels(Connection connection, String regex) throws Throwable
connection
- The Connection instance to use.regex
- The regular expression to filter which labels are returned.Throwable
public static org.apache.hadoop.hbase.shaded.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse clearAuths(Connection connection, String[] auths, String user) throws Throwable
Throwable
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.