Class FiltersUtils
java.lang.Object
ubic.gemma.persistence.util.FiltersUtils
-
Constructor Details
-
FiltersUtils
public FiltersUtils()
-
-
Method Details
-
containsAnyAlias
public static boolean containsAnyAlias(@Nullable Filters filters, @Nullable Sort sort, String... aliases) Check if an alias is mentioned in a set ofFilter.This should be used to eliminate parts of an HQL query that are not mentioned in the filters.
- Returns:
- true if any provided alias is mentioned anywhere in the set of filters
-
unnestSubquery
Unnest a filter from a subquery.A subquery carrying a conjunction unnests to its FIRST conjunct. The only caller validates the right-hand side of a collection operator, and the quantified-conjunction syntax puts the collection operator on the first predicate; there is no single filter to return otherwise.
-