No SQL > Mongo DB > How to get all Collection names from Mongo Database
How to get all Collection names from Mongo Database
MongoDB is a scalable, high-performance, open source NoSQL database.
It offers Ad hoc queries, Indexing, Replication, Load balancing, File storage (GridFS), Aggregation,
MapReduce and Server-side JavaScript execution.
This requires the library mongo-2.8.0.jar to be present in the classpath.
The following example shows how to get all collection names from the given Mongo database.