protected void readData(String keyspace, String columnFamily, int offset, int numberOfRows) throws IOException
{
ColumnFamilyStore store = Table.open(keyspace).getColumnFamilyStore(columnFamily);
for (int i = offset; i < offset + numberOfRows; i++)
{
DecoratedKey key = Util.dk("key" + i);
QueryPath path = new QueryPath(columnFamily, null, ByteBufferUtil.bytes("col" + i));
store.getColumnFamily(key, path, ByteBufferUtil.EMPTY_BYTE_BUFFER, ByteBufferUtil.EMPTY_BYTE_BUFFER, false, 1);
}
}