private void setProperties ( KsDef ksDef , Map < String , String > strategy_options ) { Schema schema = CassandraPropertyReader . csmd . getSchema ( databaseName ) ; if ( schema != null && schema . getName ( ) != null && schema . getName ( ) . equalsIgnoreCase ( databaseName ) && schema . getSchemaProperties ( ) != null ) { setKeyspaceProperties ( ksDef , schema . getSchemaProperties ( ) , strategy_options , schema . getDataCenters ( ) ) ; } else { setDefaultReplicationFactor ( strategy_options ) ; } }
Sets the properties .