public boolean hasNext() throws IOException {
   return eventStream.hasNext();
 }