Java com.mongodb.client MongoClients fields, constructors, methods, implement or subclass

Example usage for Java com.mongodb.client MongoClients fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.mongodb.client MongoClients.

The text is from its open source code.

Method

MongoClientcreate(final MongoClientSettings settings)
Create a new client with the given client settings.
MongoClientcreate(final String connectionString)
Create a new client with the given connection string as if by a call to #create(ConnectionString) .
MongoClientcreate(final ConnectionString connectionString)
Create a new client with the given connection string.
MongoClientcreate()
Creates a new client with the default connection string "mongodb://localhost".