| Package | Description |
|---|---|
| de.caluga.morphium | |
| de.caluga.morphium.driver | |
| de.caluga.morphium.driver.inmem | |
| de.caluga.morphium.driver.mongodb | |
| de.caluga.morphium.writer |
| Modifier and Type | Method and Description |
|---|---|
WriteConcern |
Morphium.getWriteConcernForClass(Class<?> cls) |
| Modifier and Type | Method and Description |
|---|---|
static WriteConcern |
WriteConcern.getWc(int w,
boolean fsync,
boolean j,
int wtimeout) |
WriteConcern |
MorphiumCollection.getWriteConcern() |
| Modifier and Type | Method and Description |
|---|---|
BulkRequestContext |
MorphiumDriver.createBulkContext(Morphium m,
String db,
String collection,
boolean ordered,
WriteConcern wc) |
Map<String,Object> |
MorphiumDriver.delete(String db,
String collection,
Map<String,Object> query,
boolean multiple,
Collation collation,
WriteConcern wc) |
void |
MorphiumDriver.drop(String db,
String collection,
WriteConcern wc) |
void |
MorphiumDriver.drop(String db,
WriteConcern wc) |
void |
MorphiumDriver.insert(String db,
String collection,
List<Map<String,Object>> objs,
WriteConcern wc)
just insert - no special handling
|
void |
MorphiumCollection.setWriteConcern(WriteConcern writeConcern) |
Map<String,Integer> |
MorphiumDriver.store(String db,
String collection,
List<Map<String,Object>> objs,
WriteConcern wc)
store - if id == null, create it...
|
Map<String,Object> |
MorphiumDriver.update(String db,
String collection,
Map<String,Object> query,
Map<String,Object> op,
boolean multiple,
boolean upsert,
Collation collation,
WriteConcern wc) |
| Modifier and Type | Method and Description |
|---|---|
BulkRequestContext |
InMemoryDriver.createBulkContext(Morphium m,
String db,
String collection,
boolean ordered,
WriteConcern wc) |
Map<String,Object> |
InMemoryDriver.delete(String db,
String collection,
Map<String,Object> query,
boolean multiple,
Collation collation,
WriteConcern wc) |
void |
InMemoryDriver.drop(String db,
String collection,
WriteConcern wc) |
void |
InMemoryDriver.drop(String db,
WriteConcern wc) |
void |
InMemoryDriver.insert(String db,
String collection,
List<Map<String,Object>> objs,
WriteConcern wc) |
Map<String,Integer> |
InMemoryDriver.store(String db,
String collection,
List<Map<String,Object>> objs,
WriteConcern wc) |
Map<String,Object> |
InMemoryDriver.update(String db,
String collection,
Map<String,Object> query,
Map<String,Object> op,
boolean multiple,
boolean upsert,
Collation collation,
WriteConcern wc) |
| Modifier and Type | Method and Description |
|---|---|
BulkRequestContext |
MongoDriver.createBulkContext(Morphium m,
String db,
String collection,
boolean ordered,
WriteConcern wc) |
Map<String,Object> |
MongoDriver.delete(String db,
String collection,
Map<String,Object> query,
boolean multiple,
Collation collation,
WriteConcern wc) |
void |
MongoDriver.drop(String db,
String collection,
WriteConcern wc) |
void |
MongoDriver.drop(String db,
WriteConcern wc) |
com.mongodb.client.MongoCollection<org.bson.Document> |
MongoDriver.getCollection(com.mongodb.client.MongoDatabase database,
String collection,
ReadPreference readPreference,
WriteConcern wc) |
void |
MongoDriver.insert(String db,
String collection,
List<Map<String,Object>> objs,
WriteConcern wc) |
Map<String,Integer> |
MongoDriver.store(String db,
String collection,
List<Map<String,Object>> objs,
WriteConcern wc) |
Map<String,Object> |
MongoDriver.update(String db,
String collection,
Map<String,Object> query,
Map<String,Object> op,
boolean multiple,
boolean upsert,
Collation collation,
WriteConcern wc) |
| Constructor and Description |
|---|
MongodbBulkContext(Morphium m,
String db,
String collection,
MongoDriver driver,
boolean ordered,
WriteConcern wc) |
| Modifier and Type | Method and Description |
|---|---|
void |
MorphiumWriterImpl.WT.doUpdate(Class cls,
T toSet,
String coll,
String field,
Map<String,Object> query,
Field f,
Map<String,Object> update,
WriteConcern wc) |
Copyright © 2021. All rights reserved.