public interface TableCallback<T>
HbaseTemplate
's execution methods, often as anonymous classes within a method implementation without
having to worry about exception handling.Modifier and Type | Method and Description |
---|---|
T |
doInTable(org.apache.hadoop.hbase.client.HTableInterface table)
Gets called by
HbaseTemplate execute with an active Hbase table. |
T doInTable(org.apache.hadoop.hbase.client.HTableInterface table) throws java.lang.Throwable
HbaseTemplate
execute with an active Hbase table. Does need to care about activating or closing down the table.table
- active Hbase tablejava.lang.Throwable
- thrown by the Hbase API