Package com.imaginea.mongodb.services.impl

Examples of com.imaginea.mongodb.services.impl.SystemCollectionServiceImpl.addIndex()


        String response = new ResponseTemplate().execute(logger, connectionId, request, new ResponseCallback() {
            public Object execute() throws Exception {
                //Convert the json keys into a DB object
                DBObject keys = (DBObject) JSON.parse(index_keys);
                SystemCollectionService systemCollectionService = new SystemCollectionServiceImpl(connectionId);
                return systemCollectionService.addIndex(dbName, collectionName, keys);
            }

        });

        return response;
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.