Java com.mongodb MongoClientURI fields, constructors, methods, implement or subclass

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

Introduction

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

The text is from its open source code.

Constructor

MongoClientURI(final String uri)
Creates a MongoURI from the given string.
MongoClientURI(final String uri, final MongoClientOptions.Builder builder)
Creates a MongoURI from the given URI string, and MongoClientOptions.Builder.

Method

booleanequals(final Object o)
StringgetCollection()
Gets the collection name
MongoCredentialgetCredentials()
Gets the credentials.
StringgetDatabase()
Gets the database name
ListgetHosts()
Gets the list of hosts
MongoClientOptionsgetOptions()
Gets the options
char[]getPassword()
Gets the password
StringgetURI()
Get the unparsed URI.
StringgetUsername()
Gets the username
StringtoString()