Package org.springframework.data.mongodb.core

Examples of org.springframework.data.mongodb.core.CollectionOptions


   @Before
   public void setUp() {
     template.dropCollection(COLLECTION_NAME);
    
     // capped
     template.createCollection(COLLECTION_NAME, new CollectionOptions(1000,5,true));
    
     // uncapped
     //template.createCollection(COLLECTION_NAME);
   }
View Full Code Here

TOP

Related Classes of org.springframework.data.mongodb.core.CollectionOptions

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.