final String superColumnName,
CassandraTemplate template,
String keyspaceName) {
return template.read(keyspaceName, new KeyspaceCallback<Map<String, PropertyValue<?>>>() {
public Map<String, PropertyValue<?>> execute(KeyspaceService keyspace) {
ColumnParent columnParent = new ColumnParent(columnFamilyName);
if (superColumnName != null) {
columnParent.setSuper_column(bytes(superColumnName));
}
List<Column> list = keyspace.getSlice(rowKey, columnParent, ALL_COLUMNS);
Map<String, PropertyValue<?>> props = new HashMap<String, PropertyValue<?>>(list.size());
for (Column c : list) {