@Override
    public boolean accept(ClickHouseProtocol protocol) {
        for (ClickHouseProtocol p : getSupportedProtocols()) {
            if (p == protocol) {
                return true;
            }
        }
        return ClickHouseClient.super.accept(protocol);
    }
Gets a connection according to the given request.

@param request non-null request
@return non-null connection
@throws CompletionException when error occured
clickhouse-client/src/main/java/com/clickhouse/client/AbstractClient.java