FAMILY_QUAL0_R
).getMostRecentValue("family", "qual0").toString();
}
}.eval());
final KijiTableReaderPool pool = KijiTableReaderPool.Builder.create()
.withReaderFactory(mTable.getReaderFactory())
.build();
try {
Assert.assertEquals("foo-val", new WithKijiTableReader<String>(pool) {
@Override
public String run(final KijiTableReader kijiTableReader) throws Exception {
return kijiTableReader.get(
mTable.getEntityId("foo"),
FAMILY_QUAL0_R
).getMostRecentValue("family", "qual0").toString();
}
}.eval());
} finally {
pool.close();
}
}