com.mongodb.casbah

MongoCursor

class MongoCursor extends MongoCursorBase with Iterator[casbah.Imports.DBObject]

Concrete cursor implementation expecting standard DBObject operation This is the version of MongoCursorBase you should expect to use in most cases.

Source
MongoCursor.scala
Version

2.0, 12/23/10

Since

1.0

Linear Supertypes
Iterator[Imports.DBObject], TraversableOnce[Imports.DBObject], GenTraversableOnce[Imports.DBObject], MongoCursorBase, Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MongoCursor
  2. Iterator
  3. TraversableOnce
  4. GenTraversableOnce
  5. MongoCursorBase
  6. Logging
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MongoCursor(underlying: DBCursor)

    underlying

    (com.mongodb.DBCursor)

Type Members

  1. class GroupedIterator[B >: A] extends AbstractIterator[Seq[B]] with Iterator[Seq[B]]

    Definition Classes
    Iterator
  2. type T = DBObject

    Definition Classes
    MongoCursorMongoCursorBase

Value Members

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

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

    Definition Classes
    AnyRef → Any
  3. def $explain(bool: Boolean = true): MongoCursor.this.type

    $explain

    $explain

    Sets a special operator of $explain which, if true, explains the query instead of returning results.

    This is the same as calling the explain() method on the cursor.

    bool

    (Boolean = true)

    returns

    the same DBCursor, useful for chaining operations

    Definition Classes
    MongoCursorBase
  4. def $hint[A](obj: A)(implicit arg0: (A) ⇒ Imports.DBObject): MongoCursor.this.type

    $hint

    $hint

    Sets a special operator $hint which forces the query to use a given index.

    This is the same as calling hint() on the cursor.

    obj

    (DBObject)

    returns

    the same DBCursor, useful for chaining operations

    Definition Classes
    MongoCursorBase
  5. def $max[A](obj: A)(implicit arg0: (A) ⇒ Imports.DBObject): MongoCursor.this.type

    $max

    $max

    Sets maximum index bounds - commonly paired with $max

    obj

    (DBObject)

    returns

    the same DBCursor, useful for chaining operations

    Definition Classes
    MongoCursorBase
    See also

    http://www.mongodb.org/display/DOCS/max+and+max+Query+Specifiers

  6. def $maxScan[A](max: T)(implicit arg0: Numeric[A]): MongoCursor.this.type

    $maxScan

    $maxScan

    Sets a special operator of $maxScan Which defines the max number of items to scan.

    A

    : Numeric

    max

    (A)

    returns

    the same DBCursor, useful for chaining operations

    Definition Classes
    MongoCursorBase
  7. def $min[A](obj: A)(implicit arg0: (A) ⇒ Imports.DBObject): MongoCursor.this.type

    $min

    $min

    Sets minimum index bounds - commonly paired with $max

    obj

    (DBObject)

    returns

    the same DBCursor, useful for chaining operations

    Definition Classes
    MongoCursorBase
    See also

    http://www.mongodb.org/display/DOCS/min+and+max+Query+Specifiers

  8. def $orderby[A](obj: A)(implicit arg0: (A) ⇒ Imports.DBObject): MongoCursor.this.type

    $orderby

    $orderby

    Sets a special operator of $orderby which defines the sort spec for this cursor.

    This is the same as calling sort on the cursor.

    obj

    (DBObject)

    returns

    the same DBCursor, useful for chaining operations

    Definition Classes
    MongoCursorBase
  9. def $query[A](q: A)(implicit arg0: (A) ⇒ Imports.DBObject): MongoCursor.this.type

    $query

    $query

    Sets a special operator of $query Which defines the query for this cursor.

    This is the same as running find() on a Collection with the query.

    q

    (DBObject)

    returns

    the same DBCursor, useful for chaining operations

    Definition Classes
    MongoCursorBase
  10. def $returnKey(bool: Boolean = true): MongoCursor.this.type

    $returnKey

    $returnKey

    Sets a special operator of $returnKey If true, returns ONLY the index key. Defaults to true if you just call $returnKey

    bool

    (Boolean = true)

    returns

    the same DBCursor, useful for chaining operations

    Definition Classes
    MongoCursorBase
  11. def $showDiskLoc(bool: Boolean = true): MongoCursor.this.type

    $showDiskLoc

    $showDiskLoc

    Sets a special operator $showDiskLoc which, if true, shows the disk location of results.

    bool

    (Boolean = true)

    returns

    the same DBCursor, useful for chaining operations

    Definition Classes
    MongoCursorBase
  12. def $snapshot(bool: Boolean = true): MongoCursor.this.type

    $snapshot

    $snapshot

    Sets a special operator of $snapshot which, if True, sets snapshot mode on the query.

    This is the same as calling the snapshot() method on the cursor.

    bool

    (Boolean = true)

    returns

    the same DBCursor, useful for chaining operations

    Definition Classes
    MongoCursorBase
  13. def ++[B >: Imports.DBObject](that: ⇒ GenTraversableOnce[B]): Iterator[B]

    Definition Classes
    Iterator
  14. def /:[B](z: B)(op: (B, Imports.DBObject) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  15. def :\[B](z: B)(op: (Imports.DBObject, B) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  16. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  17. def _newInstance(cursor: DBCursor): MongoCursor

    _newInstance

    _newInstance

    Utility method which concrete subclasses are expected to implement for creating a new instance of THIS concrete implementation from a Java cursor. Good with cursor calls that return a new cursor.

    cursor

    (DBCursor)

    returns

    (this.type)

    Definition Classes
    MongoCursorMongoCursorBase
  18. def addSpecial(name: String, o: Any): MongoCursor.this.type

    "Special" Operators for cursors

    "Special" Operators for cursors

    adds a special operator like $maxScan or $returnKey

    returns

    the same DBCursor, useful for chaining operations

    Definition Classes
    MongoCursorBase
    See also

    http://www.mongodb.org/display/DOCS/Advanced+Queries#AdvancedQueries-Specialoperators { @inheritDoc}

  19. def addString(b: StringBuilder): StringBuilder

    Definition Classes
    TraversableOnce
  20. def addString(b: StringBuilder, sep: String): StringBuilder

    Definition Classes
    TraversableOnce
  21. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder

    Definition Classes
    TraversableOnce
  22. def aggregate[B](z: ⇒ B)(seqop: (B, Imports.DBObject) ⇒ B, combop: (B, B) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  23. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  24. def batchSize(n: Int): MongoCursorBase

    batchSize

    batchSize

    Limits the number of elements returned in one batch.

    n

    (Int) The number of elements to return in a batch

    returns

    the same DBCursor, useful for chaining operations

    Definition Classes
    MongoCursorBase
  25. def buffered: BufferedIterator[Imports.DBObject]

    Definition Classes
    Iterator
  26. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. def close(): Unit

    close

    close

    Kill the current cursor on the server

    Definition Classes
    MongoCursorBase
  28. def collect[B](pf: PartialFunction[Imports.DBObject, B]): Iterator[B]

    Definition Classes
    Iterator
    Annotations
    @migration
    Migration

    (Changed in version 2.8.0) collect has changed. The previous behavior can be reproduced with toSeq.

  29. def collectFirst[B](pf: PartialFunction[Imports.DBObject, B]): Option[B]

    Definition Classes
    TraversableOnce
  30. def contains(elem: Any): Boolean

    Definition Classes
    Iterator
  31. def copy(): MongoCursor

    copy

    copy

    Creates a new copy of an existing database cursor. The new cursor is an iterator even if the original was an array.

    returns

    The new cursor

    Definition Classes
    MongoCursorMongoCursorBase
  32. def copyToArray[B >: Imports.DBObject](xs: Array[B], start: Int, len: Int): Unit

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  33. def copyToArray[B >: Imports.DBObject](xs: Array[B]): Unit

    Definition Classes
    TraversableOnce → GenTraversableOnce
  34. def copyToArray[B >: Imports.DBObject](xs: Array[B], start: Int): Unit

    Definition Classes
    TraversableOnce → GenTraversableOnce
  35. def copyToBuffer[B >: Imports.DBObject](dest: Buffer[B]): Unit

    Definition Classes
    TraversableOnce
  36. def corresponds[B](that: GenTraversableOnce[B])(p: (Imports.DBObject, B) ⇒ Boolean): Boolean

    Definition Classes
    Iterator
  37. def count(p: (Imports.DBObject) ⇒ Boolean): Int

    Definition Classes
    TraversableOnce → GenTraversableOnce
  38. def count(): Int

    count

    count

    The DBCursor's count of elements in the query, passed through from the Java object. Note that Scala Iterator[_] base trait has a count method which tests predicates and you should be careful about using that.

    NOTE: count() ignores any skip/limit settings on a cursor; it is the count of the ENTIRE query results. If you want to get a count post-skip/limit you must use size()

    returns

    Int indicating the number of elements returned by the query

    Definition Classes
    MongoCursorBase
    Exceptions thrown
    MongoException()

    See also

    size()

  39. def cursorId: Long

    cursorId

    cursorId

    returns

    A long representing the cursorID on the server; 0 = no cursor

    Definition Classes
    MongoCursorBase
  40. def drop(n: Int): Iterator[Imports.DBObject]

    Definition Classes
    Iterator
  41. def dropWhile(p: (Imports.DBObject) ⇒ Boolean): Iterator[Imports.DBObject]

    Definition Classes
    Iterator
  42. def duplicate: (Iterator[Imports.DBObject], Iterator[Imports.DBObject])

    Definition Classes
    Iterator
  43. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  45. def exists(p: (Imports.DBObject) ⇒ Boolean): Boolean

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  46. def explain: CursorExplanation

    explain

    explain

    Returns an object containing basic information about the execution of the query that created this cursor. This creates an instance of CursorExplanation which is a custom dbObject with the key/value pairs: - cursor = Cursor Type - nscanned = Number of items examined by Mongo for this query - nscannedObjects = Number of objects examined by Mongo - n = the number of records which Mongo returned - millis = how long it took Mongo to execute the query - nYields = number of times this query yielded the read lock to let writes in - indexBounds = the index boundaries used.

    CursorExplanation provides utility methods to access these fields.

    returns

    an instance of CursorExplanation

    Definition Classes
    MongoCursorBase
    See also

    http://dochub.mongodb.org/core/explain

  47. def filter(p: (Imports.DBObject) ⇒ Boolean): Iterator[Imports.DBObject]

    Definition Classes
    Iterator
  48. def filterNot(p: (Imports.DBObject) ⇒ Boolean): Iterator[Imports.DBObject]

    Definition Classes
    Iterator
  49. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  50. def find(p: (Imports.DBObject) ⇒ Boolean): Option[Imports.DBObject]

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  51. def flatMap[B](f: (Imports.DBObject) ⇒ GenTraversableOnce[B]): Iterator[B]

    Definition Classes
    Iterator
  52. def fold[A1 >: Imports.DBObject](z: A1)(op: (A1, A1) ⇒ A1): A1

    Definition Classes
    TraversableOnce → GenTraversableOnce
  53. def foldLeft[B](z: B)(op: (B, Imports.DBObject) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  54. def foldRight[B](z: B)(op: (Imports.DBObject, B) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  55. def forall(p: (Imports.DBObject) ⇒ Boolean): Boolean

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  56. def foreach[U](f: (Imports.DBObject) ⇒ U): Unit

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  57. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  58. def grouped[B >: Imports.DBObject](size: Int): GroupedIterator[B]

    Definition Classes
    Iterator
  59. def hasDefiniteSize: Boolean

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  60. def hasNext: Boolean

    hasNext

    hasNext

    Is there another element in the cursor?

    returns

    (Boolean Next)

    Definition Classes
    MongoCursorBase
  61. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  62. def hint(indexName: String): MongoCursor.this.type

    hint

    hint

    Provide the Database a hint of an indexed field of a collection to use to improve performance.

    indexName

    (String) The name of an index

    returns

    the same DBCursor, useful for chaining operations

    Definition Classes
    MongoCursorBase
  63. def hint[A](indexKeys: A)(implicit arg0: (A) ⇒ Imports.DBObject): MongoCursor.this.type

    hint

    hint

    Provide the Database a hint of which indexed fields of a collection to use to improve performance.

    A

    A view of DBObject to use for the indexKeys

    indexKeys

    (A) A DBObject of the index names as keys

    returns

    the same DBCursor, useful for chaining operations

    Definition Classes
    MongoCursorBase
  64. def indexOf[B >: Imports.DBObject](elem: B): Int

    Definition Classes
    Iterator
  65. def indexWhere(p: (Imports.DBObject) ⇒ Boolean): Int

    Definition Classes
    Iterator
  66. def isEmpty: Boolean

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  67. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  68. def isTraversableAgain: Boolean

    Definition Classes
    Iterator → GenTraversableOnce
  69. def keysWanted: Imports.DBObject

    Definition Classes
    MongoCursorBase
  70. def length: Int

    Definition Classes
    Iterator
  71. def limit(n: Int): MongoCursor.this.type

    limit

    limit

    Limits the number of elements returned.

    NOTE: Specifying a negative number instructs the server to retrun that number of items and close the cursor. It will only return what can fit into a single 4MB response

    n

    (Int) The number of elements to return

    returns

    A cursor pointing to the first element of the limited results

    Definition Classes
    MongoCursorBase
    See also

    http://dochub.mongodb.org/core/limit

  72. var log: Logger

    Attributes
    protected[com.mongodb.casbah]
    Definition Classes
    Logging
  73. def map[B](f: (Imports.DBObject) ⇒ B): Iterator[B]

    Definition Classes
    Iterator
  74. def max[B >: Imports.DBObject](implicit cmp: Ordering[B]): Imports.DBObject

    Definition Classes
    TraversableOnce → GenTraversableOnce
  75. def maxBy[B](f: (Imports.DBObject) ⇒ B)(implicit cmp: Ordering[B]): Imports.DBObject

    Definition Classes
    TraversableOnce → GenTraversableOnce
  76. def maxTime(maxTime: Duration): MongoCursor

    Set the maximum execution time for operations on this cursor.

    Set the maximum execution time for operations on this cursor.

    maxTime

    the maximum time that the server will allow the query to run, before killing the operation. A non-zero value requires a server version >= 2.6

    returns

    the new cursor

    Since

    2.7

  77. def min[B >: Imports.DBObject](implicit cmp: Ordering[B]): Imports.DBObject

    Definition Classes
    TraversableOnce → GenTraversableOnce
  78. def minBy[B](f: (Imports.DBObject) ⇒ B)(implicit cmp: Ordering[B]): Imports.DBObject

    Definition Classes
    TraversableOnce → GenTraversableOnce
  79. def mkString: String

    Definition Classes
    TraversableOnce → GenTraversableOnce
  80. def mkString(sep: String): String

    Definition Classes
    TraversableOnce → GenTraversableOnce
  81. def mkString(start: String, sep: String, end: String): String

    Definition Classes
    TraversableOnce → GenTraversableOnce
  82. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  83. def next(): T

    next

    next

    Iterator increment.

    TODO: The cast to T should be examined for sanity/safety.

    returns

    The next element in the cursor

    Definition Classes
    MongoCursorBase
  84. def nonEmpty: Boolean

    Definition Classes
    TraversableOnce → GenTraversableOnce
  85. final def notify(): Unit

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

    Definition Classes
    AnyRef
  87. def numGetMores: Int

    Definition Classes
    MongoCursorBase
  88. def numSeen: Int

    numSeen

    numSeen

    Returns the number of objects through which this cursor has iterated, as tracked by the java driver.

    returns

    The number of objects seen

    Definition Classes
    MongoCursorBase
  89. def one(): Imports.DBObject

    returns

    the first matching document

    Since

    2.7

  90. def option: Int

    Manipulate Query Options

    Manipulate Query Options

    Gets current option settings - see Bytes.QUERYOPTION_* for list

    Definition Classes
    MongoCursorBase
    See also

    com.mongodb.Bytes

    com.mongodb.Mongo

  91. def option_=(option: Int): Unit

    Manipulate Query Options

    Manipulate Query Options

    Adds an option - see Bytes.QUERYOPTION_* for list TODO - Create Scala version of Bytes.QUERYOPTION_*

    Definition Classes
    MongoCursorBase
    See also

    com.mongodb.Bytes

    com.mongodb.Mongo

  92. def options: Int

    Manipulate Query Options

    Manipulate Query Options

    Gets current option settings - see Bytes.QUERYOPTION_* for list

    Definition Classes
    MongoCursorBase
    See also

    com.mongodb.Bytes

    com.mongodb.Mongo

  93. def options_=(opts: Int): Unit

    Manipulate Query Options

    Manipulate Query Options

    Sets current option settings - see Bytes.QUERYOPTION_* for list

    Definition Classes
    MongoCursorBase
    See also

    com.mongodb.Bytes

    com.mongodb.Mongo

  94. def padTo[A1 >: Imports.DBObject](len: Int, elem: A1): Iterator[A1]

    Definition Classes
    Iterator
  95. def partition(p: (Imports.DBObject) ⇒ Boolean): (Iterator[Imports.DBObject], Iterator[Imports.DBObject])

    Definition Classes
    Iterator
  96. def patch[B >: Imports.DBObject](from: Int, patchElems: Iterator[B], replaced: Int): Iterator[B]

    Definition Classes
    Iterator
  97. def product[B >: Imports.DBObject](implicit num: Numeric[B]): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  98. def query: Imports.DBObject

    Definition Classes
    MongoCursorBase
  99. def reduce[A1 >: Imports.DBObject](op: (A1, A1) ⇒ A1): A1

    Definition Classes
    TraversableOnce → GenTraversableOnce
  100. def reduceLeft[B >: Imports.DBObject](op: (B, Imports.DBObject) ⇒ B): B

    Definition Classes
    TraversableOnce
  101. def reduceLeftOption[B >: Imports.DBObject](op: (B, Imports.DBObject) ⇒ B): Option[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  102. def reduceOption[A1 >: Imports.DBObject](op: (A1, A1) ⇒ A1): Option[A1]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  103. def reduceRight[B >: Imports.DBObject](op: (Imports.DBObject, B) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  104. def reduceRightOption[B >: Imports.DBObject](op: (Imports.DBObject, B) ⇒ B): Option[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  105. def resetOptions(): DBCursor

    Manipulate Query Options

    Manipulate Query Options

    Resets options to default.

    Definition Classes
    MongoCursorBase
    See also

    com.mongodb.Bytes

    com.mongodb.Mongo

  106. def reversed: List[Imports.DBObject]

    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  107. def sameElements(that: Iterator[_]): Boolean

    Definition Classes
    Iterator
  108. def scanLeft[B](z: B)(op: (B, Imports.DBObject) ⇒ B): Iterator[B]

    Definition Classes
    Iterator
  109. def scanRight[B](z: B)(op: (Imports.DBObject, B) ⇒ B): Iterator[B]

    Definition Classes
    Iterator
  110. def seq: Iterator[Imports.DBObject]

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  111. def size: Int

    size

    size

    The DBCursor's count of elements in the query, AFTER the application of skip/limit, passed through from the Java object.

    NOTE: size() takes into account any skip/limit settings on a cursor; it is the size of just the window. If you want to get a count of the entire query ignoring skip/limit you must use count()

    returns

    Int indicating the number of elements returned by the query after skip/limit

    Definition Classes
    MongoCursor → TraversableOnce → GenTraversableOnce
    Exceptions thrown
    MongoException

    if errors

    See also

    count()

  112. def sizes: Buffer[Integer]

    Definition Classes
    MongoCursorBase
  113. def skip(n: Int): MongoCursor.this.type

    skip

    skip

    Discards a given number of elements at the beginning of the cursor.

    n

    (Int) The number of elements to skip

    returns

    A cursor pointing to the first element of the results

    Definition Classes
    MongoCursorBase
    See also

    http://dochub.mongodb.org/core/skip

  114. def slice(from: Int, until: Int): Iterator[Imports.DBObject]

    Definition Classes
    Iterator
  115. def sliding[B >: Imports.DBObject](size: Int, step: Int): GroupedIterator[B]

    Definition Classes
    Iterator
  116. def snapshot(): MongoCursor.this.type

    snapshot

    snapshot

    Use snapshot mode for the query. Snapshot mode assures no duplicates are returned, or objects missed, which were present at both the start and end of the query's execution (if an object is new during the query, or deleted during the query, it may or may not be returned, even with snapshot mode).

    NOTE: Short query responses (< 1MB) are always effectively snapshotted. NOTE: Currently, snapshot mode may not be used with sorting or explicit hints.

    returns

    the same DBCursor, useful for chaining operations

    Definition Classes
    MongoCursorBase
  117. def sort[A](orderBy: A)(implicit arg0: (A) ⇒ Imports.DBObject): MongoCursor.this.type

    sort

    sort

    Sort this cursor's elements

    A

    A view of DBObject to sort by

    orderBy

    (A) The fields on which to sort

    returns

    A cursor pointing to the first element of the sorted results

    Definition Classes
    MongoCursorBase
  118. def span(p: (Imports.DBObject) ⇒ Boolean): (Iterator[Imports.DBObject], Iterator[Imports.DBObject])

    Definition Classes
    Iterator
  119. def sum[B >: Imports.DBObject](implicit num: Numeric[B]): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  120. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  121. def take(n: Int): Iterator[Imports.DBObject]

    Definition Classes
    Iterator
  122. def takeWhile(p: (Imports.DBObject) ⇒ Boolean): Iterator[Imports.DBObject]

    Definition Classes
    Iterator
  123. def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, Imports.DBObject, Col[Imports.DBObject]]): Col[Imports.DBObject]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  124. def toArray[B >: Imports.DBObject](implicit arg0: ClassTag[B]): Array[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  125. def toBuffer[B >: Imports.DBObject]: Buffer[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  126. def toIndexedSeq: IndexedSeq[Imports.DBObject]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  127. def toIterable: Iterable[Imports.DBObject]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  128. def toIterator: Iterator[Imports.DBObject]

    Definition Classes
    Iterator → GenTraversableOnce
  129. def toList: List[Imports.DBObject]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  130. def toMap[T, U](implicit ev: <:<[Imports.DBObject, (T, U)]): Map[T, U]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  131. def toSeq: Seq[Imports.DBObject]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  132. def toSet[B >: Imports.DBObject]: Set[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  133. def toStream: Stream[Imports.DBObject]

    Definition Classes
    Iterator → GenTraversableOnce
  134. def toString(): String

    Definition Classes
    Iterator → AnyRef → Any
  135. def toTraversable: Traversable[Imports.DBObject]

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  136. def toVector: Vector[Imports.DBObject]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  137. val underlying: DBCursor

    (com.

    (com.mongodb.DBCursor)

    Definition Classes
    MongoCursorMongoCursorBase
  138. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  141. def withFilter(p: (Imports.DBObject) ⇒ Boolean): Iterator[Imports.DBObject]

    Definition Classes
    Iterator
  142. def zip[B](that: Iterator[B]): Iterator[(Imports.DBObject, B)]

    Definition Classes
    Iterator
  143. def zipAll[B, A1 >: Imports.DBObject, B1 >: B](that: Iterator[B], thisElem: A1, thatElem: B1): Iterator[(A1, B1)]

    Definition Classes
    Iterator
  144. def zipWithIndex: Iterator[(Imports.DBObject, Int)]

    Definition Classes
    Iterator

Deprecated Value Members

  1. def slaveOk(): DBCursor

    slaveOk

    slaveOk

    Makes this query OK to run on a non-master node.

    Definition Classes
    MongoCursorBase
    Annotations
    @deprecated
    Deprecated

    (Since version 2.3.0) Replaced with ReadPreference.SECONDARY

Inherited from Iterator[Imports.DBObject]

Inherited from TraversableOnce[Imports.DBObject]

Inherited from GenTraversableOnce[Imports.DBObject]

Inherited from MongoCursorBase

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped