private void onSetReplicateOnWrite ( CfDef cfDef , Properties cfProperties , StringBuilder builder ) { String replicateOnWrite = cfProperties . getProperty ( CassandraConstants . REPLICATE_ON_WRITE ) ; if ( builder != null ) { String replicateOn_Write = CQLTranslator . getKeyword ( CassandraConstants . REPLICATE_ON_WRITE ) ; builder . append ( replicateOn_Write ) ; builder . append ( CQLTranslator . EQ_CLAUSE ) ; builder . append ( Boolean . parseBoolean ( replicateOnWrite ) ) ; builder . append ( CQLTranslator . AND_CLAUSE ) ; } else if ( cfDef != null ) { cfDef . setReplicate_on_write ( false ) ; } }
On set replicate on write .