@InterfaceAudience.Private public final class ClientUtils extends Object
Modifier | Constructor and Description |
---|---|
private |
ClientUtils() |
Modifier and Type | Method and Description |
---|---|
static LoginContext |
getLoginContext()
To authenticate the demo client, kinit should be invoked ahead.
|
static void |
printRow(org.apache.hadoop.hbase.thrift.generated.TRowResult rowResult)
copy values into a TreeMap to get them in sorted order and print it
|
static String |
utf8(byte[] buf)
Helper to translate byte[]'s to UTF8 strings
|
private ClientUtils()
public static LoginContext getLoginContext() throws LoginException
LoginException
- Exception thrown if unable to get LoginContextpublic static void printRow(org.apache.hadoop.hbase.thrift.generated.TRowResult rowResult)
rowResult
- Holds row name and then a map of columns to cellsCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.