code: private boolean querySupported(Query<Entity> q) {
      return !containsAnyOperator(q, unsupportedOperators)
          && !containsComputedAttribute(q, getEntityType())
          && !containsNestedQueryRuleField(q);
    }
docs: Checks if the underlying repository can handle this query. Queries with unsupported operators,
  queries that use attributes with computed values or queries with nested query rule field are
  delegated to the index.