@ Override @ SuppressWarnings ( "unchecked" ) public MapReduceBatchCursor < T > execute ( final ReadBinding binding ) { return executeCommand ( binding , namespace . getDatabaseName ( ) , getCommandCreator ( binding . getSessionContext ( ) ) , CommandResultDocumentCodec . create ( decoder , "results" ) , transformer ( ) , false ) ; }
Executing this will return a cursor with your results and the statistics in .