mapTypeFamilies, groupTypeColumns, mMaxVersions, mMinTimestamp, mMaxTimestamp);
final KijiTableReader reader = table.openTableReader();
try {
// Scan from startRow to limitRow.
final EntityId startRow = (mStartRowFlag != null)
? ToolUtils.createEntityIdFromUserInputs(mStartRowFlag, tableLayout)
: null;
final EntityId limitRow = (mLimitRowFlag != null)
? ToolUtils.createEntityIdFromUserInputs(mLimitRowFlag, tableLayout)
: null;
getPrintStream().println("Scanning kiji table: " + argURI);
if (startRow != null && hasVerboseDebug()) {
getPrintStream().printf("\tstart-row=%s%s%n", ToolUtils.HBASE_ROW_KEY_SPEC_PREFIX,
Bytes.toStringBinary(startRow.getHBaseRowKey()));
}
if (limitRow != null && hasVerboseDebug()) {
getPrintStream().printf("\tlimit-row=%s%s%n", ToolUtils.HBASE_ROW_KEY_SPEC_PREFIX,
Bytes.toStringBinary(limitRow.getHBaseRowKey()));
}
return scan(reader, request, startRow, limitRow, mapTypeFamilies, groupTypeColumns);
} finally {
ResourceUtils.closeOrLog(reader);