private void onSetBloomFilter ( CfDef cfDef , Properties cfProperties , StringBuilder builder ) { String bloomFilterFpChance = cfProperties . getProperty ( CassandraConstants . BLOOM_FILTER_FP_CHANCE ) ; if ( bloomFilterFpChance != null ) { try { if ( builder != null ) { appendPropertyToBuilder ( builder , bloomFilterFpChance , CassandraConstants . BLOOM_FILTER_FP_CHANCE ) ; } else { cfDef . setBloom_filter_fp_chance ( Double . parseDouble ( bloomFilterFpChance ) ) ; } } catch ( NumberFormatException nfe ) { log . error ( "BLOOM_FILTER_FP_CHANCE should be double type, Caused by: ." , nfe ) ; throw new SchemaGenerationException ( nfe ) ; } } }
On set bloom filter .