cc.factorie.db.mongo

MutableCubbieCollection

trait MutableCubbieCollection[C <: util.Cubbie] extends AbstractCubbieCollection[C]

A cubbie collection that can be modified (hence not covariant anymore).

C

Cubbie type of collection.

Linear Supertypes
AbstractCubbieCollection[C], Iterable[C], IterableLike[C, Iterable[C]], Equals, GenIterable[C], GenIterableLike[C, Iterable[C]], Traversable[C], GenTraversable[C], GenericTraversableTemplate[C, Iterable], TraversableLike[C, Iterable[C]], GenTraversableLike[C, Iterable[C]], Parallelizable[C, ParIterable[C]], TraversableOnce[C], GenTraversableOnce[C], FilterMonadic[C, Iterable[C]], HasNewBuilder[C, Iterable[C]], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MutableCubbieCollection
  2. AbstractCubbieCollection
  3. Iterable
  4. IterableLike
  5. Equals
  6. GenIterable
  7. GenIterableLike
  8. Traversable
  9. GenTraversable
  10. GenericTraversableTemplate
  11. TraversableLike
  12. GenTraversableLike
  13. Parallelizable
  14. TraversableOnce
  15. GenTraversableOnce
  16. FilterMonadic
  17. HasNewBuilder
  18. AnyRef
  19. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type Self = Iterable[C]

    Attributes
    protected
    Definition Classes
    TraversableLike
  2. class WithFilter extends FilterMonadic[A, Repr]

    Definition Classes
    TraversableLike

Abstract Value Members

  1. abstract def ++=(c: TraversableOnce[C]): Unit

    Batch insert of several cubbies.

    Batch insert of several cubbies. Can often be more efficient because underlying persistence layers can avoid network overhead.

    c

    the cubbies to add.

  2. abstract def +=(c: C): Unit

    Inserts the given cubbie into the collection.

    Inserts the given cubbie into the collection.

    c

    the cubbie to add.

  3. abstract def drop(): Unit

    Deletes the complete collection.

  4. abstract def findByAttribute[T](name: String, values: Seq[T]): Iterator[C]

    Find all cubbies for which the attribute/slot with the given name has a value within the provided sequence of values.

    Find all cubbies for which the attribute/slot with the given name has a value within the provided sequence of values.

    T

    the type of the values the attribute can have.

    name

    the name of the attribute.

    values

    the sequence of values the attribute can be in.

    returns

    all cubbies that have a slot with the given name for which the value is in the specified sequence of values.

    Definition Classes
    AbstractCubbieCollection
  5. abstract def findById(id: Any): Iterator[C]

    Find all cubbies for which the id is within the given set of ids.

    Find all cubbies for which the id is within the given set of ids.

    id

    the id of the object to find.

    returns

    all cubbies in this collection which have one of the provided ids.

    Definition Classes
    AbstractCubbieCollection
  6. abstract def findByIds(ids: Seq[Any]): Iterator[C]

    Find all cubbies for which the id is within the given set of ids.

    Find all cubbies for which the id is within the given set of ids.

    ids

    the ids to check against.

    returns

    all cubbies in this collection which have one of the provided ids.

    Definition Classes
    AbstractCubbieCollection
  7. abstract def findBySlot[T](field: (C) ⇒ Slot[T], values: Seq[T]): Iterator[C]

    Find all cubbies for which the provided field/slot has one of the provided values.

    Find all cubbies for which the provided field/slot has one of the provided values.

    T

    the type of the slot values.

    field

    a function from cubbie to the slot to test.

    values

    the values the slot can have to be included in the result.

    returns

    all cubbies in this collection for which the given slot has one of the given values.

    Definition Classes
    AbstractCubbieCollection
  8. abstract def iterator: Iterator[C]

    Definition Classes
    IterableLike → GenIterableLike
  9. abstract def prototype: C

    A prototype cubbie of the type this collection contains.

    A prototype cubbie of the type this collection contains.

    returns

    a prototype cubbie of the same type this collection holds.

    Definition Classes
    AbstractCubbieCollection
  10. abstract def remove(query: (C) ⇒ C): Unit

    Removes all cubbies that match the given query.

    Removes all cubbies that match the given query.

    query

    a function that takes a cubbie and returns a query cubbie.

  11. abstract def updateDelta(oldCubbie: C, newCubbie: C): WriteResult

    Assuming that the collection contains the old-cubbie, this operation changes the old-cubbie to be in the state of the new cubbie.

    Assuming that the collection contains the old-cubbie, this operation changes the old-cubbie to be in the state of the new cubbie. This assumes that both cubbies have the same id.

    oldCubbie

    the old state of the cubbie.

    newCubbie

    the new state of the cubbie.

Concrete 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 ++[B >: C, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[C], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  5. def ++:[B >: C, That](that: Traversable[B])(implicit bf: CanBuildFrom[Iterable[C], B, That]): That

    Definition Classes
    TraversableLike
  6. def ++:[B >: C, That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[C], B, That]): That

    Definition Classes
    TraversableLike
  7. def /:[B](z: B)(op: (B, C) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  8. def :\[B](z: B)(op: (C, B) ⇒ B): B

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

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

    Definition Classes
    Any
  11. def addString(b: StringBuilder): StringBuilder

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

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

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

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

    Definition Classes
    Any
  16. def canEqual(that: Any): Boolean

    Definition Classes
    IterableLike → Equals
  17. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. def collect[B, That](pf: PartialFunction[C, B])(implicit bf: CanBuildFrom[Iterable[C], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  19. def collectFirst[B](pf: PartialFunction[C, B]): Option[B]

    Definition Classes
    TraversableOnce
  20. def companion: GenericCompanion[Iterable]

    Definition Classes
    Iterable → GenIterable → Traversable → GenTraversable → GenericTraversableTemplate
  21. def copyToArray[B >: C](xs: Array[B], start: Int, len: Int): Unit

    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  22. def copyToArray[B >: C](xs: Array[B]): Unit

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

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

    Definition Classes
    TraversableOnce
  25. def count(p: (C) ⇒ Boolean): Int

    Definition Classes
    TraversableOnce → GenTraversableOnce
  26. def drop(n: Int): Iterable[C]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  27. def dropRight(n: Int): Iterable[C]

    Definition Classes
    IterableLike
  28. def dropWhile(p: (C) ⇒ Boolean): Iterable[C]

    Definition Classes
    TraversableLike → GenTraversableLike
  29. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  31. def exists(p: (C) ⇒ Boolean): Boolean

    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  32. def filter(p: (C) ⇒ Boolean): Iterable[C]

    Definition Classes
    TraversableLike → GenTraversableLike
  33. def filterNot(p: (C) ⇒ Boolean): Iterable[C]

    Definition Classes
    TraversableLike → GenTraversableLike
  34. def finalize(): Unit

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

    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  36. def flatMap[B, That](f: (C) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[C], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  37. def flatten[B](implicit asTraversable: (C) ⇒ GenTraversableOnce[B]): Iterable[B]

    Definition Classes
    GenericTraversableTemplate
  38. def fold[A1 >: C](z: A1)(op: (A1, A1) ⇒ A1): A1

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

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

    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  41. def forall(p: (C) ⇒ Boolean): Boolean

    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  42. def foreach[U](f: (C) ⇒ U): Unit

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
  43. def genericBuilder[B]: Builder[B, Iterable[B]]

    Definition Classes
    GenericTraversableTemplate
  44. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  45. def groupBy[K](f: (C) ⇒ K): Map[K, Iterable[C]]

    Definition Classes
    TraversableLike → GenTraversableLike
  46. def grouped(size: Int): Iterator[Iterable[C]]

    Definition Classes
    IterableLike
  47. def hasDefiniteSize: Boolean

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  48. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  49. def head: C

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  50. def headOption: Option[C]

    Definition Classes
    TraversableLike → GenTraversableLike
  51. def init: Iterable[C]

    Definition Classes
    TraversableLike → GenTraversableLike
  52. def inits: Iterator[Iterable[C]]

    Definition Classes
    TraversableLike
  53. def isEmpty: Boolean

    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  54. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  55. final def isTraversableAgain: Boolean

    Definition Classes
    TraversableLike → GenTraversableLike → GenTraversableOnce
  56. def last: C

    Definition Classes
    TraversableLike → GenTraversableLike
  57. def lastOption: Option[C]

    Definition Classes
    TraversableLike → GenTraversableLike
  58. def map[B, That](f: (C) ⇒ B)(implicit bf: CanBuildFrom[Iterable[C], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  59. def max[B >: C](implicit cmp: Ordering[B]): C

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

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

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  63. def mkString: String

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

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

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

    Definition Classes
    AnyRef
  67. def newBuilder: Builder[C, Iterable[C]]

    Attributes
    protected[this]
    Definition Classes
    GenericTraversableTemplate → HasNewBuilder
  68. def nonEmpty: Boolean

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

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

    Definition Classes
    AnyRef
  71. def par: ParIterable[C]

    Definition Classes
    Parallelizable
  72. def parCombiner: Combiner[C, ParIterable[C]]

    Attributes
    protected[this]
    Definition Classes
    TraversableLike → Parallelizable
  73. def partition(p: (C) ⇒ Boolean): (Iterable[C], Iterable[C])

    Definition Classes
    TraversableLike → GenTraversableLike
  74. def product[B >: C](implicit num: Numeric[B]): B

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

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

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

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

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

    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  80. def reduceRightOption[B >: C](op: (C, B) ⇒ B): Option[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  81. def repr: Iterable[C]

    Definition Classes
    TraversableLike → GenTraversableLike
  82. def reversed: List[C]

    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  83. def sameElements[B >: C](that: GenIterable[B]): Boolean

    Definition Classes
    IterableLike → GenIterableLike
  84. def scan[B >: C, That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[Iterable[C], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  85. def scanLeft[B, That](z: B)(op: (B, C) ⇒ B)(implicit bf: CanBuildFrom[Iterable[C], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  86. def scanRight[B, That](z: B)(op: (C, B) ⇒ B)(implicit bf: CanBuildFrom[Iterable[C], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) The behavior of scanRight has changed. The previous behavior can be reproduced with scanRight.reverse.

  87. def seq: Iterable[C]

    Definition Classes
    Iterable → GenIterable → Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
  88. def size: Int

    Definition Classes
    TraversableOnce → GenTraversableOnce
  89. def slice(from: Int, until: Int): Iterable[C]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  90. def sliding(size: Int, step: Int): Iterator[Iterable[C]]

    Definition Classes
    IterableLike
  91. def sliding(size: Int): Iterator[Iterable[C]]

    Definition Classes
    IterableLike
  92. def span(p: (C) ⇒ Boolean): (Iterable[C], Iterable[C])

    Definition Classes
    TraversableLike → GenTraversableLike
  93. def splitAt(n: Int): (Iterable[C], Iterable[C])

    Definition Classes
    TraversableLike → GenTraversableLike
  94. def stringPrefix: String

    Definition Classes
    TraversableLike → GenTraversableLike
  95. def sum[B >: C](implicit num: Numeric[B]): B

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

    Definition Classes
    AnyRef
  97. def tail: Iterable[C]

    Definition Classes
    TraversableLike → GenTraversableLike
  98. def tails: Iterator[Iterable[C]]

    Definition Classes
    TraversableLike
  99. def take(n: Int): Iterable[C]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  100. def takeRight(n: Int): Iterable[C]

    Definition Classes
    IterableLike
  101. def takeWhile(p: (C) ⇒ Boolean): Iterable[C]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  102. def thisCollection: Iterable[C]

    Attributes
    protected[this]
    Definition Classes
    IterableLike → TraversableLike
  103. def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, C, Col[C]]): Col[C]

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  104. def toArray[B >: C](implicit arg0: ClassTag[B]): Array[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  105. def toBuffer[B >: C]: Buffer[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  106. def toCollection(repr: Iterable[C]): Iterable[C]

    Attributes
    protected[this]
    Definition Classes
    IterableLike → TraversableLike
  107. def toIndexedSeq: IndexedSeq[C]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  108. def toIterable: Iterable[C]

    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  109. def toIterator: Iterator[C]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
  110. def toList: List[C]

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  112. def toSeq: Seq[C]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  113. def toSet[B >: C]: Set[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  114. def toStream: Stream[C]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
  115. def toString(): String

    Definition Classes
    TraversableLike → Any
  116. def toTraversable: Traversable[C]

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  117. def toVector: Vector[C]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  118. def transpose[B](implicit asTraversable: (C) ⇒ GenTraversableOnce[B]): Iterable[Iterable[B]]

    Definition Classes
    GenericTraversableTemplate
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) transpose throws an IllegalArgumentException if collections are not uniformly sized.

  119. def unzip[A1, A2](implicit asPair: (C) ⇒ (A1, A2)): (Iterable[A1], Iterable[A2])

    Definition Classes
    GenericTraversableTemplate
  120. def unzip3[A1, A2, A3](implicit asTriple: (C) ⇒ (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])

    Definition Classes
    GenericTraversableTemplate
  121. def view(from: Int, until: Int): IterableView[C, Iterable[C]]

    Definition Classes
    IterableLike → TraversableLike
  122. def view: IterableView[C, Iterable[C]]

    Definition Classes
    IterableLike → TraversableLike
  123. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  126. def withFilter(p: (C) ⇒ Boolean): FilterMonadic[C, Iterable[C]]

    Definition Classes
    TraversableLike → FilterMonadic
  127. def zip[A1 >: C, B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[Iterable[C], (A1, B), That]): That

    Definition Classes
    IterableLike → GenIterableLike
  128. def zipAll[B, A1 >: C, That](that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[Iterable[C], (A1, B), That]): That

    Definition Classes
    IterableLike → GenIterableLike
  129. def zipWithIndex[A1 >: C, That](implicit bf: CanBuildFrom[Iterable[C], (A1, Int), That]): That

    Definition Classes
    IterableLike → GenIterableLike

Deprecated Value Members

  1. def /:\[A1 >: C](z: A1)(op: (A1, A1) ⇒ A1): A1

    Definition Classes
    GenTraversableOnce
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) use fold instead

Inherited from AbstractCubbieCollection[C]

Inherited from Iterable[C]

Inherited from IterableLike[C, Iterable[C]]

Inherited from Equals

Inherited from GenIterable[C]

Inherited from GenIterableLike[C, Iterable[C]]

Inherited from Traversable[C]

Inherited from GenTraversable[C]

Inherited from GenericTraversableTemplate[C, Iterable]

Inherited from TraversableLike[C, Iterable[C]]

Inherited from GenTraversableLike[C, Iterable[C]]

Inherited from Parallelizable[C, ParIterable[C]]

Inherited from TraversableOnce[C]

Inherited from GenTraversableOnce[C]

Inherited from FilterMonadic[C, Iterable[C]]

Inherited from HasNewBuilder[C, Iterable[C]]

Inherited from AnyRef

Inherited from Any

Ungrouped