use of org.apache.ignite.internal.sql.engine.message.QueryStartResponse in project ignite-3 by apache.
the class ExecutionServiceImpl method start.
/**
* {@inheritDoc}
*/
@Override
public void start() {
iteratorsHolder.start();
topSrvc.addEventHandler(new NodeLeaveHandler(this::onNodeLeft));
msgSrvc.register((n, m) -> onMessage(n, (QueryStartRequest) m), SqlQueryMessageGroup.QUERY_START_REQUEST);
msgSrvc.register((n, m) -> onMessage(n, (QueryStartResponse) m), SqlQueryMessageGroup.QUERY_START_RESPONSE);
msgSrvc.register((n, m) -> onMessage(n, (ErrorMessage) m), SqlQueryMessageGroup.ERROR_MESSAGE);
}
Aggregations