java.lang.Object | |
↳ | com.kinvey.java.query.MongoQueryFilter |
Implementation of QueryFilter and QueryFilter.builder for Mongo
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
class | MongoQueryFilter.MongoQueryFilterBuilder |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
MongoQueryFilter() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Object |
get(String key)
Get a value within the current filter based on a specified key
| ||||||||||
LinkedHashMap<String, Object> |
getFilter()
Get the current filter
| ||||||||||
void |
joinFilters(String operation, LinkedHashMap<String, Object> filterToJoin)
Join two filters together with a logical and/or
| ||||||||||
void |
put(String operation, String key, Object value)
Put a value in the QueryFilter
| ||||||||||
void |
put(String key, Object value)
Put a value in the QueryFilter
| ||||||||||
void |
put(String operation, String key, Object[] value)
Put a value in the QueryFilter
| ||||||||||
void |
reset()
Resets the current filter
| ||||||||||
void | setFilter(LinkedHashMap<String, Object> map) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Get a value within the current filter based on a specified key
Get the current filter
Join two filters together with a logical and/or
operation | and/or operator |
---|---|
filterToJoin | new filter to join to the current filter |
Put a value in the QueryFilter
operation | operator |
---|---|
key | field |
value | value |
Put a value in the QueryFilter
key | field |
---|---|
value | value |
Put a value in the QueryFilter
operation | operator |
---|---|
key | field |
value | value |
Resets the current filter