Package org.hisp.dhis.query
Class Filter
java.lang.Object
org.hisp.dhis.query.Filter
Query filter.
- Author:
- Lars Helge Overland
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FilterCreates an equals toFilter.static FilterCreates a greater than or equals toFilter.static FilterCreates a greater thanFilter.static FilterCreates an ilikeFilter.static FilterCreates an inFilter.static FilterCreates an is falseFilter.static FilterCreates an is trueFilter.static FilterCreates a less than or equals toFilter.static FilterCreates a likeFilter.static FilterCreates a less thanFilter.static FilterCreates a tokenFilter.
-
Constructor Details
-
Filter
public Filter()
-
-
Method Details
-
eq
Creates an equals toFilter.- Parameters:
property- the filter property.value- the filter value.- Returns:
- a
Filter.
-
ge
Creates a greater than or equals toFilter.- Parameters:
property- the filter property.value- the filter value.- Returns:
- a
Filter.
-
gt
Creates a greater thanFilter.- Parameters:
property- the filter property.value- the filter value.- Returns:
- a
Filter.
-
le
Creates a less than or equals toFilter.- Parameters:
property- the filter property.value- the filter value.- Returns:
- a
Filter.
-
lt
Creates a less thanFilter.- Parameters:
property- the filter property.value- the filter value.- Returns:
- a
Filter.
-
isTrue
Creates an is trueFilter.- Parameters:
property- the filter property.- Returns:
- a
Filter.
-
isFalse
Creates an is falseFilter.- Parameters:
property- the filter property.- Returns:
- a
Filter.
-
like
Creates a likeFilter.- Parameters:
property- the filter property.value- the filter value.- Returns:
- a
Filter.
-
ilike
Creates an ilikeFilter.- Parameters:
property- the filter property.value- the filter value.- Returns:
- a
Filter.
-
token
Creates a tokenFilter.- Parameters:
property- the filter property.value- the filter value.- Returns:
- a
Filter.
-
in
Creates an inFilter.- Parameters:
property- the filter property.values- the filter values.- Returns:
- a
Filter.
-