Skip to content

Commit 32bbc27

Browse files
committed
[JAVA-251]: remove M/R method that automatically uses INLINE
1 parent 07458f9 commit 32bbc27

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

src/main/com/mongodb/DBCollection.java

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -907,24 +907,6 @@ public List distinct( String key , DBObject query ){
907907
return (List)(res.get( "values" ));
908908
}
909909

910-
/**
911-
* performs a map reduce operation
912-
* Runs the command in INLINE output mode
913-
*
914-
* @param map
915-
* map function in javascript code
916-
* @param reduce
917-
* reduce function in javascript code
918-
* @param query
919-
* to match
920-
* @return
921-
* @throws MongoException
922-
* @dochub mapreduce
923-
*/
924-
public MapReduceOutput mapReduce( String map , String reduce , DBObject query ) throws MongoException{
925-
return mapReduce( new MapReduceCommand( this , map , reduce , null, MapReduceCommand.OutputType.INLINE, query ) );
926-
}
927-
928910
/**
929911
* performs a map reduce operation
930912
* Runs the command in REPLACE output mode (saves to named collection)

0 commit comments

Comments
 (0)