@@ -61,7 +61,7 @@ public Long add(K key, Point point, M member) {
61
61
byte [] rawKey = rawKey (key );
62
62
byte [] rawMember = rawValue (member );
63
63
64
- return execute (connection -> connection .geoAdd (rawKey , point , rawMember ), true );
64
+ return execute (connection -> connection .geoAdd (rawKey , point , rawMember ));
65
65
}
66
66
67
67
/*
@@ -88,7 +88,7 @@ public Long add(K key, Map<M, Point> memberCoordinateMap) {
88
88
rawMemberCoordinateMap .put (rawMember , memberCoordinateMap .get (member ));
89
89
}
90
90
91
- return execute (connection -> connection .geoAdd (rawKey , rawMemberCoordinateMap ), true );
91
+ return execute (connection -> connection .geoAdd (rawKey , rawMemberCoordinateMap ));
92
92
}
93
93
94
94
/*
@@ -117,7 +117,7 @@ public Distance distance(K key, M member1, M member2) {
117
117
byte [] rawMember1 = rawValue (member1 );
118
118
byte [] rawMember2 = rawValue (member2 );
119
119
120
- return execute (connection -> connection .geoDist (rawKey , rawMember1 , rawMember2 ), true );
120
+ return execute (connection -> connection .geoDist (rawKey , rawMember1 , rawMember2 ));
121
121
}
122
122
123
123
/*
@@ -131,7 +131,7 @@ public Distance distance(K key, M member1, M member2, Metric metric) {
131
131
byte [] rawMember1 = rawValue (member1 );
132
132
byte [] rawMember2 = rawValue (member2 );
133
133
134
- return execute (connection -> connection .geoDist (rawKey , rawMember1 , rawMember2 , metric ), true );
134
+ return execute (connection -> connection .geoDist (rawKey , rawMember1 , rawMember2 , metric ));
135
135
}
136
136
137
137
/*
@@ -144,7 +144,7 @@ public List<String> hash(K key, M... members) {
144
144
byte [] rawKey = rawKey (key );
145
145
byte [][] rawMembers = rawValues (members );
146
146
147
- return execute (connection -> connection .geoHash (rawKey , rawMembers ), true );
147
+ return execute (connection -> connection .geoHash (rawKey , rawMembers ));
148
148
}
149
149
150
150
/*
@@ -156,7 +156,7 @@ public List<Point> position(K key, M... members) {
156
156
byte [] rawKey = rawKey (key );
157
157
byte [][] rawMembers = rawValues (members );
158
158
159
- return execute (connection -> connection .geoPos (rawKey , rawMembers ), true );
159
+ return execute (connection -> connection .geoPos (rawKey , rawMembers ));
160
160
}
161
161
162
162
/*
@@ -168,7 +168,7 @@ public GeoResults<GeoLocation<M>> radius(K key, Circle within) {
168
168
169
169
byte [] rawKey = rawKey (key );
170
170
171
- GeoResults <GeoLocation <byte []>> raw = execute (connection -> connection .geoRadius (rawKey , within ), true );
171
+ GeoResults <GeoLocation <byte []>> raw = execute (connection -> connection .geoRadius (rawKey , within ));
172
172
173
173
return deserializeGeoResults (raw );
174
174
}
@@ -182,7 +182,7 @@ public GeoResults<GeoLocation<M>> radius(K key, Circle within, GeoRadiusCommandA
182
182
183
183
byte [] rawKey = rawKey (key );
184
184
185
- GeoResults <GeoLocation <byte []>> raw = execute (connection -> connection .geoRadius (rawKey , within , args ), true );
185
+ GeoResults <GeoLocation <byte []>> raw = execute (connection -> connection .geoRadius (rawKey , within , args ));
186
186
187
187
return deserializeGeoResults (raw );
188
188
}
@@ -196,8 +196,8 @@ public GeoResults<GeoLocation<M>> radius(K key, M member, double radius) {
196
196
197
197
byte [] rawKey = rawKey (key );
198
198
byte [] rawMember = rawValue (member );
199
- GeoResults <GeoLocation <byte []>> raw = execute (connection -> connection . geoRadiusByMember ( rawKey , rawMember , radius ),
200
- true );
199
+ GeoResults <GeoLocation <byte []>> raw = execute (
200
+ connection -> connection . geoRadiusByMember ( rawKey , rawMember , radius ) );
201
201
202
202
return deserializeGeoResults (raw );
203
203
}
@@ -213,7 +213,7 @@ public GeoResults<GeoLocation<M>> radius(K key, M member, Distance distance) {
213
213
byte [] rawMember = rawValue (member );
214
214
215
215
GeoResults <GeoLocation <byte []>> raw = execute (
216
- connection -> connection .geoRadiusByMember (rawKey , rawMember , distance ), true );
216
+ connection -> connection .geoRadiusByMember (rawKey , rawMember , distance ));
217
217
218
218
return deserializeGeoResults (raw );
219
219
}
@@ -229,7 +229,7 @@ public GeoResults<GeoLocation<M>> radius(K key, M member, Distance distance, Geo
229
229
byte [] rawMember = rawValue (member );
230
230
231
231
GeoResults <GeoLocation <byte []>> raw = execute (
232
- connection -> connection .geoRadiusByMember (rawKey , rawMember , distance , param ), true );
232
+ connection -> connection .geoRadiusByMember (rawKey , rawMember , distance , param ));
233
233
234
234
return deserializeGeoResults (raw );
235
235
}
@@ -243,10 +243,10 @@ public Long remove(K key, M... members) {
243
243
244
244
byte [] rawKey = rawKey (key );
245
245
byte [][] rawMembers = rawValues (members );
246
- return execute (connection -> connection .zRem (rawKey , rawMembers ), true );
246
+ return execute (connection -> connection .zRem (rawKey , rawMembers ));
247
247
}
248
248
249
- /*
249
+ /*
250
250
* (non-Javadoc)
251
251
* @see org.springframework.data.redis.core.GeoOperations#search(java.lang.Object, org.springframework.data.redis.connection.RedisGeoCommands.GeoReference, org.springframework.data.redis.connection.RedisGeoCommands.GeoShape, org.springframework.data.redis.connection.RedisGeoCommands.GeoSearchCommandArgs)
252
252
*/
@@ -258,12 +258,12 @@ public GeoResults<GeoLocation<M>> search(K key, GeoReference<M> reference,
258
258
GeoReference <byte []> rawMember = getGeoReference (reference );
259
259
260
260
GeoResults <GeoLocation <byte []>> raw = execute (
261
- connection -> connection .geoSearch (rawKey , rawMember , geoPredicate , args ), true );
261
+ connection -> connection .geoSearch (rawKey , rawMember , geoPredicate , args ));
262
262
263
263
return deserializeGeoResults (raw );
264
264
}
265
265
266
- /*
266
+ /*
267
267
* (non-Javadoc)
268
268
* @see org.springframework.data.redis.core.GeoOperations#searchAndStore(java.lang.Object, java.lang.Object, org.springframework.data.redis.connection.RedisGeoCommands.GeoReference, org.springframework.data.redis.connection.RedisGeoCommands.GeoShape, org.springframework.data.redis.connection.RedisGeoCommands.GeoSearchStoreCommandArgs)
269
269
*/
@@ -275,7 +275,7 @@ public Long searchAndStore(K key, K destKey, GeoReference<M> reference,
275
275
byte [] rawDestKey = rawKey (destKey );
276
276
GeoReference <byte []> rawMember = getGeoReference (reference );
277
277
278
- return execute (connection -> connection .geoSearchStore (rawDestKey , rawKey , rawMember , geoPredicate , args ), true );
278
+ return execute (connection -> connection .geoSearchStore (rawDestKey , rawKey , rawMember , geoPredicate , args ));
279
279
}
280
280
281
281
@ SuppressWarnings ("unchecked" )
0 commit comments