reactivemongo.api.indexes

IndexesManager

class IndexesManager extends AnyRef

A helper class to manage the indexes on the given database.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. IndexesManager
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new IndexesManager(db: DB)(implicit context: ExecutionContext)

    db

    The subject database.

Value Members

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

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from IndexesManager to any2stringadd[IndexesManager] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (IndexesManager, B)

    Implicit information
    This member is added by an implicit conversion from IndexesManager to ArrowAssoc[IndexesManager] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

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

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val collection: BSONCollection

  9. def create(nsIndex: NSIndex): Future[LastError]

    Creates the given index.

    Creates the given index.

    Warning: given the options you choose, and the data to index, it can be a long and blocking operation on the database. You should really consider reading http://www.mongodb.org/display/DOCS/Indexes before doing this, especially in production.

    nsIndex

    The index to create.

  10. def delete(collectionName: String, indexName: String): Future[Int]

    Deletes the given index on that database.

    Deletes the given index on that database.

    returns

    The deleted index number.

  11. def delete(nsIndex: NSIndex): Future[Int]

    Deletes the given index on that database.

    Deletes the given index on that database.

    returns

    The deleted index number.

  12. def ensure(nsIndex: NSIndex): Future[Boolean]

    Creates the given index only if it does not exist on this database.

    Creates the given index only if it does not exist on this database.

    Warning: given the options you choose, and the data to index, it can be a long and blocking operation on the database. You should really consider reading http://www.mongodb.org/display/DOCS/Indexes before doing this, especially in production.

    nsIndex

    The index to create.

    returns

    a future containing true if the index was created, false if it already exists.

  13. def ensuring(cond: (IndexesManager) ⇒ Boolean, msg: ⇒ Any): IndexesManager

    Implicit information
    This member is added by an implicit conversion from IndexesManager to Ensuring[IndexesManager] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: (IndexesManager) ⇒ Boolean): IndexesManager

    Implicit information
    This member is added by an implicit conversion from IndexesManager to Ensuring[IndexesManager] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean, msg: ⇒ Any): IndexesManager

    Implicit information
    This member is added by an implicit conversion from IndexesManager to Ensuring[IndexesManager] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean): IndexesManager

    Implicit information
    This member is added by an implicit conversion from IndexesManager to Ensuring[IndexesManager] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  19. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from IndexesManager to StringFormat[IndexesManager] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  21. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  22. def hashCode(): Int

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

    Definition Classes
    Any
  24. def list(): Future[List[NSIndex]]

    Gets a future list of all the index on this database.

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

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

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

    Definition Classes
    AnyRef
  28. def onCollection(name: String): CollectionIndexesManager

    Gets a manager for the given collection.

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

    Definition Classes
    AnyRef
  30. def toString(): String

    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. def [B](y: B): (IndexesManager, B)

    Implicit information
    This member is added by an implicit conversion from IndexesManager to ArrowAssoc[IndexesManager] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from IndexesManager to any2stringadd[IndexesManager]

Inherited by implicit conversion StringFormat from IndexesManager to StringFormat[IndexesManager]

Inherited by implicit conversion Ensuring from IndexesManager to Ensuring[IndexesManager]

Inherited by implicit conversion ArrowAssoc from IndexesManager to ArrowAssoc[IndexesManager]

Ungrouped