}
@Test
public void testAllRowsReaderCopier() throws Exception {
final ColumnCounterFunction columnCounter = new ColumnCounterFunction();
final RowCounterFunction rowCounter = new RowCounterFunction();
new AllRowsReader.Builder<String, String>(keyspace, CF_STANDARD1)
.withPageSize(3)
.withConcurrencyLevel(2)
.forEachRow(columnCounter)
.build()
.call();
LOG.info("Column count = " + columnCounter.getCount());
new AllRowsReader.Builder<String, String>(keyspace, CF_STANDARD1)
.withPageSize(3)
.withConcurrencyLevel(2)
.forEachRow(rowCounter)