@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 |
codecRegistry An additional codec registry |
java.util.List<java.lang.Class<? extends Codec>> |
codecs Custom MongoDB codecs |
java.lang.String |
connectionsCollection The collection name to use to resolve connections when using MongoConnectionSources |
java.lang.String |
databaseName The default database name |
boolean |
decimalType Whether to use the decimal128 type for BigDecimal values |
java.lang.String |
engine The engine to use by default |
java.lang.String |
host The host name to use |
java.lang.String |
password The password to use |
java.lang.Integer |
port The port to use |
boolean |
stateless Whether to use stateless mode by default |
java.lang.String |
username The username to use |
Properties inherited from class | Properties |
---|---|
class ConnectionSourceSettings |
autoFlush, autowire, connectionSourcesClass, custom, default, defaults, failOnError, failOnErrorPackages, flushMode, markDirty, multiTenancy |
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