object MongoSink
- Source
- MongoSink.scala
- Alphabetic
- By Inheritance
- MongoSink
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
- @native() @HotSpotIntrinsicCandidate() @throws( ... )
-
def
deleteMany[T](collection: MongoCollection[T], options: DeleteOptions = DefaultDeleteOptions): Sink[Bson, Future[Done]]
A Sink that will delete many documents as defined by a Bson filter query.
-
def
deleteOne[T](collection: MongoCollection[T], options: DeleteOptions = DefaultDeleteOptions): Sink[Bson, Future[Done]]
A Sink that will delete individual documents as defined by a Bson filter query.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
insertMany[T](collection: MongoCollection[T], options: InsertManyOptions = DefaultInsertManyOptions): Sink[Seq[T], Future[Done]]
A Sink that will insert batches of documents into a collection.
A Sink that will insert batches of documents into a collection.
- collection
mongo db collection to insert to.
- options
options to apply to the operation
-
def
insertOne[T](collection: MongoCollection[T], options: InsertOneOptions = DefaultInsertOneOptions): Sink[T, Future[Done]]
A Sink that will insert documents into a collection.
A Sink that will insert documents into a collection.
- collection
mongo db collection to insert to.
- options
options to apply to the operation
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
updateMany[T](collection: MongoCollection[T], options: UpdateOptions = DefaultUpdateOptions): Sink[DocumentUpdate, Future[Done]]
A Sink that will update many documents as defined by a DocumentUpdate.
A Sink that will update many documents as defined by a DocumentUpdate.
- collection
the mongo db collection to update.
- options
options to apply to the operation
-
def
updateOne[T](collection: MongoCollection[T], options: UpdateOptions = DefaultUpdateOptions): Sink[DocumentUpdate, Future[Done]]
A Sink that will update documents as defined by a akka.stream.alpakka.mongodb.DocumentUpdate.
A Sink that will update documents as defined by a akka.stream.alpakka.mongodb.DocumentUpdate.
- collection
the mongo db collection to update.
- options
options to apply to the operation
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )