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 17
17
18
18
package com .mongodb ;
19
19
20
+ import java .util .Map ;
21
+
20
22
/**
21
23
* This class groups the argument for a map/reduce operation and can build the underlying command object
22
24
* @dochub mapreduce
@@ -201,7 +203,7 @@ public void setLimit( int limit ){
201
203
*
202
204
* @return The JavaScript scope
203
205
*/
204
- public String getScope (){
206
+ public Map < String , Object > getScope (){
205
207
return _scope ;
206
208
}
207
209
@@ -211,7 +213,7 @@ public String getScope(){
211
213
* @param scope
212
214
* The JavaScript scope
213
215
*/
214
- public void setScope ( String scope ){
216
+ public void setScope ( Map < String , Object > scope ){
215
217
_scope = scope ;
216
218
}
217
219
@@ -288,6 +290,6 @@ public String toString() {
288
290
String _finalize ;
289
291
DBObject _sort ;
290
292
int _limit ;
291
- String _scope ;
293
+ Map < String , Object > _scope ;
292
294
Boolean _verbose = true ;
293
295
}
You can’t perform that action at this time.
0 commit comments