@Override public byte[] write(InternalLog log) throws IOException {
  final byte[] rowkey=RowkeyBuilder.buildRowkey(log);
  final Put p=new Put(rowkey);
  populateColumnValues(p,log);
  tbl.put(p);
  final List<byte[]> indexRowkeys=log.getIndexRowkeys();
  if (indexRowkeys != null) {
    writeIndexes(rowkey,indexRowkeys);
  }
  return rowkey;
}

@ Override public byte [ ] write ( InternalLog log ) throws IOException { final byte [ ] rowkey = RowkeyBuilder . buildRowkey ( log ) ; final Put p = new Put ( rowkey ) ; populateColumnValues ( p , log ) ; tbl . put ( p ) ; final List < byte [ ] > indexRowkeys = log . getIndexRowkeys ( ) ; if ( indexRowkeys != null ) { writeIndexes ( rowkey , indexRowkeys ) ; } return rowkey ; }
todo need think about if multi - put is necessary , by checking if autoflush works
