assertEquals(2, rowResult.getTotalRecords());
}
@Test
public void testFetchRowByRowIdWithFamilyAndColumnSet() throws Exception {
Selector selector = new Selector().setRowId("row-6");
selector.addToColumnFamiliesToFetch(FAMILY2);
selector.putToColumnsToFetch(FAMILY, new HashSet<String>(Arrays.asList("testcol12")));
selector.addToOrderOfFamiliesToFetch(FAMILY2);
selector.addToOrderOfFamiliesToFetch(FAMILY);
FetchResult fetchResult = new FetchResult();
indexManager.fetchRow(TABLE, selector, fetchResult);
assertNotNull(fetchResult.rowResult.row);
Row row = newRow("row-6", newRecord(FAMILY2, "record-6C", newColumn("testcol18", "value501")),