Class

com.mongodb.casbah

BulkWriteOperation

Related Doc: package casbah

Permalink

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

A builder for a bulk write operation.

Since

2.7

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BulkWriteOperation
  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 BulkWriteOperation(underlying: mongodb.BulkWriteOperation)

    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 execute(writeConcern: Imports.WriteConcern): BulkWriteResult

    Permalink

    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 write

    com.mongodb.MongoException if there was a mongodb error

  8. def execute(): BulkWriteResult

    Permalink

    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 write

    com.mongodb.MongoException if there was a mongodb error

  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def find(query: Imports.DBObject): BulkWriteRequestBuilder

    Permalink

    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

  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def insert(document: Imports.DBObject): Unit

    Permalink

    Add an insert request to the bulk operation

    Add an insert request to the bulk operation

    document

    the document to insert

  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. def isOrdered: Boolean

    Permalink

    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()

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

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

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

    Permalink
    Definition Classes
    AnyRef
  18. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  19. val underlying: mongodb.BulkWriteOperation

    Permalink
  20. final def wait(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. 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