case class BulkWriteOperation(underlying: mongodb.BulkWriteOperation) extends Product with Serializable
A builder for a bulk write operation.
- Since
2.7
- Alphabetic
- By Inheritance
- BulkWriteOperation
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new BulkWriteOperation(underlying: mongodb.BulkWriteOperation)
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
execute(writeConcern: Imports.WriteConcern): BulkWriteResult
Execute the bulk write operation with the given write concern.
Execute the bulk write operation with the given write concern.
- writeConcern
the write concern to apply to the bulk operation runReplicaSetStatusCommand
- returns
the result of the bulk write operation.
- Exceptions thrown
com.mongodb.BulkWriteException
if there was an error with the bulk writecom.mongodb.MongoException
if there was a mongodb error
-
def
execute(): BulkWriteResult
Execute the bulk write operation.
Execute the bulk write operation.
- returns
the result of the bulk write operation.
- Exceptions thrown
com.mongodb.BulkWriteException
if there was an error with the bulk writecom.mongodb.MongoException
if there was a mongodb error
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
find(query: Imports.DBObject): BulkWriteRequestBuilder
Start building a write request to add to the bulk write operation.
Start building a write request to add to the bulk write operation.
- query
the query for an update, replace or remove request
- returns
a builder for a single write request
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
insert(document: Imports.DBObject): Unit
Add an insert request to the bulk operation
Add an insert request to the bulk operation
- document
the document to insert
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isOrdered: Boolean
Returns true if this is building an ordered bulk write request.
Returns true if this is building an ordered bulk write request.
- returns
whether this is building an ordered bulk write operation
- See also
MongoCollection#initializeUnorderedBulkOperation()
MongoCollection#initializeOrderedBulkOperation()
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val underlying: mongodb.BulkWriteOperation
-
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( ... )