Skip to content

Commit bc594ec

Browse files
committed
feat: enhance CommandListener with additional parameters for aggregateFinished and createIndex methods and write more tests to cover the listeners. Use try-catch-finally method for exception handling
1 parent c5ce78f commit bc594ec

File tree

4 files changed

+585
-126
lines changed

4 files changed

+585
-126
lines changed

redis-om-spring/src/main/java/com/redis/om/spring/ops/CommandListener.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ default void createIndexStarted(String indexName, FTCreateParams params, List<Sc
2424
default void createIndexFinished(String indexName, FTCreateParams params, List<SchemaField> fields, Schema schema, IndexOptions options, String result){}
2525

2626
default void aggregateStarted(String indexName, AggregationBuilder q){}
27-
default void aggregateFinished(String indexName, AggregationBuilder q){}
27+
default void aggregateFinished(String indexName, AggregationBuilder q, AggregationResult result){}
2828

2929
default void cursorDeleteStarted(String string, long cursorId){}
3030
default void cursorDeleteFinished(String string, long cursorId, String result){}

0 commit comments

Comments
 (0)