Package com.imaginea.mongodb.services.impl

Examples of com.imaginea.mongodb.services.impl.GridFSServiceImpl.dropBucket()


    public String dropBucket(@PathParam("dbName") final String dbName, @PathParam("bucketName") final String bucketName,
                             @QueryParam("connectionId") final String connectionId, @Context final HttpServletRequest request) {
        String response = new ResponseTemplate().execute(logger, connectionId, request, new ResponseCallback() {
            public Object execute() throws Exception {
                GridFSService gridFSService = new GridFSServiceImpl(connectionId);
                return gridFSService.dropBucket(dbName, bucketName);
            }
        });
        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.