Package

reactivemongo.api

indexes

Permalink

package indexes

Visibility
  1. Public
  2. All

Type Members

  1. sealed trait CollectionIndexesManager extends AnyRef

    Permalink

  2. sealed abstract class Index extends AnyRef

    Permalink

    A MongoDB index (excluding the namespace).

    A MongoDB index (excluding the namespace).

    Consider reading the documentation about indexes in MongoDB.

    import reactivemongo.api.bson.BSONDocument
    import reactivemongo.api.indexes.{ Index, IndexType }
    
    val bsonIndex = Index(
      key = Seq("name" -> IndexType.Ascending),
      name = Some("name_idx"),
      unique = false,
      background = false,
      sparse = false,
      expireAfterSeconds = None,
      storageEngine = None,
      weights = None,
      defaultLanguage = None,
      languageOverride = None,
      textIndexVersion = None,
      sphereIndexVersion = None,
      bits = None,
      min = None,
      max = None,
      bucketSize = None,
      collation = None,
      wildcardProjection = None,
      version = None,
      partialFilter = None,
      options = BSONDocument.empty)
  3. sealed trait IndexType extends AnyRef

    Permalink

    Type of Index

  4. sealed trait IndexesManager extends AnyRef

    Permalink

    Indexes manager at database level.

  5. sealed trait NSIndex extends AnyRef

    Permalink

    A MongoDB namespaced index.

    A MongoDB namespaced index. A MongoDB index is composed with the namespace (the fully qualified collection name) and the other fields of reactivemongo.api.indexes.Index.

    Consider reading the documentation about indexes in MongoDB.

Value Members

  1. object CollectionIndexesManager

    Permalink

    Factory for indexes manager scoped with a specified collection.

  2. object Index

    Permalink
  3. object IndexType

    Permalink
  4. object IndexesManager

    Permalink
  5. object NSIndex

    Permalink

Ungrouped