Class SignalEventQuery
- Direct Known Subclasses:
SignalEventQuery.AggregationQuery,SignalEventQuery.FilterLink,SignalEventQuery.GroupByQuery,SignalEventQuery.OrderByQuery
- API:
- This is a public API.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThis class provides methods to perform aggregations on the query.static classLinks a where condition with another.static classstatic classProvides methods to group the result by certain fields.static interfaceProvides methods to perform aggregations on the query.static interfacestatic interfaceBasic filter functionality provider for a column ofISignalEventstatic interfaceProvides filter functionality for a date column ofISignalEventstatic interfacestatic interfaceLinks a where condition with another.static interfacestatic interfaceProvides methods to group the result by certain fields.static interfaceProvides filter functionality for an integer column ofISignalEventstatic interfaceProvides filter functionality for a decimal number column ofISignalEventstatic interfaceProvides methods to order the result by columns ofISignalEvent.static interfaceProvides filter functionality for columns ofISignalEventthat can be filter by string patterns (isLike)static interfaceProvides filter functionality for a string column ofISignalEventstatic classProvides methods to define the direction of the sorting either ascending or descending.static classProvides methods to order the result by columns ofISignalEvent. -
Method Summary
Modifier and TypeMethodDescriptionReturns an object which contains the aggregation part for this query.
It provides methods to perform aggregations on the query.asJson()Deprecated.static SignalEventQuerycreate()Creates a new queryexecutor()Provides a fluent API to execute this query and fetch its results.static SignalEventQueryDeprecated.Do not serialize and deserializeSignalEventQuery.groupBy()Returns an object which contains the group by part for this query.
It provides methods to group the result by certain fields.orderBy()Returns an object which contains the order by part for this query.
It provides methods to order the result by certain columns.<T> TDeprecated.where()Returns an object which contains the where part for this query.
It provides methods to filter the result by certain columns.
-
Method Details
-
create
Creates a new query- Returns:
- A new instance of SignalEventQuery
- API:
- This public API is available in Java.
-
fromJson
Deprecated.Do not serialize and deserializeSignalEventQuery. There is no guarantee that the serialized form is compatible with each version of ivy.Creates a new query based on the given JSON. SeeSignalEventQueryfor an example.- Parameters:
json- the serialized SignalEventQuery, generated byasJson()- Returns:
- A new instance of SignalEventQuery
- API:
- This public API is available in Java.
-
executor
Provides a fluent API to execute this query and fetch its results.
- Returns:
- fluent API to execute this query.
- API:
- This public API is available in Java.
-
aggregate
Returns an object which contains the aggregation part for this query.
It provides methods to perform aggregations on the query. For each aggregation a column is added to the result set.- Returns:
- aggregate query
- API:
- This public API is available in Java.
-
groupBy
Returns an object which contains the group by part for this query.
It provides methods to group the result by certain fields.- Returns:
- A query group by builder to add group by statements
- See Also:
- API:
- This public API is available in Java.
-
orderBy
Returns an object which contains the order by part for this query.
It provides methods to order the result by certain columns.- Returns:
- An order by query builder to add order by statements
- API:
- This public API is available in Java.
-
where
Returns an object which contains the where part for this query.
It provides methods to filter the result by certain columns.- Returns:
- An filter query builder to add where statements
- API:
- This public API is available in Java.
-
asJson
Deprecated.Do not serialize and deserializeQuery. There is no guarantee that the serialized form is compatible with each version of ivy.This method allows to serialize a query as json and to deserialize the query by calling the corresponding fromJson(String) on the specific query.This allows to store the query in a database or send it over the wire to execute it at a later time or on a remote engine.
Note, that NOT all methods supports de-/serialization proper. When using database related parameters like a User or Role the method with the username or the rolename has to be used, in order to evaluate the correct user or role on execution.
- Returns:
- the query as json
- API:
- This public API is available in Java.
-
toType
Deprecated.- API:
- This public API is available in Java.
-
Query.