docs: public void clear() {
          this.union = true;
          this.type = QueryCriteriaType.NORMAL;
          this.ancestry.clear();
          if( this.criteria != null ) {
              this.criteria.clear();
          }
          this.currentCriteria = this.criteria;
  
          this.maxResults = null;
          this.offset = null;
          this.orderByListId = null;
          this.ascOrDesc = null;
  
         this.joinPredicates = null;
      }