Skip to content

Commit 991ae4d

Browse files
committed
chore: 一些文档调整
1 parent eda1f96 commit 991ae4d

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

eaphone-spring-data-query-mongodb/src/main/java/com/eaphonetech/common/datatables/mongodb/repository/EaphoneQueryRepositoryImpl.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,9 @@ public <View> QueryOutput<View> findAll(Class<View> classOfView, QueryInput inpu
182182
return findAll(classOfView, input, operations, null);
183183
}
184184

185+
/**
186+
* (non-Javadoc)
187+
*/
185188
@Override
186189
public <View> QueryOutput<View> findAll(Class<View> classOfView, QueryInput input,
187190
Collection<? extends AggregationOperation> preFilteringOperations,

eaphone-spring-data-query-mongodb/src/main/java/com/eaphonetech/common/datatables/mongodb/repository/MongoDBQueryRepository.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,11 @@ <View> QueryOutput<View> findAll(QueryInput input, Criteria additionalCrit, Crit
5858
* @param <View> generic
5959
* @param classOfView class of view
6060
* @param input the {@link QueryInput} mapped from the Ajax request
61-
* @param operations aggregation operations
61+
* @param preFilteringOperations aggregation operations
6262
* @return a {@link QueryOutput}
6363
*/
64-
<View> QueryOutput<View> findAll(Class<View> classOfView, QueryInput input, AggregationOperation... operations);
64+
<View> QueryOutput<View> findAll(Class<View> classOfView, QueryInput input,
65+
AggregationOperation... preFilteringOperations);
6566

6667
/**
6768
* Returns the filtered list for the given {@link QueryInput} using the given {@link TypedAggregation}
@@ -81,8 +82,8 @@ <View> QueryOutput<View> findAll(Class<View> classOfView, QueryInput input,
8182
* @param <View> generic
8283
* @param classOfView class of view
8384
* @param input the {@link QueryInput} mapped from the Ajax request
84-
* @param preFilteringOperations aggregation operations before applying input
85-
* @param postFilteringOperations aggregation operations after applying input
85+
* @param preFilteringOperations aggregation operations before applying input, usually any $match es
86+
* @param postFilteringOperations aggregation operations after applying input, maybe $group, $project s
8687
* @return a {@link QueryOutput}
8788
*/
8889
<View> QueryOutput<View> findAll(Class<View> classOfView, QueryInput input,

0 commit comments

Comments
 (0)