public class Utils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
TOKEN_KIND_HBASE_AUTH_TOKEN |
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.hbase.client.Table |
getTable(org.apache.hadoop.hbase.security.UserProvider provider,
org.apache.hadoop.conf.Configuration config,
String tableName) |
static byte[] |
toBytes(Object obj) |
static long |
toLong(Object obj) |
public static final String TOKEN_KIND_HBASE_AUTH_TOKEN
public static org.apache.hadoop.hbase.client.Table getTable(org.apache.hadoop.hbase.security.UserProvider provider, org.apache.hadoop.conf.Configuration config, String tableName) throws IOException, InterruptedException
IOException
InterruptedException
public static long toLong(Object obj)
public static byte[] toBytes(Object obj)
Copyright © 2022 The Apache Software Foundation. All rights reserved.