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