}
cqlRows.add(actualRowList);
for (List<com.datastax.driver.core.Row> actualRow : cqlRows) {
KeyValue<Row> kv = new KeyValue<Row>();
Row r = rowProvider.get();
byte[] cqlRowKey = null;
for (com.datastax.driver.core.Row cqlRow : actualRow) {
ByteBuffer cqlRowKeyData = cqlRow.getBytes("id");
cqlRowKey = new byte[cqlRowKeyData.remaining()];
cqlRowKeyData.get(cqlRowKey);
kv.setKey(cqlRowKey);
r.setKey(cqlRowKey);
byte[] name = StandardConverters.convertFromString(byte[].class, cqlRow.getString("colname"));
ByteBuffer data = cqlRow.getBytes("colvalue");
byte[] val = new byte[data.remaining()];
data.get(val);
Column c = new Column();
c.setName(name);
if (val.length != 0)
c.setValue(val);
r.put(c);
kv.setValue(r);
ByteArray b = new ByteArray(cqlRowKey);
map.put(b, kv);
cache.cacheRow(cf, cqlRowKey, kv.getValue());