Package com.morpheusdata.core.data
Class DataFilter<T>
java.lang.Object
com.morpheusdata.core.data.DataFilter<T>
- Direct Known Subclasses:
DataAndFilter
,DataOrFilter
A filter representation when building complex filters for
DataQuery
within a MorpheusDataService
.
Filters can be combined with AND or OR operations (by default AND operations). To create nested conditional expressions
take advantage of the DataAndFilter
or the DataOrFilter
Note: For examples on how to use these filters, please refer to the documentation on the DataQuery
class.
- Since:
- 0.15.2
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDataFilter
(String name, String operator, T value) DataFilter
(String name, T value) -
Method Summary
-
Field Details
-
DEFAULT_OPERATOR
-
name
The Property name we are comparing the value against -
operator
The operator being used for comparison (i.e. =,!=,:,=~,<,<=,>,>=,in) -
value
The value to check the property value against as it relates to the operator
-
-
Constructor Details
-
DataFilter
public DataFilter() -
DataFilter
-
DataFilter
-