@ Override public boolean nextKeyValue ( ) throws IOException , InterruptedException { if ( ! deserializer . hasNextEvent ( ) ) { return false ; } else { value = deserializer . getNextEvent ( ) ; key = value . getEventDateTime ( ) ; return true ; } }
Read the next key value pair .