code: private void onSetCompactionThreshold(CfDef cfDef, Properties cfProperties, StringBuilder builder)
      {
          String maxCompactionThreshold = cfProperties.getProperty(CassandraConstants.MAX_COMPACTION_THRESHOLD);
          if (maxCompactionThreshold != null)
          {
              try
              {
                  if (builder != null)
                  {
                      // Somehow these are not working for cassandra 1.1
                      // though they claim it should work.
                      // appendPropertyToBuilder(builder,
                      // maxCompactionThreshold,
                      // CassandraConstants.MAX_COMPACTION_THRESHOLD);
                  }
                  else
                  {
                      cfDef.setMax_compaction_threshold(Integer.parseInt(maxCompactionThreshold));
                  }
              }
              catch (NumberFormatException nfe)
              {
                  log.error("Max_Compaction_Threshold should be numeric type, Caused by: .", nfe);
                  throw new SchemaGenerationException(nfe);
              }
          }
          String minCompactionThreshold = cfProperties.getProperty(CassandraConstants.MIN_COMPACTION_THRESHOLD);
          if (minCompactionThreshold != null)
          {
              try
              {
                  if (builder != null)
                  {
                      // Somehow these are not working for cassandra 1.1
                      // though they claim it should work.
                      // appendPropertyToBuilder(builder,
                      // minCompactionThreshold,
                      // CassandraConstants.MIN_COMPACTION_THRESHOLD);
                  }
                  else
                  {
                      cfDef.setMin_compaction_threshold(Integer.parseInt(minCompactionThreshold));
                  }
              }
              catch (NumberFormatException nfe)
              {
                  log.error("Min_Compaction_Threshold should be numeric type, Caused by: . ", nfe);
                  throw new SchemaGenerationException(nfe);
              }
          }
      }
docs: On set compaction threshold.
  
  @param cfDef
  the cf def
  @param cfProperties
  the cf properties
  @param builder
  the builder