code: public void populateClientProperties(Client client, Map<String, Object> properties)
      {
          this.cassandraClientBase = (CassandraClientBase) client;
  
          if (properties != null)
          {
              for (String key : properties.keySet())
              {
  
                  Object value = properties.get(key);
  
                  if (checkNull(key, value))
                  {
  
                      if (key.equals(CONSISTENCY_LEVEL))
                      {
                          setConsistencylevel(value);
                      }
                      else if (key.equals(CQL_VERSION) && value instanceof String)
                      {
                          this.cassandraClientBase.setCqlVersion((String) value);
                      }
                      else if (key.equals(TTL_PER_SESSION))
                      {
                          setTTLPerSession(value);
                      }
                      else if (key.equals(TTL_PER_REQUEST))
                      {
                          setTTLPerRequest(value);
                      }
                      else if (key.equals(TTL_VALUES) && value instanceof Map)
                      {
                          this.cassandraClientBase.setTtlValues((Map) value);
                      }
                      else if (key.equals(PersistenceProperties.KUNDERA_BATCH_SIZE)
                              && !StringUtils.isBlank(value.toString()) && StringUtils.isNumeric(value.toString()))
                      {
                          this.cassandraClientBase.setBatchSize(value.toString());
                      }
  
                      // Add more properties as needed
                  }
              }
          }
      }
docs: Populate client properties.
  
  @param client the client
  @param properties the properties