c

com.mongodb.casbah

BulkWriteResult

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

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

Instance Constructors

  1. new BulkWriteResult(underlying: mongodb.BulkWriteResult)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(obj: Any): Boolean
    Definition Classes
    BulkWriteResult → Equals → AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  10. def getInsertedCount: Int
  11. def getMatchedCount: Int
  12. def getModifiedCount: Try[Int]
  13. def getRemovedCount: Int
  14. def getUpserts: Buffer[BulkWriteUpsert]
  15. def hashCode(): Int
    Definition Classes
    BulkWriteResult → AnyRef → Any
  16. 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

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

  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. 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

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

  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  24. 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

  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. val underlying: mongodb.BulkWriteResult
  27. 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

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped