case class BulkWriteResult(underlying: mongodb.BulkWriteResult) extends Product with Serializable
- Alphabetic
- By Inheritance
- BulkWriteResult
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new BulkWriteResult(underlying: mongodb.BulkWriteResult)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(obj: Any): Boolean
- Definition Classes
- BulkWriteResult → Equals → AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- def getInsertedCount: Int
- def getMatchedCount: Int
- def getModifiedCount: Try[Int]
- def getRemovedCount: Int
- def getUpserts: Buffer[BulkWriteUpsert]
-
def
hashCode(): Int
- Definition Classes
- BulkWriteResult → AnyRef → Any
-
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
-
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
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
-
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
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
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
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val underlying: mongodb.BulkWriteResult
-
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
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )