code: @Override
      public boolean nextKeyValue() throws IOException, InterruptedException
      {
          if (!deserializer.hasNextEvent()) {
              return false;
          }
          else {
              value = deserializer.getNextEvent();
              key = value.getEventDateTime();
              return true;
          }
      }
docs: Read the next key, value pair.
  
  @return true if a key/value pair was read
  @throws java.io.IOException
  @throws InterruptedException