Composite startRange = new Composite();
startRange.addComponent(0, CN_TYPE_LABEL, Composite.ComponentEquality.EQUAL);
startRange.addComponent(1, labelId.toString(), Composite.ComponentEquality.EQUAL);
Composite endRange = new Composite();
endRange.addComponent(0, CN_TYPE_LABEL, Composite.ComponentEquality.EQUAL);
endRange.addComponent(1, labelId.toString(), Composite.ComponentEquality.GREATER_THAN_EQUAL);
SliceCounterQuery<String, Composite> sliceQuery =
createCounterSliceQuery(CassandraDAOFactory.getKeyspace(), strSe, new CompositeSerializer());
sliceQuery.setColumnFamily(CF_COUNTERS);