MongoSharding

Whether a store shards the collections it creates on a sharded cluster: AUTO when it is connected to a mongos and creates its schema (Ddl.AUTO), NONE for a cluster whose operators shard it themselves. The option sharding of a MongoDB store (wow.mongo.sharding), auto or none.

Entries

Link copied to clipboard
Link copied to clipboard

Companion properties

Link copied to clipboard

Returns an immutable kotlin.enums.EnumEntries list containing the constants of this enum type, in the order they're declared.

Companion functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Functions

Link copied to clipboard
fun shards(client: MongoClient, ddl: Ddl): Boolean

Whether a store over client with ddl shards its collections: asks the server only when it may.