QueryBridge

public interface QueryBridge<T extends Message>

An entity query bridge.

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.

Parameters

<T>

the type of the query result

Inheritors

Functions

Link copied to clipboard
public abstract T send(Query query)
Sends the given Query to the QueryService and dispatches the query response to the query response processor.