private Later < JsonNode > getRawBatchResult ( ) { if ( this . rawBatchResult == null ) { // Use LaterWrapper to cache the result so we don't fetch over and over this . rawBatchResult = new LaterWrapper < JsonNode , JsonNode > ( this . createFetcher ( ) ) ; // Also let the master know it's time to kick off any other batches and // remove us as a valid batch to add to. // This must be called *after* the rawBatchResult is set otherwise we // will have endless recursion when the master tries to execute us. this . master . execute ( ) ; } return this . rawBatchResult ; }
Get the batch result firing it off if necessary