@groovy.transform.AutoClone @groovy.transform.builder.Builder(builderStrategy: SimpleStrategy, prefix: ) @groovy.transform.CompileStatic abstract class AbstractMongoConnectionSourceSettings extends ConnectionSourceSettings implements MongoSettings
| Modifiers | Name | Description |
|---|---|---|
protected ConnectionString |
connectionString |
The connection string |
| Type | Name and description |
|---|---|
CodecRegistry |
codecRegistryAn additional codec registry |
java.util.List<java.lang.Class<? extends Codec>> |
codecsCustom MongoDB codecs |
java.lang.String |
connectionsCollectionThe collection name to use to resolve connections when using MongoConnectionSources |
java.lang.String |
databaseNameThe default database name |
boolean |
decimalTypeWhether to use the decimal128 type for BigDecimal values |
java.lang.String |
engineThe engine to use by default |
java.lang.String |
hostThe host name to use |
java.lang.String |
passwordThe password to use |
java.lang.Integer |
portThe port to use |
boolean |
statelessWhether to use stateless mode by default |
java.lang.String |
usernameThe username to use |
| Constructor and description |
|---|
AbstractMongoConnectionSourceSettings
() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
java.lang.String |
getDatabase()
|
|
ConnectionString |
getUrl()
|
|
void |
url(ConnectionString connectionString)
|
| Methods inherited from class | Name |
|---|---|
class ConnectionSourceSettings |
getDefault, setDefault |
The connection string
An additional codec registry
Custom MongoDB codecs
The collection name to use to resolve connections when using MongoConnectionSources
The default database name
Whether to use the decimal128 type for BigDecimal values
The engine to use by default
The host name to use
The password to use
The port to use
Whether to use stateless mode by default
The username to use
connectionString - The connection stringGroovy Documentation