public MapReduceOptions < T > reduce ( final String reduce ) { Assert . parametersNotNull ( "reduce" , reduce ) ; Assert . parameterNotEmpty ( "reduce" , reduce ) ; this . reduce = reduce ; return this ; }
Sets the JavaScript function that reduces to a single object all the values associated with a particular key .