com.holonplatform.datastore.mongo.core.internal

## Class DefaultCollationOption

- java.lang.Object
- - com.holonplatform.datastore.mongo.core.internal.DefaultCollationOption

- All Implemented Interfaces:
    com.holonplatform.core.datastore.DatastoreOperations.WriteOption, CollationOption

      public class DefaultCollationOption
      extends Object
      implements CollationOption

  Default `CollationOption` implementation.
  Since:
    5.2.0

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DefaultCollationOption(com.mongodb.client.model.Collation collation)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `com.mongodb.client.model.Collation` | `getCollation()` Get the MongoDB `Collation` to use.

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface com.holonplatform.datastore.mongo.core.CollationOption

      `create`

- - ### Constructor Detail

    - #### DefaultCollationOption

          public DefaultCollationOption(com.mongodb.client.model.Collation collation)

  - ### Method Detail

    - #### getCollation

          public com.mongodb.client.model.Collation getCollation()

      Description copied from interface: `CollationOption`
      Get the MongoDB `Collation` to use.
      Specified by:
        `getCollation` in interface `CollationOption`
      Returns:
        the MongoDB `Collation` value

Copyright © 2019 The Holon Platform. All rights reserved.