1515 */
1616package org .springframework .data .mongodb .core ;
1717
18- import org .springframework .data .mongodb .core .aggregation .AggregationOperation ;
19- import org .springframework .data .mongodb .core .aggregation .AggregationPipeline ;
2018import reactor .core .publisher .Flux ;
2119import reactor .core .publisher .Mono ;
2220
2725import org .bson .Document ;
2826import org .reactivestreams .Publisher ;
2927import org .reactivestreams .Subscription ;
28+
3029import org .springframework .data .geo .GeoResult ;
3130import org .springframework .data .mongodb .ReactiveMongoDatabaseFactory ;
3231import org .springframework .data .mongodb .core .aggregation .Aggregation ;
32+ import org .springframework .data .mongodb .core .aggregation .AggregationOperation ;
3333import org .springframework .data .mongodb .core .aggregation .AggregationOptions ;
34+ import org .springframework .data .mongodb .core .aggregation .AggregationPipeline ;
3435import org .springframework .data .mongodb .core .aggregation .AggregationUpdate ;
3536import org .springframework .data .mongodb .core .aggregation .TypedAggregation ;
3637import org .springframework .data .mongodb .core .convert .MappingMongoConverter ;
@@ -243,7 +244,7 @@ <T> Mono<MongoCollection<Document>> createCollection(Class<T> entityClass,
243244 Mono <MongoCollection <Document >> createCollection (String collectionName , CollectionOptions collectionOptions );
244245
245246 /**
246- * Create a view with the the provided name whose contents are defined by the {@link AggregationOperation pipeline
247+ * Create a view with the provided name. The view content is defined by the {@link AggregationOperation pipeline
247248 * stages} on another collection or view identified by the given {@link #getCollectionName(Class) source type}.
248249 *
249250 * @param name the name of the view to create.
@@ -256,7 +257,7 @@ default Mono<MongoCollection<Document>> createView(String name, Class<?> source,
256257 }
257258
258259 /**
259- * Create a view with the the provided name whose contents are defined by the {@link AggregationPipeline pipeline} on
260+ * Create a view with the provided name. The view content is defined by the {@link AggregationPipeline pipeline} on
260261 * another collection or view identified by the given {@link #getCollectionName(Class) source type}.
261262 *
262263 * @param name the name of the view to create.
@@ -269,7 +270,7 @@ default Mono<MongoCollection<Document>> createView(String name, Class<?> source,
269270 }
270271
271272 /**
272- * Create a view with the the provided name whose contents are defined by the {@link AggregationPipeline pipeline} on
273+ * Create a view with the provided name. The view content is defined by the {@link AggregationPipeline pipeline} on
273274 * another collection or view identified by the given {@link #getCollectionName(Class) source type}.
274275 *
275276 * @param name the name of the view to create.
@@ -281,7 +282,7 @@ default Mono<MongoCollection<Document>> createView(String name, Class<?> source,
281282 Mono <MongoCollection <Document >> createView (String name , Class <?> source , AggregationPipeline pipeline , @ Nullable ViewOptions options );
282283
283284 /**
284- * Create a view with the the provided name whose contents are defined by the {@link AggregationPipeline pipeline} on
285+ * Create a view with the provided name. The view content is defined by the {@link AggregationPipeline pipeline} on
285286 * another collection or view identified by the given source.
286287 *
287288 * @param name the name of the view to create.
@@ -1445,7 +1446,7 @@ default Mono<Long> exactCount(Query query, String collectionName) {
14451446 Mono <DeleteResult > remove (Mono <? extends Object > objectToRemove , String collectionName );
14461447
14471448 /**
1448- * Remove all documents that match the provided query document criteria from the the collection used to store the
1449+ * Remove all documents that match the provided query document criteria from the collection used to store the
14491450 * entityClass. The Class parameter is also used to help convert the Id of the object if it is present in the query.
14501451 *
14511452 * @param query the query document that specifies the criteria used to remove a record.
@@ -1455,7 +1456,7 @@ default Mono<Long> exactCount(Query query, String collectionName) {
14551456 Mono <DeleteResult > remove (Query query , Class <?> entityClass );
14561457
14571458 /**
1458- * Remove all documents that match the provided query document criteria from the the collection used to store the
1459+ * Remove all documents that match the provided query document criteria from the collection used to store the
14591460 * entityClass. The Class parameter is also used to help convert the Id of the object if it is present in the query.
14601461 *
14611462 * @param query the query document that specifies the criteria used to remove a record.
@@ -1498,9 +1499,9 @@ default Mono<Long> exactCount(Query query, String collectionName) {
14981499 <T > Flux <T > findAllAndRemove (Query query , Class <T > entityClass );
14991500
15001501 /**
1501- * Returns and removes all documents that match the provided query document criteria from the the collection used to
1502- * store the entityClass. The Class parameter is also used to help convert the Id of the object if it is present in
1503- * the query.
1502+ * Returns and removes all documents that match the provided query document criteria from the collection used to store
1503+ * the entityClass. The Class parameter is also used to help convert the Id of the object if it is present in the
1504+ * query.
15041505 *
15051506 * @param query the query document that specifies the criteria used to find and remove documents.
15061507 * @param entityClass class of the pojo to be operated on.
0 commit comments