示例#1
0
 /**
  * Open a table from within the Coprocessor environment
  *
  * @param tableName the table name
  * @return an interface for manipulating the table
  * @exception java.io.IOException Exception
  */
 @Override
 public HTableInterface getTable(TableName tableName) throws IOException {
   return this.getTable(tableName, HTable.getDefaultExecutor(getConfiguration()));
 }
 static {
   Configuration config = HBaseConfiguration.create();
   threadPool = HTable.getDefaultExecutor(config);
 }