code: private void populateCqlVersion(Map<String, Object> externalProperties) {
          String cqlVersion =
              externalProperties != null ? (String) externalProperties.get(CassandraConstants.CQL_VERSION) : null;
          if (cqlVersion == null || !(cqlVersion != null && (cqlVersion.equals(CassandraConstants.CQL_VERSION_2_0)
              || cqlVersion.equals(CassandraConstants.CQL_VERSION_3_0)))) {
              cqlVersion = (CassandraPropertyReader.csmd != null ? CassandraPropertyReader.csmd.getCqlVersion()
                  : CassandraConstants.CQL_VERSION_2_0);
          }
  
          if (cqlVersion.equals(CassandraConstants.CQL_VERSION_3_0)) {
              setCqlVersion(CassandraConstants.CQL_VERSION_3_0);
          } else {
              setCqlVersion(CassandraConstants.CQL_VERSION_2_0);
          }
      }
docs: Populate cql version.
  
  @param externalProperties
  the external properties