public final class MongoDriverInformation extends Object
The following metadata can be included when creating a MongoClient.
mongo-scala-driver1.2.0Scala 2.11
Note: Library authors are responsible for accepting MongoDriverInformation from external libraries using their library.
Also all the meta data is limited to 512 bytes and any excess data will be truncated.
| Modifier and Type | Class | Description |
|---|---|---|
static class |
MongoDriverInformation.Builder |
| Modifier and Type | Method | Description |
|---|---|---|
static MongoDriverInformation.Builder |
builder() |
Convenience method to create a Builder.
|
static MongoDriverInformation.Builder |
builder(MongoDriverInformation mongoDriverInformation) |
Convenience method to create a Builder.
|
List<String> |
getDriverNames() |
Returns the driverNames
|
List<String> |
getDriverPlatforms() |
Returns the driverPlatforms
|
List<String> |
getDriverVersions() |
Returns the driverVersions
|
public static MongoDriverInformation.Builder builder()
public static MongoDriverInformation.Builder builder(MongoDriverInformation mongoDriverInformation)
mongoDriverInformation - the mongoDriverInformation to extendpublic List<String> getDriverNames()
public List<String> getDriverVersions()