Examples of CollectionOptions


Examples of org.apache.shindig.social.opensocial.spi.CollectionOptions

        Set<UserId> userIds = request.getUsers();
        String msgCollId = request.getParameter("msgCollId");
        List<String> messageIds = request.getListParameter("messageIds");

        CollectionOptions options = new CollectionOptions(request);

        HandlerPreconditions.requireNotEmpty(userIds, "No userId specified");
        HandlerPreconditions.requireSingular(userIds, "Multiple userIds not supported");

        UserId user = request.getUsers().iterator().next();
View Full Code Here

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
Copyright © 2018 www.massapi.com. 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.