private void iterateAndPreparePuts ( JSONObject eventDetails , Put p , Hadoop2RecordType recType ) throws JSONException { Iterator < ? > keys = eventDetails . keys ( ) ; while ( keys . hasNext ( ) ) { String key = ( String ) keys . next ( ) ; processAllTypes ( p , recType , eventDetails , key ) ; } }
iterate over the event details and prepare puts