T
- the type of the query resultpublic interface QueryBridge<T extends com.google.protobuf.Message>
Connects the QueryService
with a query response
processor. Typically, the query response processor is the channel which sends the query response
to the client.
No constrains are applied to the contents of the query. Neither any guaranties are made for the query result. Refer to the concrete implementations to find out the details of their behaviour.
Modifier and Type | Method and Description |
---|---|
T |
send(io.spine.client.Query query)
Sends the given
Query to the
QueryService and dispatches the query response
to the query response processor. |
T send(io.spine.client.Query query)
Query
to the
QueryService
and dispatches the query response
to the query response processor.
Returns the result of query processing.
query
- the query to send