context.getCounter(HBaseIndexerCounters.INPUT_ROWS).increment(1L);
try {
TableSplit tableSplit;
if (context.getInputSplit() instanceof TableSplit) {
tableSplit = (TableSplit) context.getInputSplit();
indexer.indexRowData(ImmutableList.<RowData>of(new ResultWrappingRowData(result,
tableSplit.getTableName())));
} else {
throw new IOException("Input split not of type " + TableSplit.class + " but " +
context.getInputSplit().getClass());
}