Class HBaseClientManager

java.lang.Object
io.datarouter.storage.client.BaseClientManager
io.datarouter.client.hbase.HBaseClientManager
All Implemented Interfaces:
io.datarouter.storage.client.ClientManager

@Singleton public class HBaseClientManager extends io.datarouter.storage.client.BaseClientManager
  • Field Details

    • DEFAULT_FAMILY_QUALIFIER

      public static final byte[] DEFAULT_FAMILY_QUALIFIER
    • DUMMY_COL_NAME_BYTES

      public static final byte[] DUMMY_COL_NAME_BYTES
    • DUMMY_COL_NAME

      public static final String DUMMY_COL_NAME
    • DUMMY_FIELD_VALUE

      public static final byte[] DUMMY_FIELD_VALUE
  • Constructor Details

    • HBaseClientManager

      public HBaseClientManager()
  • Method Details

    • safeInitClient

      protected void safeInitClient(io.datarouter.storage.client.ClientId clientId)
      Specified by:
      safeInitClient in class io.datarouter.storage.client.BaseClientManager
    • getConnection

      public org.apache.hadoop.hbase.client.Connection getConnection(io.datarouter.storage.client.ClientId clientId)
    • getTable

      public org.apache.hadoop.hbase.client.Table getTable(io.datarouter.storage.client.ClientId clientId, String tableName)
    • makeConnection

      protected org.apache.hadoop.hbase.client.Connection makeConnection(String clientName)
    • doSchemaUpdate

      protected Future<Optional<io.datarouter.storage.config.schema.SchemaUpdateResult>> doSchemaUpdate(io.datarouter.storage.node.type.physical.PhysicalNode<?,?,?> node)
      Overrides:
      doSchemaUpdate in class io.datarouter.storage.client.BaseClientManager
    • shutdown

      public void shutdown(io.datarouter.storage.client.ClientId clientId)