![]() ![]() Only takes effect if _concern is set to CUSTOM. if you want to ensure that writes are propagated to a specific number of replicas or given "tag set". This is useful in cases where the pre-defined configurations are not sufficient,Į.g. _concern_type Specifies a custom WriteConcern implementation type (fully-qualified name, class object or instance). This option is case insensitive and the default value is ACKNOWLEDGED. When set to CUSTOM, a custom WriteConcern implementation type has to be specified. Possible settings are (values of the WriteConcernType enum):ĪCKNOWLEDGED, UNACKNOWLEDGED, FSYNCED, JOURNALED, REPLICA_ACKNOWLEDGED, MAJORITY and CUSTOM. AS_LIST: map-typed associations will be stored as an array containing a sub-document for each map entry.Īll key and value columns will be contained within the array elementsĭefines the write concern setting to be applied when issuing writes against the MongoDB datastore.Organized by the given key Not applicable for other types of key columns, in which case always AS_LIST will be used BY_KEY: map-typed associations with a single key column which is of type String will be stored as a sub-document,._mechanismĭefine the authentication mechanism to use. All String, int and boolean propertiesĬan be set, eg .serverSelectionTimeout. _handler The fully-qualified class name, class object or an instance of ErrorHandler to get notified upon errors during flushes (see Section 6.3.1, “Acting upon errors during application of changes”) .* Defines a prefix for all options which should be passed through to the MongoDB driver.įor available options refer to the JavaDocs of MongoClientOptions.Builder. This property is ignored if the username isn’t specified. The password used to connect to the MongoDB server. The username used when connecting to the MongoDB server. ![]() _database If set to true, the database will be created if it doesn’t exist. If left undefined, the default port is 27017. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |