Class

com.mongodb.casbah

BulkWriteResult

Related Doc: package casbah

Permalink

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

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Type Hierarchy Learn more about scaladoc diagrams
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)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  10. def getInsertedCount: Int

    Permalink
  11. def getMatchedCount: Int

    Permalink
  12. def getModifiedCount: Try[Int]

    Permalink
  13. def getRemovedCount: Int

    Permalink
  14. def getUpserts: Buffer[BulkWriteUpsert]

    Permalink
  15. def hashCode(): Int

    Permalink
    Definition Classes
    BulkWriteResult → AnyRef → Any
  16. def insertedCount: Int

    Permalink

    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

    Permalink

    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

    Permalink
    Definition Classes
    Any
  19. def matchedCount: Int

    Permalink

    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]

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. def removedCount: Int

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef
  26. val underlying: mongodb.BulkWriteResult

    Permalink
  27. def upserts: Buffer[BulkWriteUpsert]

    Permalink

    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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped