public Hit asHit() {
            Hit hit = new Hit(String.valueOf(eventNumber));
            hit.setField(type, data);
            return hit;
        }
A stream of events which can be rendered as Server-Sent Events (SSE).

@author lesters
container-search/src/main/java/com/yahoo/search/result/EventStream.java