code: private boolean isQueryConvertibleToCQL(KunderaQuery kunderaQuery) {
          EntityMetadata m = kunderaQuery.getEntityMetadata();
          if (kunderaQuery.isUpdateClause() && m.isCounterColumnType())
              return false;
  
          List<String> opsNotAllowed = Arrays.asList(new String[] { ">", "<", ">=", "<=" });
          boolean result = false;
          if (!kunderaQuery.getFilterClauseQueue().isEmpty()) {
              String idColumn = ((AbstractAttribute) m.getIdAttribute()).getJPAColumnName();
              for (Object o : kunderaQuery.getFilterClauseQueue()) {
                  if (o instanceof FilterClause) {
                      FilterClause filterClause = (FilterClause) o;
                      if (!idColumn.equals(filterClause.getProperty())
                          || opsNotAllowed.contains(filterClause.getCondition())) {
                          result = false;
                          break;
                      }
                      result = true;
                  }
              }
          }
          return result;
      }
docs: Checks whether a given JPA DML query is convertible to CQL.
  
  @param kunderaQuery
  the kundera query
  @return true, if is query convertible to cql