org.apache.storm.hbase.common

## Class Utils

- java.lang.Object
- - org.apache.storm.hbase.common.Utils

-     public class Utils
      extends Object

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `TOKEN_KIND_HBASE_AUTH_TOKEN`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    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)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### TOKEN_KIND_HBASE_AUTH_TOKEN

          public static final String TOKEN_KIND_HBASE_AUTH_TOKEN

      See Also:
        Constant Field Values

  - ### Method Detail

    - #### getTable

          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

      Throws:
        `IOException`
        `InterruptedException`

    - #### toLong

          public static long toLong(Object obj)

    - #### toBytes

          public static byte[] toBytes(Object obj)

Copyright © 2021 The Apache Software Foundation. All rights reserved.