File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1717
1818package com .mongodb ;
1919
20+ import java .util .Map ;
21+
2022/**
2123 * This class groups the argument for a map/reduce operation and can build the underlying command object
2224 * @dochub mapreduce
@@ -201,7 +203,7 @@ public void setLimit( int limit ){
201203 *
202204 * @return The JavaScript scope
203205 */
204- public String getScope (){
206+ public Map < String , Object > getScope (){
205207 return _scope ;
206208 }
207209
@@ -211,7 +213,7 @@ public String getScope(){
211213 * @param scope
212214 * The JavaScript scope
213215 */
214- public void setScope ( String scope ){
216+ public void setScope ( Map < String , Object > scope ){
215217 _scope = scope ;
216218 }
217219
@@ -288,6 +290,6 @@ public String toString() {
288290 String _finalize ;
289291 DBObject _sort ;
290292 int _limit ;
291- String _scope ;
293+ Map < String , Object > _scope ;
292294 Boolean _verbose = true ;
293295}
You can’t perform that action at this time.
0 commit comments