com.mongodb.casbah.map_reduce

MapReduceResult

trait MapReduceResult extends Iterator[DBObject] with Logging

Wrapper for MongoDB MapReduceResults, implementing iterator to allow direct iterator over the result set.

Source
MapReduceResult.scala
Linear Supertypes
Logging, Iterator[DBObject], TraversableOnce[DBObject], GenTraversableOnce[DBObject], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. MapReduceResult
  2. Logging
  3. Iterator
  4. TraversableOnce
  5. GenTraversableOnce
  6. AnyRef
  7. Any
Visibility
  1. Public
  2. All

Abstract Value Members

  1. val cursor : Iterator[DBObject]

    Attributes
    abstract
  2. val raw : DBObject

    The raw output Object from the MongoDB MapReduce call

    The raw output Object from the MongoDB MapReduce call

    Attributes
    abstract

Concrete 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 ++ [B >: DBObject] (that: ⇒ GenTraversableOnce[B]): Iterator[B]

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

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

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

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

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

    Attributes
    final
    Definition Classes
    Any
  10. def addString (b: StringBuilder): StringBuilder

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

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

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

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

    Attributes
    final
    Definition Classes
    Any
  15. def buffered : BufferedIterator[DBObject]

    Definition Classes
    Iterator
  16. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  17. def collect [B] (pf: PartialFunction[DBObject, B]): Iterator[B]

    Definition Classes
    Iterator
    Annotations
    @migration
    Migration

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

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

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

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

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

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

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  25. def drop (n: Int): Iterator[DBObject]

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

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

    Definition Classes
    Iterator
  28. lazy val emitCount : Int

    Number of times 'emit' was called

  29. lazy val emitLoopTime : Option[Int]

    Amount of time spent Emitting

  30. def eq (arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  32. lazy val err : Option[String]

  33. val errorMessage : Option[String]

  34. def exists (p: (DBObject) ⇒ Boolean): Boolean

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  35. def filter (p: (DBObject) ⇒ Boolean): Iterator[DBObject]

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

    Definition Classes
    Iterator
  37. def finalize (): Unit

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

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

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

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

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

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

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

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

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

    Definition Classes
    Iterator
  47. def hasDefiniteSize : Boolean

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

    Definition Classes
    MapReduceResult → Iterator
  49. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  50. def indexOf [B >: DBObject] (elem: B): Int

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

    Definition Classes
    Iterator
  52. lazy val inputCount : Int

    Number of objects scanned

  53. def isEmpty : Boolean

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  54. val isError : Boolean

  55. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  56. def isTraversableAgain : Boolean

    Definition Classes
    Iterator → GenTraversableOnce
  57. def length : Int

    Definition Classes
    Iterator
  58. var log : Logger

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

    Definition Classes
    Iterator
  60. lazy val mapTime : Option[Long]

    Amount of time spent in the Map execution

  61. def max [B >: DBObject] (implicit cmp: Ordering[B]): DBObject

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

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

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  65. def mkString : String

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
  69. def next (): DBObject

    Definition Classes
    MapReduceResult → Iterator
  70. def nonEmpty : Boolean

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

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

    Attributes
    final
    Definition Classes
    AnyRef
  73. lazy val ok : Boolean

  74. lazy val outputCount : Int

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

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

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

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  79. def reduce [A1 >: DBObject] (op: (A1, A1) ⇒ A1): A1

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

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

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

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

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  85. def reversed : List[DBObject]

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

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

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

    Definition Classes
    Iterator
  89. def seq : Iterator[DBObject]

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  91. def slice (from: Int, until: Int): Iterator[DBObject]

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

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

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

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

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

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

    Definition Classes
    Iterator
  98. lazy val timeMillis : Int

    Number of milliseconds taken to execute

  99. def toArray [B >: DBObject] (implicit arg0: ClassManifest[B]): Array[B]

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  111. lazy val totalTime : Option[Int]

    Total time spent

  112. def wait (): Unit

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

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

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

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

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

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

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

    Definition Classes
    Iterator
    Annotations
    @deprecated
    Deprecated

    use ++

  120. def counted : CountedIterator[DBObject]

    Definition Classes
    Iterator
    Annotations
    @deprecated
    Deprecated

    use zipWithIndex in Iterator

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

    Definition Classes
    Iterator
    Annotations
    @deprecated
    Deprecated

    use indexWhere instead

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

    Definition Classes
    Iterator
    Annotations
    @deprecated
    Deprecated

    use copyToArray instead

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

    Definition Classes
    Iterator
    Annotations
    @deprecated
    Deprecated

    use copyToArray instead

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

    Definition Classes
    Iterator
    Annotations
    @deprecated
    Deprecated

    use copyToArray instead

Inherited from Logging

Inherited from Iterator[DBObject]

Inherited from TraversableOnce[DBObject]

Inherited from GenTraversableOnce[DBObject]

Inherited from AnyRef

Inherited from Any