cf_def.setMax_compaction_threshold(31);
// test valid operations.
cf_def.setComment("Modified comment");
CFMetaData updateCfm = cf.apply(cf_def);
new UpdateColumnFamily(cf, updateCfm).apply();
cf = updateCfm;
cf_def.setRow_cache_size(2d);
updateCfm = cf.apply(cf_def);
new UpdateColumnFamily(cf, updateCfm).apply();
cf = updateCfm;
cf_def.setKey_cache_size(3d);
updateCfm = cf.apply(cf_def);
new UpdateColumnFamily(cf, updateCfm).apply();
cf = updateCfm;
cf_def.setRead_repair_chance(0.23);
updateCfm = cf.apply(cf_def);
new UpdateColumnFamily(cf, updateCfm).apply();
cf = updateCfm;
cf_def.setGc_grace_seconds(12);
updateCfm = cf.apply(cf_def);
new UpdateColumnFamily(cf, updateCfm).apply();
cf = updateCfm;
cf_def.setDefault_validation_class("UTF8Type");
updateCfm = cf.apply(cf_def);
new UpdateColumnFamily(cf, updateCfm).apply();
cf = updateCfm;
cf_def.setMin_compaction_threshold(3);
updateCfm = cf.apply(cf_def);
new UpdateColumnFamily(cf, updateCfm).apply();
cf = updateCfm;
cf_def.setMax_compaction_threshold(33);
updateCfm = cf.apply(cf_def);
new UpdateColumnFamily(cf, updateCfm).apply();
cf = updateCfm;
// can't test changing the reconciler because there is only one impl.
// check the cumulative affect.