Composite start = makeStringEqualityComposite(new String[] { "a", "a", "a"}, new ComponentEquality[] {
ComponentEquality.EQUAL,ComponentEquality.EQUAL, ComponentEquality.EQUAL });
Composite end = makeStringEqualityComposite(new String[] { "a", "a", "b"}, new ComponentEquality[] {
ComponentEquality.EQUAL,ComponentEquality.EQUAL, ComponentEquality.EQUAL });
ColumnFamilyQuery<String, Composite> query = ks.prepareQuery(cf);
ColumnList<Composite> results = query.getKey(rowkey)
.withColumnRange(start.serialize(), end.serialize(), false, 100).execute().getResult();
LOG.debug("Query matched {} results.", results.size());
for (Composite columnKey : results.getColumnNames()) {
// LOG.debug("Component(0): {}", columnKey.getComponent(0).getValue(StringSerializer.get()));