com.kinvey.java.query.QueryFilter |
![]() |
A mechanism to filter resultsets within a query
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
interface | QueryFilter.QueryFilterBuilder | Builder for Query object |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract Object |
get(String key)
Get a value within the current filter based on a specified key
| ||||||||||
abstract LinkedHashMap<String, Object> |
getFilter()
Get the current filter
| ||||||||||
abstract void |
joinFilters(String operation, LinkedHashMap<String, Object> newFilter)
Join two filters together with a logical and/or
| ||||||||||
abstract void |
put(String operation, String key, Object value)
Put a value in the QueryFilter
| ||||||||||
abstract void |
put(String key, Object value)
Put a value in the QueryFilter
| ||||||||||
abstract void |
put(String operation, String key, Object[] value)
Put a value in the QueryFilter
| ||||||||||
abstract void |
reset()
Resets the current filter
|
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 |
---|---|
newFilter | 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