Example usage for Java com.mongodb.client MongoClients fields, constructors, methods, implement or subclass
The text is from its open source code.
MongoClient | create(final MongoClientSettings settings) Create a new client with the given client settings. |
MongoClient | create(final String connectionString) Create a new client with the given connection string as if by a call to #create(ConnectionString) . |
MongoClient | create(final ConnectionString connectionString) Create a new client with the given connection string. |
MongoClient | create() Creates a new client with the default connection string "mongodb://localhost". |