HTable table = getTable(tableName);
Text[] columnsText = new Text[columns.size()];
for (int i = 0; i < columns.size(); ++i) {
columnsText[i] = getText(columns.get(i));
}
HScannerInterface scanner = table.obtainScanner(columnsText,
getText(startRow), getText(stopRow), timestamp);
return addScanner(scanner);
} catch (IOException e) {
throw new IOError(e.getMessage());
}