com.mongodb.casbah

MongoCursor

class MongoCursor extends MongoCursorBase with Iterator[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[DBObject], TraversableOnce[DBObject], GenTraversableOnce[DBObject], MongoCursorBase, Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. MongoCursor
  2. Iterator
  3. TraversableOnce
  4. GenTraversableOnce
  5. MongoCursorBase
  6. Logging
  7. AnyRef
  8. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MongoCursor (underlying: DBCursor)

Type Members

  1. type T = DBObject

    Definition Classes
    MongoCursorMongoCursorBase

Value Members

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. 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
  5. def $hint [A] (obj: A)(implicit arg0: (A) ⇒ 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
  6. def $max [A] (obj: A)(implicit arg0: (A) ⇒ 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

  7. 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
  8. def $min [A] (obj: A)(implicit arg0: (A) ⇒ 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

  9. def $orderby [A] (obj: A)(implicit arg0: (A) ⇒ 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
  10. def $query [A] (q: A)(implicit arg0: (A) ⇒ 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
  11. 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
  12. 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
  13. 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
  14. def ++ [B >: DBObject] (that: ⇒ GenTraversableOnce[B]): Iterator[B]

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  16. def /:\ [A1 >: DBObject] (z: A1)(op: (A1, A1) ⇒ A1): A1

    Definition Classes
    GenTraversableOnce
  17. def :\ [B] (z: B)(op: (DBObject, B) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  18. def == (arg0: AnyRef): Boolean

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

    Attributes
    final
    Definition Classes
    Any
  20. 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
  21. 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
    Examples:
    1. addSpecial( "$maxScan" , 100 )

    2. ,
    3. addSpecial( "$returnKey" , 1 )

    See also

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

  22. def addString (b: StringBuilder): StringBuilder

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

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

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

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

    Attributes
    final
    Definition Classes
    Any
  27. 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
  28. def buffered : BufferedIterator[DBObject]

    Definition Classes
    Iterator
  29. def clone (): AnyRef

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

    close

    close

    Kill the current cursor on the server

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

    Definition Classes
    Iterator
    Annotations
    @migration
    Migration

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

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

    Definition Classes
    Iterator
  34. 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
  35. def copyToArray [B >: DBObject] (xs: Array[B], start: Int, len: Int): Unit

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

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

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

    Definition Classes
    TraversableOnce
  39. def count (p: (DBObject) ⇒ Boolean): Int

    Definition Classes
    TraversableOnce → GenTraversableOnce
  40. 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
    See also

    size()

  41. def cursorId : Long

    cursorId

    cursorId

    returns

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

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

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
  46. def equals (arg0: Any): Boolean

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

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  48. 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

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

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

    Definition Classes
    Iterator
  51. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  52. def find (p: (DBObject) ⇒ Boolean): Option[DBObject]

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

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

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

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

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

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

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  59. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef
  60. def grouped [B >: DBObject] (size: Int): GroupedIterator[B]

    Definition Classes
    Iterator
  61. def hasDefiniteSize : Boolean

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

    hasNext

    hasNext

    Is there another element in the cursor?

    returns

    (Boolean Next)

    Definition Classes
    MongoCursorBase
  63. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  64. 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
  65. def hint [A] (indexKeys: A)(implicit arg0: (A) ⇒ 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
  66. def indexOf [B >: DBObject] (elem: B): Int

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

    Definition Classes
    Iterator
  68. def isEmpty : Boolean

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

    Attributes
    final
    Definition Classes
    Any
  70. def isTraversableAgain : Boolean

    Definition Classes
    Iterator → GenTraversableOnce
  71. def keysWanted : DBObject

    Definition Classes
    MongoCursorBase
  72. def length : Int

    Definition Classes
    Iterator
  73. 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

  74. var log : Logger

    Attributes
    protected[casbah]
    Definition Classes
    Logging
  75. def map [B] (f: (DBObject) ⇒ B): Iterator[B]

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

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  78. def min [B >: DBObject] (implicit cmp: Ordering[B]): DBObject

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  80. def mkString : String

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
  84. 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
  85. def nonEmpty : Boolean

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

    Attributes
    final
    Definition Classes
    AnyRef
  87. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  88. def numGetMores : Int

    Definition Classes
    MongoCursorBase
  89. 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
  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 >: DBObject] (len: Int, elem: A1): Iterator[A1]

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

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

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  98. def query : DBObject

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

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

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

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

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

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

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

    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[DBObject]

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

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

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

    Definition Classes
    Iterator
  110. def seq : Iterator[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
    See also

    count()

  112. def sizes : Seq[Int]

    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 slaveOk (): DBCursor

    slaveOk

    slaveOk

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

    Definition Classes
    MongoCursorBase
  115. def slice (from: Int, until: Int): Iterator[DBObject]

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

    Definition Classes
    Iterator
  117. 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
  118. def sort [A] (orderBy: A)(implicit arg0: (A) ⇒ 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
  119. def span (p: (DBObject) ⇒ Boolean): (Iterator[DBObject], Iterator[DBObject])

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

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

    Attributes
    final
    Definition Classes
    AnyRef
  122. def take (n: Int): Iterator[DBObject]

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

    Definition Classes
    Iterator
  124. def toArray [B >: DBObject] (implicit arg0: ClassManifest[B]): Array[B]

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  136. val underlying : DBCursor

    Definition Classes
    MongoCursorMongoCursorBase
  137. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  140. def withFilter (p: (DBObject) ⇒ Boolean): Iterator[DBObject]

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

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

    Definition Classes
    Iterator
  143. def zipWithIndex : Iterator[(DBObject, Int)] { ... /* 2 definitions in type refinement */ }

    Definition Classes
    Iterator
  144. def append [B >: DBObject] (that: Iterator[B]): Iterator[B]

    Definition Classes
    Iterator
    Annotations
    @deprecated
    Deprecated

    use ++

  145. def counted : CountedIterator[DBObject]

    Definition Classes
    Iterator
    Annotations
    @deprecated
    Deprecated

    use zipWithIndex in Iterator

  146. def findIndexOf (p: (DBObject) ⇒ Boolean): Int

    Definition Classes
    Iterator
    Annotations
    @deprecated
    Deprecated

    use indexWhere instead

  147. def readInto [B >: DBObject] (xs: Array[B]): Unit

    Definition Classes
    Iterator
    Annotations
    @deprecated
    Deprecated

    use copyToArray instead

  148. def readInto [B >: DBObject] (xs: Array[B], start: Int): Unit

    Definition Classes
    Iterator
    Annotations
    @deprecated
    Deprecated

    use copyToArray instead

  149. def readInto [B >: DBObject] (xs: Array[B], start: Int, sz: Int): Unit

    Definition Classes
    Iterator
    Annotations
    @deprecated
    Deprecated

    use copyToArray instead

Inherited from Iterator[DBObject]

Inherited from TraversableOnce[DBObject]

Inherited from GenTraversableOnce[DBObject]

Inherited from MongoCursorBase

Inherited from Logging

Inherited from AnyRef

Inherited from Any