@groovy.transform.AutoClone @groovy.transform.builder.Builder(builderStrategy: SimpleStrategy, prefix: ) @groovy.transform.CompileStatic abstract class AbstractMongoConnectionSourceSettings extends ConnectionSourceSettings implements MongoSettings
Modifiers | Name | Description |
---|---|---|
private org.bson.codecs.configuration.CodecRegistry |
codecRegistry |
An additional codec registry |
private java.util.List<java.lang.Class<? extends org.bson.codecs.Codec>> |
codecs |
Custom MongoDB codecs |
protected com.mongodb.ConnectionString |
connectionString |
The connection string |
private java.lang.String |
connectionsCollection |
The collection name to use to resolve connections when using MongoConnectionSources |
private java.lang.String |
databaseName |
The default database name |
private boolean |
decimalType |
Whether to use the decimal128 type for BigDecimal values |
private java.lang.String |
engine |
The engine to use by default |
private java.lang.String |
host |
The host name to use |
private java.lang.String |
password |
The password to use |
private java.lang.Integer |
port |
The port to use |
private boolean |
stateless |
Whether to use stateless mode by default |
private java.lang.String |
username |
The username to use |
Fields inherited from class | Fields |
---|---|
class ConnectionSourceSettings |
autoFlush, autowire, connectionSourcesClass, custom, defaults, failOnError, failOnErrorPackages, flushMode, markDirty, multiTenancy |
Type | Name and description |
---|---|
org.bson.codecs.configuration.CodecRegistry |
codecRegistry An additional codec registry |
java.util.List<java.lang.Class<? extends org.bson.codecs.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 |
Constructor and description |
---|
AbstractMongoConnectionSourceSettings
() |
Type Params | Return Type | Name and description |
---|---|---|
|
java.lang.String |
getDatabase()
|
|
com.mongodb.ConnectionString |
getUrl()
|
|
void |
url(com.mongodb.ConnectionString connectionString)
|
Methods inherited from class | Name |
---|---|
class ConnectionSourceSettings |
getDefault, setDefault |
An additional codec registry
Custom MongoDB codecs
The connection string
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
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