Interface QueryParameter
- All Known Implementing Classes:
Query
public interface QueryParameter
Request parameters a query should support.
-
Method Summary
Modifier and TypeMethodDescriptioncount()Add the count parameter as specified by the SensorThingsAPI specification.Add the filter parameter as specified by the SensorThingsAPI specification.Add the orderBy parameter as specified by the SensorThingsAPI specification.skip(int n) Add the skip parameter as specified by the SensorThingsAPI specification.top(int n) Add the top parameter as specified by the SensorThingsAPI specification.
-
Method Details
-
filter
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
Add the top parameter as specified by the SensorThingsAPI specification.- Parameters:
n- the limit- Returns:
- the updated instance of the query
-
orderBy
Add the orderBy parameter as specified by the SensorThingsAPI specification.- Parameters:
clause- the order clause- Returns:
- the updated instance of the query
-
skip
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
-
count
Query count()Add the count parameter as specified by the SensorThingsAPI specification.- Returns:
- the updated instance of the query
-