Class WriteModelContainer<CollectionT,DocumentT>
- java.lang.Object
-
- com.mongodb.stitch.core.services.mongodb.remote.sync.internal.WriteModelContainer<CollectionT,DocumentT>
-
- Type Parameters:
CollectionT
- type of collection to which writes will be applied.DocumentT
- type of document domain object.
- Direct Known Subclasses:
CoreRemoteMongoCollectionWriteModelContainer
,MongoCollectionWriteModelContainer
public abstract class WriteModelContainer<CollectionT,DocumentT> extends Object
Abstract structure for collecting writes and applying them at a later time.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
WriteModelContainer(CollectionT collection)
-
Method Summary
Modifier and Type Method Description protected List<WriteModel<DocumentT>>
getBulkWriteModels()
protected CollectionT
getCollection()
-
-
-
Constructor Detail
-
WriteModelContainer
protected WriteModelContainer(CollectionT collection)
-
-
Method Detail
-
getCollection
protected CollectionT getCollection()
-
getBulkWriteModels
protected List<WriteModel<DocumentT>> getBulkWriteModels()
-
-