Package | Description |
---|---|
sirius.db.mixing.properties | |
sirius.db.mongo |
Thin layer above Mongo DB.
|
sirius.db.mongo.types |
Modifier and Type | Method and Description |
---|---|
protected Optional<MongoEntity> |
MongoRefProperty.find(Class<MongoEntity> type,
sirius.kernel.commons.Value value) |
Modifier and Type | Method and Description |
---|---|
protected Optional<MongoEntity> |
MongoRefProperty.find(Class<MongoEntity> type,
sirius.kernel.commons.Value value) |
Modifier and Type | Class and Description |
---|---|
class |
MongoQuery<E extends MongoEntity>
Creates a new query against MongoDB.
|
Modifier and Type | Method and Description |
---|---|
protected <E extends MongoEntity> |
Mango.findEntity(E entity) |
protected <E extends MongoEntity> |
Mango.findEntity(Object id,
EntityDescriptor ed,
Function<String,sirius.kernel.commons.Value> context) |
static <E extends MongoEntity> |
Mango.make(EntityDescriptor ed,
Doc doc)
Creates a new entity for the given descriptor based on the given doc.
|
<E extends MongoEntity> |
Mango.select(Class<E> type) |
Modifier and Type | Method and Description |
---|---|
protected void |
Mango.createEntity(MongoEntity entity,
EntityDescriptor ed) |
protected void |
Mango.deleteEntity(MongoEntity entity,
boolean force,
EntityDescriptor ed) |
com.mongodb.client.result.UpdateResult |
Updater.executeFor(MongoEntity entity)
Executes the update on the given entity.
|
protected void |
Mango.updateEntity(MongoEntity entity,
boolean force,
EntityDescriptor ed) |
Modifier and Type | Method and Description |
---|---|
String |
Mango.getCollection(Class<? extends MongoEntity> type) |
Modifier and Type | Class and Description |
---|---|
class |
MongoRef<E extends MongoEntity>
Represents a reference from one entity to another.
|
class |
MongoRefList<E extends MongoEntity>
Represents a list of
entities being referenced by id. |
Modifier and Type | Method and Description |
---|---|
static <E extends MongoEntity> |
MongoRef.on(Class<E> type,
BaseEntityRef.OnDelete deleteHandler)
Generates an entity reference to the given entity type.
|
Copyright © 2018. All rights reserved.