public static ConsistencyLevelPolicy buildConsistencyLevelPolicy(
     EntityManagerConfigurator entityManagerConfigurator) {
   // Default
   if (entityManagerConfigurator.getColumnFamiliesConsistency().isEmpty()
       && entityManagerConfigurator.getColumnFamiliesConsistency().isEmpty()) {
     log.debug(
         "DefaultConsistencyLevelPolicy: ColumnFamiliesConsistency and ColumnFamiliesConsistency were empty");
     return HFactory.createDefaultConsistencyLevelPolicy();
   }
   // Custom
   ConsistencyLevelPolicyConfigurator policy = new ConsistencyLevelPolicyConfigurator();
   policy.setColumnFamilyRules(entityManagerConfigurator.getColumnFamiliesConsistency());
   policy.setKeySpaceRules(entityManagerConfigurator.getKeySpaceConsistency());
   log.debug("Custom ConsistencyLevelPolicy Created with ConsistencyLevelPolicyConfigurator");
   return policy;
 }