java.lang.Object | |
↳ | com.kinvey.java.query.MongoQueryFilter.MongoQueryFilterBuilder |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
MongoQueryFilter.MongoQueryFilterBuilder() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
addFilter(String operator, String key, Object value)
Add a filter to the builder's QueryFilter
| ||||||||||
void |
addFilter(String operator, String key, Object[] value)
Add a filter to the builder's QueryFilter
| ||||||||||
void |
addLocationFilter(String field, String operator, double[] point, double distance)
Add a location filter
| ||||||||||
void |
addLocationWhereFilter(String field, String operator, double[][] points)
Add a location where filter
| ||||||||||
void |
equals(String key, Object value)
Adds an equality comparison to the QueryFilter
| ||||||||||
AbstractMap<String, Object> |
getFilterMap()
Gets the current filter map
| ||||||||||
String |
getOperator(QueryFilter.QueryFilterBuilder.Operators operator)
Helper method to get the concrete operator value from the passed in Operator
| ||||||||||
QueryFilter.QueryFilterBuilder.Operators | getOperatorKey(String value) | ||||||||||
void |
joinFilter(String operator, AbstractQuery newQuery)
Join the specified Query's filter to the current builder's queryfilter
| ||||||||||
void |
negateQuery()
Negates the current query filter.
| ||||||||||
void |
resetFilter()
Resets the current filter
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Add a filter to the builder's QueryFilter
Add a filter to the builder's QueryFilter
Add a location filter
point | an array of type double[] containing the latitude/longitude points |
---|
Add a location where filter
points | a 2D array of type double[][] containing points for geolocation |
---|
Adds an equality comparison to the QueryFilter
Gets the current filter map
Helper method to get the concrete operator value from the passed in Operator
Join the specified Query's filter to the current builder's queryfilter
Negates the current query filter.
Resets the current filter