code: private void onSetReadRepairChance(CfDef cfDef, Properties cfProperties, StringBuilder builder)
      {
          String dclocalReadRepairChance = cfProperties.getProperty(CassandraConstants.DCLOCAL_READ_REPAIR_CHANCE);
          if (dclocalReadRepairChance != null)
          {
              try
              {
                  if (builder != null)
                  {
                      appendPropertyToBuilder(builder, dclocalReadRepairChance,
                              CassandraConstants.DCLOCAL_READ_REPAIR_CHANCE);
  
                  }
                  else
                  {
                      cfDef.setDclocal_read_repair_chance(Double.parseDouble(dclocalReadRepairChance));
                  }
              }
              catch (NumberFormatException nfe)
              {
                  log.error("READ_REPAIR_CHANCE should be double type, Caused by: {}.", nfe);
                  throw new SchemaGenerationException(nfe);
              }
          }
      }
docs: On set read repair chance.
  
  @param cfDef
  the cf def
  @param cfProperties
  the cf properties
  @param builder
  the builder