Class Filters
java.lang.Object
ubic.gemma.persistence.util.Filters
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassBuilder for a disjunctive sub-clause. -
Method Summary
Modifier and TypeMethodDescriptionand()Start a new clause.<T> Filtersand(String objectAlias, String propertyName, Class<T> propertyType, Filter.Operator operator, Collection<T> requiredValues) Add a new clause of one explicit clause with a collection right hand side to to the conjunction.<T> Filtersand(String objectAlias, String propertyName, Class<T> propertyType, Filter.Operator operator, Collection<T> requiredValues, String originalProperty) <T> Filtersand(String objectAlias, String propertyName, Class<T> propertyType, Filter.Operator operator, T requiredValue) Add a clause of one explicit clause to the conjunction.<T> Filtersand(String objectAlias, String propertyName, Class<T> propertyType, Filter.Operator operator, T requiredValue, String originalProperty) <T> Filtersand(String objectAlias, String propertyName, Class<T> propertyType, Filter.Operator operator, Subquery requiredValues) <T> Filtersand(String objectAlias, String propertyName, Class<T> propertyType, Filter.Operator operator, Subquery requiredValues, String originalProperty) Add a clause of one or moreFiltersub-clauses to the conjunction.Add all the clauses of another filter to this.static <T> Filtersby(String objectAlias, String propertyName, Class<T> propertyType, Filter.Operator operator, Collection<T> requiredValue) static <T> Filtersby(String objectAlias, String propertyName, Class<T> propertyType, Filter.Operator operator, Collection<T> requiredValue, String originalProperty) static <T> Filtersby(String objectAlias, String propertyName, Class<T> propertyType, Filter.Operator operator, T requiredValue) Create a singletonFiltersfrom an explicit clause.static <T> Filtersby(String objectAlias, String propertyName, Class<T> propertyType, Filter.Operator operator, T requiredValue, String originalProperty) static <T> Filtersby(String objectAlias, String propertyName, Class<T> propertyType, Filter.Operator operator, Subquery requiredValue) static <T> Filtersby(String objectAlias, String propertyName, Class<T> propertyType, Filter.Operator operator, Subquery requiredValue, String originalProperty) static Filtersstatic FiltersCopy constructor.protected booleanstatic Filtersempty()Create an empty filter.booleaninthashCode()booleanisEmpty()Check if this contains an empty conjunction, or if all its clauses are empty.iterator()Obtain an iterator over the clauses contained in this conjunction.toString()Methods inherited from interface Iterable
forEach, spliterator
-
Method Details
-
empty
Create an empty filter. -
by
-
by
-
by
-
by
public static <T> Filters by(@Nullable String objectAlias, String propertyName, Class<T> propertyType, Filter.Operator operator, Collection<T> requiredValue) -
by
public static <T> Filters by(@Nullable String objectAlias, String propertyName, Class<T> propertyType, Filter.Operator operator, Collection<T> requiredValue, String originalProperty) -
by
-
by
-
by
-
and
Start a new clause. -
and
-
and
public <T> Filters and(@Nullable String objectAlias, String propertyName, Class<T> propertyType, Filter.Operator operator, @Nullable T requiredValue) Add a clause of one explicit clause to the conjunction. -
and
-
and
public <T> Filters and(@Nullable String objectAlias, String propertyName, Class<T> propertyType, Filter.Operator operator, Collection<T> requiredValues) Add a new clause of one explicit clause with a collection right hand side to to the conjunction. -
and
public <T> Filters and(@Nullable String objectAlias, String propertyName, Class<T> propertyType, Filter.Operator operator, Collection<T> requiredValues, String originalProperty) -
and
-
and
-
and
-
isEmpty
public boolean isEmpty()Check if this contains an empty conjunction, or if all its clauses are empty.An empty
Filtershas no effect whatsoever on the result of a query. -
iterator
-
toString
-
toOriginalString
-
equals
-
canEqual
-
hashCode
-