Package | Description |
---|---|
sirius.db.es | |
sirius.db.es.types | |
sirius.db.mixing | |
sirius.db.mixing.types | |
sirius.db.mongo.types |
Modifier and Type | Method and Description |
---|---|
static ContextInfo |
Elastic.routedBy(String value)
Provides a "routed by" context for
BaseMapper.find(Class, Object, ContextInfo...) . |
Modifier and Type | Method and Description |
---|---|
protected Optional<E> |
ElasticRefList.resolve(String id,
ContextInfo... context) |
Modifier and Type | Method and Description |
---|---|
<E extends B> |
BaseMapper.find(Class<E> type,
Object id,
ContextInfo... info)
Performs a database lookup to select the entity of the given type with the given id.
|
<E extends B> |
BaseMapper.findOrFail(Class<E> type,
Object id,
ContextInfo... info)
Tries to
BaseMapper.find(Class, Object, ContextInfo...) the entity with the given id. |
<E extends B> |
BaseMapper.resolve(String name,
ContextInfo... info)
Tries to resolve the
BaseEntity.getUniqueName() into an entity. |
B |
BaseMapper.resolveOrFail(String name,
ContextInfo... info)
Tries to
BaseMapper.resolve(String, ContextInfo...) the given name into an entity. |
Modifier and Type | Method and Description |
---|---|
Stream<Optional<E>> |
BaseEntityRefList.fetchAll(ContextInfo... context)
Retruns all entity in the list by resolving them against the database.
|
Stream<E> |
BaseEntityRefList.fetchAllAvailable(ContextInfo... context)
Retruns all entity in the list by resolving them against the database.
|
protected abstract Optional<E> |
BaseEntityRefList.resolve(String id,
ContextInfo... context)
Resolves a given ID into an entity instance.
|
Modifier and Type | Method and Description |
---|---|
protected Optional<E> |
MongoRefList.resolve(String id,
ContextInfo... context) |
Copyright © 2018. All rights reserved.