@ -53,6 +55,7 @@ public class DefaultIndexOperations implements IndexOperations {
@@ -53,6 +55,7 @@ public class DefaultIndexOperations implements IndexOperations {
privatefinalStringcollectionName;
privatefinalQueryMappermapper;
privatefinal@NullableClass<?>type;
privatefinalCreateIndexOptionscreateIndexOptions;
privatefinalMongoOperationsmongoOperations;
@ -92,6 +95,7 @@ public class DefaultIndexOperations implements IndexOperations {
@@ -92,6 +95,7 @@ public class DefaultIndexOperations implements IndexOperations {
@ -104,14 +108,30 @@ public class DefaultIndexOperations implements IndexOperations {
@@ -104,14 +108,30 @@ public class DefaultIndexOperations implements IndexOperations {
@ -128,7 +148,8 @@ public class DefaultIndexOperations implements IndexOperations {
@@ -128,7 +148,8 @@ public class DefaultIndexOperations implements IndexOperations {
@ -48,6 +51,7 @@ public class DefaultReactiveIndexOperations implements ReactiveIndexOperations {
@@ -48,6 +51,7 @@ public class DefaultReactiveIndexOperations implements ReactiveIndexOperations {
@ -71,15 +75,32 @@ public class DefaultReactiveIndexOperations implements ReactiveIndexOperations {
@@ -71,15 +75,32 @@ public class DefaultReactiveIndexOperations implements ReactiveIndexOperations {
Assert.notNull(mongoOperations,"ReactiveMongoOperations must not be null");
Assert.notNull(collectionName,"Collection must not be null");
Assert.notNull(queryMapper,"QueryMapper must not be null");
Assert.notNull(createIndexOptions,"CreateIndexOptions must not be null");
this.mongoOperations=mongoOperations;
this.collectionName=collectionName;
this.queryMapper=queryMapper;
this.type=type;
this.createIndexOptions=createIndexOptions;
}
@Override
@ -95,7 +116,8 @@ public class DefaultReactiveIndexOperations implements ReactiveIndexOperations {
@@ -95,7 +116,8 @@ public class DefaultReactiveIndexOperations implements ReactiveIndexOperations {
@ -102,13 +108,30 @@ public class DefaultReactiveIndexOperationsUnitTests {
@@ -102,13 +108,30 @@ public class DefaultReactiveIndexOperationsUnitTests {