Package de.fraunhofer.iosb.ilt.sta.query
Interface QueryParameter<T extends Entity<T>>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Query<T>count()Add the count parameter as specified by the SensorThingsAPI specification.Query<T>filter(String options)Add the filter parameter as specified by the SensorThingsAPI specification.Query<T>orderBy(String clause)Add the orderBy parameter as specified by the SensorThingsAPI specification.Query<T>skip(int n)Add the skip parameter as specified by the SensorThingsAPI specification.Query<T>top(int n)Add the top parameter as specified by the SensorThingsAPI specification.
-
-
-
Method Detail
-
filter
Query<T> filter(String options)
Add the filter parameter as specified by the SensorThingsAPI specification.- Parameters:
options- the filter options as a string- Returns:
- the updated instance of the query
-
top
Query<T> top(int n)
Add the top parameter as specified by the SensorThingsAPI specification.- Parameters:
n- the limit- Returns:
- the updated instance of the query
-
orderBy
Query<T> orderBy(String clause)
Add the orderBy parameter as specified by the SensorThingsAPI specification.- Parameters:
clause- the order clause- Returns:
- the updated instance of the query
-
skip
Query<T> skip(int n)
Add the skip parameter as specified by the SensorThingsAPI specification.- Parameters:
n- the number of entities to skip- Returns:
- the updated instance of the query
-
-