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.

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: AnyRef): Boolean

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

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

    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) ⇒ 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
  6. 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

  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) ⇒ 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

  9. 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
  10. 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
  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 >: Imports.DBObject](that: ⇒ GenTraversableOnce[B]): Iterator[B]

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

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

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

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

    Definition Classes
    Any
  19. 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
  20. 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}

  21. def addString(b: StringBuilder): StringBuilder

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

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

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

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

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

    Definition Classes
    Iterator
  28. def clone(): AnyRef

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

    close

    close

    Kill the current cursor on the server

    Definition Classes
    MongoCursorBase
  30. 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.

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

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

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

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

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

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

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

    Definition Classes
    Iterator
  39. def count(p: (Imports.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
    Exceptions thrown
    MongoException()

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

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

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

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

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

    Definition Classes
    AnyRef → Any
  47. def exists(p: (Imports.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: (Imports.DBObject) ⇒ Boolean): Iterator[Imports.DBObject]

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

    Definition Classes
    Iterator
  51. def finalize(): Unit

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef → Any
  60. def grouped[B >: Imports.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) ⇒ 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
  66. def indexOf[B >: Imports.DBObject](elem: B): Int

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

    Definition Classes
    Iterator
  68. def isEmpty: Boolean

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

    Definition Classes
    Any
  70. def isTraversableAgain: Boolean

    Definition Classes
    Iterator → GenTraversableOnce
  71. def keysWanted: Imports.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[com.mongodb.casbah]
    Definition Classes
    Logging
  75. def map[B](f: (Imports.DBObject) ⇒ B): Iterator[B]

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

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

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

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

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  81. def mkString: String

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

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

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

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

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

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

    Definition Classes
    AnyRef
  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 one(): Imports.DBObject

    returns

    the first matching document

    Since

    2.7

  91. 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

  92. 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

  93. 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

  94. 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

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

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

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

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

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

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

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

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

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

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

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

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

    Manipulate Query Options

    Manipulate Query Options

    Resets options to default.

    Definition Classes
    MongoCursorBase
    See also

    com.mongodb.Bytes

    com.mongodb.Mongo

  107. def reversed: List[Imports.DBObject]

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

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

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

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

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  112. 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()

  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

    Use snapshot mode for the query.

    Use snapshot mode for the query. Snapshot mode prevents the cursor from returning a document more than once because an intervening write operation results in a move of the document. Even in snapshot mode, documents inserted or deleted during the lifetime of the cursor may or may not be returned. 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 /:\[A1 >: Imports.DBObject](z: A1)(op: (A1, A1) ⇒ A1): A1

    Definition Classes
    GenTraversableOnce
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) use fold instead

  2. def slaveOk(): DBCursor

    slaveOk

    slaveOk

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

    Definition Classes
    MongoCursorBase
    Annotations
    @deprecated @SuppressWarnings()
    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