@@ -103,7 +103,7 @@ public Mono<Record> getAsync(String key, GetRecordOptions options) {
103103
104104 JsonNode jsonNode = new ObjectMapper ().valueToTree (value );
105105 return Mono .just (this .options .getVectorStoreRecordMapper ()
106- .mapStorageModeltoRecord (new SimpleEntry <>(key , jsonNode )));
106+ .mapStorageModeltoRecord (new SimpleEntry <>(key , jsonNode )));
107107 } catch (Exception e ) {
108108 return Mono .error (e );
109109 }
@@ -143,7 +143,7 @@ public Mono<List<Record>> getBatchAsync(List<String> keys,
143143
144144 JsonNode jsonNode = new ObjectMapper ().valueToTree (value );
145145 return this .options .getVectorStoreRecordMapper ()
146- .mapStorageModeltoRecord (new SimpleEntry <>(entry .getKey (), jsonNode ));
146+ .mapStorageModeltoRecord (new SimpleEntry <>(entry .getKey (), jsonNode ));
147147 })
148148 .collect (Collectors .toList ()));
149149 } catch (Exception e ) {
@@ -169,8 +169,8 @@ public Mono<String> upsertAsync(Record data, UpsertRecordOptions options) {
169169 String redisKey = getRedisKey (redisObject .getKey (), collectionName );
170170
171171 return Mono .fromRunnable (() -> client .jsonSet (redisKey , redisObject .getValue ()))
172- .subscribeOn (Schedulers .boundedElastic ())
173- .thenReturn (redisObject .getKey ());
172+ .subscribeOn (Schedulers .boundedElastic ())
173+ .thenReturn (redisObject .getKey ());
174174 }
175175
176176 /**
@@ -199,8 +199,8 @@ public Mono<List<String>> upsertBatchAsync(List<Record> data,
199199 });
200200
201201 return Mono .fromRunnable (pipeline ::sync )
202- .subscribeOn (Schedulers .boundedElastic ())
203- .thenReturn (keys );
202+ .subscribeOn (Schedulers .boundedElastic ())
203+ .thenReturn (keys );
204204 }
205205
206206 /**
@@ -218,8 +218,8 @@ public Mono<Void> deleteAsync(String key, DeleteRecordOptions options) {
218218 String redisKey = getRedisKey (key , collectionName );
219219
220220 return Mono .fromRunnable (() -> client .del (redisKey ))
221- .subscribeOn (Schedulers .boundedElastic ())
222- .then ();
221+ .subscribeOn (Schedulers .boundedElastic ())
222+ .then ();
223223 }
224224
225225 /**
@@ -241,7 +241,7 @@ public Mono<Void> deleteBatchAsync(List<String> strings, DeleteRecordOptions opt
241241 });
242242
243243 return Mono .fromRunnable (pipeline ::sync )
244- .subscribeOn (Schedulers .boundedElastic ())
245- .then ();
244+ .subscribeOn (Schedulers .boundedElastic ())
245+ .then ();
246246 }
247247}
0 commit comments