com.mongodb.casbah

BulkWriteResult

case class BulkWriteResult(underlying: BulkWriteResult) extends Product with Serializable

Source
BulkWriteResult.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. BulkWriteResult
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BulkWriteResult(underlying: BulkWriteResult)

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. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def canEqual(arg0: Any): Boolean

    Definition Classes
    BulkWriteResult → Equals
  8. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. def equals(obj: Any): Boolean

    Definition Classes
    BulkWriteResult → Equals → AnyRef → Any
  11. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  13. def getInsertedCount: Int

  14. def getMatchedCount: Int

  15. def getModifiedCount: Try[Int]

  16. def getRemovedCount: Int

  17. def getUpserts: Buffer[BulkWriteUpsert]

  18. def hashCode(): Int

    Definition Classes
    BulkWriteResult → AnyRef → Any
  19. def insertedCount: Int

    Returns the number of documents inserted by the write operation.

    Returns the number of documents inserted by the write operation.

    returns

    the number of documents inserted by the write operation

    Exceptions thrown
    UnacknowledgedWriteException

    if the write was unacknowledged.

    See also

    WriteConcern#Unacknowledged

  20. def isAcknowledged: Boolean

    Returns true if the write was acknowledged.

    Returns true if the write was acknowledged.

    returns

    true if the write was acknowledged

    See also

    WriteConcern#Unacknowledged

  21. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  22. def matchedCount: Int

    Returns the number of documents matched by updates or replacements in the write operation.

    Returns the number of documents matched by updates or replacements in the write operation. This will include documents that matched the query but where the modification didn't result in any actual change to the document; for example, if you set the value of some field, and the field already has that value, that will still count as an update.

    returns

    the number of documents matched by updates in the write operation

    Exceptions thrown
    UnacknowledgedWriteException

    if the write was unacknowledged.

    See also

    WriteConcern#Unacknowledged

  23. def modifiedCount: Try[Int]

    Returns the number of documents modified by updates or replacements in the write operation.

    Returns the number of documents modified by updates or replacements in the write operation. This will only count documents that were actually changed; for example, if you set the value of some field, and the field already has that value, that will not count as a modification.

    If the server is not able to provide a count of modified documents (which can happen if the server is not at least version 2.6), then this method will return a Failure(UnsupportedOperationException)

    returns

    the Success(number) of documents modified by the write operation or Failure(UnacknowledgedWriteException) or Failure(UnsupportedOperationException) if no modified count is available

    See also

    WriteConcern#UNACKNOWLEDGED

  24. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  25. final def notify(): Unit

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

    Definition Classes
    AnyRef
  27. def productArity: Int

    Definition Classes
    BulkWriteResult → Product
  28. def productElement(arg0: Int): Any

    Definition Classes
    BulkWriteResult → Product
  29. def productIterator: Iterator[Any]

    Definition Classes
    Product
  30. def productPrefix: String

    Definition Classes
    BulkWriteResult → Product
  31. def removedCount: Int

    Returns the number of documents removed by the write operation.

    Returns the number of documents removed by the write operation.

    returns

    the number of documents removed by the write operation

    Exceptions thrown
    UnacknowledgedWriteException

    if the write was unacknowledged.

    See also

    WriteConcern#Unacknowledged

  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  33. def toString(): String

    Definition Classes
    BulkWriteResult → AnyRef → Any
  34. val underlying: BulkWriteResult

  35. def upserts: Buffer[BulkWriteUpsert]

    Gets a list of upserted items, or the empty list if there were none.

    Gets a list of upserted items, or the empty list if there were none.

    returns

    a list of upserted items, or the empty list if there were none.

    Exceptions thrown
    UnacknowledgedWriteException

    if the write was unacknowledged.

    See also

    WriteConcern#Unacknowledged

  36. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Deprecated Value Members

  1. def productElements: Iterator[Any]

    Definition Classes
    Product
    Annotations
    @deprecated
    Deprecated

    (Since version 2.8.0) use productIterator instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any