mutator.execute();
}
@Override
public List<Reading> querySensorReadingsByInterval(UUID sensorId, Interval interval, int maxToReturn) {
SuperSliceQuery query = HFactory.createSuperSliceQuery(keyspace, us, ls, ss, ByteBufferSerializer.get());
query.setColumnFamily(columnFamilyName).setKey(sensorId).setRange(interval.getStartMillis(), interval.getEndMillis(),
false, maxToReturn);
QueryResult<SuperSlice<UUID, String, ByteBuffer>> result = query.execute();
List<HSuperColumn<UUID, String, ByteBuffer>> rows = result.get().getSuperColumns();
List<Reading> readings = new ArrayList<Reading>();