// Unpack and print result for the group type families.
for (Entry<FamilyLayout, List<ColumnLayout>> entry : groupTypeColumns.entrySet()) {
String familyName = entry.getKey().getName();
for (ColumnLayout column : entry.getValue()) {
final KijiColumnName colName = KijiColumnName.create(familyName, column.getName());
if (column.getDesc().getColumnSchema().getType() == SchemaType.COUNTER) {
final KijiCell<Long> counter =
row.getMostRecentCell(colName.getFamily(), colName.getQualifier());
if (null != counter) {
printCell(row.getEntityId(), counter, printStream);
}
} else {
for (Entry<Long, Object> timestampedCell
: row.getValues(colName.getFamily(), colName.getQualifier())
.entrySet()) {
long timestamp = timestampedCell.getKey();
printCell(row.getEntityId(), timestamp, colName.getFamily(),
colName.getQualifier(), timestampedCell.getValue(), printStream);
}
}
}
}
printStream.println("");