String keyspaceName,
final int ttlInMinutes) {
template.write(keyspaceName, new KeyspaceCallback<Void>() {
public Void execute(KeyspaceService keyspace) {
int ttlInSeconds = (int) TimeUnit.SECONDS.convert(ttlInMinutes, TimeUnit.MINUTES);
ColumnPath columnPath = createColumnPath(columnFamilyName, superColumnName, propertyName);
ColumnParent columnParent = new ColumnParent(columnPath.getColumn_family());
if (columnPath.isSetSuper_column()) {
columnParent.setSuper_column(columnPath.getSuper_column());
}
Column column = new Column(ByteBuffer.wrap(columnPath.getColumn()));
column.setTtl(ttlInSeconds);
ByteBuffer key = StringSerializer.get().toByteBuffer(rowKey);
keyspace.insert(key, columnParent, column);
return null;