scalaz.stream.mongodb.index

CollectionIndex

case class CollectionIndex(keys: Map[String, query.QueryEnums.Order.Value], background: Option[Boolean] = scala.None, unique: Option[Boolean] = scala.None, name: Option[String] = scala.None, dropDups: Option[Boolean] = scala.None, sparse: Option[Boolean] = scala.None, expireAfterSeconds: Option[Int] = scala.None, v: Option[Int] = scala.None, weights: Option[Map[String, Int]] = scala.None, defaultLanguage: Option[String] = scala.None, languageOverride: Option[String] = scala.None) extends Product with Serializable

Configuration of the index. Please see http://docs.mongodb.org/manual/reference/method/db.collection.ensureIndex/#db.collection.ensureIndex for explanation of the fields

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. CollectionIndex
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CollectionIndex(keys: Map[String, query.QueryEnums.Order.Value], background: Option[Boolean] = scala.None, unique: Option[Boolean] = scala.None, name: Option[String] = scala.None, dropDups: Option[Boolean] = scala.None, sparse: Option[Boolean] = scala.None, expireAfterSeconds: Option[Int] = scala.None, v: Option[Int] = scala.None, weights: Option[Map[String, Int]] = scala.None, defaultLanguage: Option[String] = scala.None, languageOverride: Option[String] = scala.None)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def background(b: Boolean): CollectionIndex

  8. val background: Option[Boolean]

  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def defaultLanguage(s: String): CollectionIndex

  11. val defaultLanguage: Option[String]

  12. def dropDups(b: Boolean): CollectionIndex

  13. val dropDups: Option[Boolean]

  14. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. def expireAfterSeconds(i: Int): CollectionIndex

  16. val expireAfterSeconds: Option[Int]

  17. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. val keys: Map[String, query.QueryEnums.Order.Value]

  21. lazy val keysAsBson: DBObject

  22. def languageOverride(s: String): CollectionIndex

  23. val languageOverride: Option[String]

  24. def name(s: String): CollectionIndex

  25. val name: Option[String]

  26. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  27. final def notify(): Unit

    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  29. lazy val optionsAsBson: DBObject

  30. def sparse(b: Boolean): CollectionIndex

  31. val sparse: Option[Boolean]

  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  33. def unique(b: Boolean): CollectionIndex

  34. val unique: Option[Boolean]

  35. val v: Option[Int]

  36. def version(i: Int): CollectionIndex

  37. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. def weights(h: (String, Int), t: (String, Int)*): CollectionIndex

  41. val weights: Option[Map[String, Int]]

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped