private int lookup(
FijiTableReader reader,
FijiDataRequest request,
EntityId entityId,
Map<FamilyLayout, List<String>> mapTypeFamilies,
Map<FamilyLayout, List<ColumnLayout>> groupTypeColumns) {
try {
final FijiRowData row = reader.get(entityId, request);
if (hasVerboseDebug()
&& (!ToolUtils.formatEntityId(entityId).startsWith("hbase="))) {
getPrintStream().printf("entity-id=%s%s%n", ToolUtils.HBASE_ROW_KEY_SPEC_PREFIX,
Bytes.toStringBinary((entityId.getHBaseRowKey())));
}
ToolUtils.printRow(row, mapTypeFamilies, groupTypeColumns, getPrintStream());
} catch (IOException ioe) {
LOG.error(ioe.getMessage());
return FAILURE;
}
return SUCCESS;
}