Package | Description |
---|---|
sirius.db.es | |
sirius.db.jdbc |
Support layer for using JDBC (accessing SQL Databases).
|
sirius.db.mixing | |
sirius.db.mixing.properties | |
sirius.db.mongo |
Thin layer above Mongo DB.
|
Modifier and Type | Class and Description |
---|---|
class |
Elastic
Provides the
mapper used to communicate with Elasticsearch. |
Modifier and Type | Method and Description |
---|---|
<E extends BaseEntity<?>,C extends Constraint,Q extends Query<Q,E,C>> |
ElasticEntity.getMapper() |
Modifier and Type | Class and Description |
---|---|
class |
OMA
Provides the
mapper used to communicate with JDBC / SQL databases. |
Modifier and Type | Method and Description |
---|---|
<E extends BaseEntity<?>,C extends Constraint,Q extends Query<Q,E,C>> |
SQLEntity.getMapper() |
Modifier and Type | Field and Description |
---|---|
protected BaseMapper<?,?,?> |
EntityDescriptor.mapper |
Modifier and Type | Method and Description |
---|---|
BaseMapper<?,?,?> |
EntityDescriptor.getMapper()
Returns the
mapper in charge of managing entities of this type. |
abstract <E extends BaseEntity<?>,C extends Constraint,Q extends Query<Q,E,C>> |
BaseEntity.getMapper()
Provides the
mapper which is used to actually manage the entity. |
Modifier and Type | Method and Description |
---|---|
Object |
Property.getValueForDatasource(Class<? extends BaseMapper<?,?,?>> mapperType,
Object entity)
Obtains the database value from the given entity.
|
Object |
EntityDescriptor.make(Class<? extends BaseMapper<?,?,?>> mapperType,
String alias,
sirius.kernel.commons.ValueSupplier<String> supplier)
Creates an entity from the given result row.
|
protected void |
Property.setValueFromDatasource(Class<? extends BaseMapper<?,?,?>> mapperType,
Object entity,
sirius.kernel.commons.Value data)
Applies the given database value to the given entity.
|
protected Object |
Property.transformFromDatasource(Class<? extends BaseMapper<?,?,?>> mapperType,
sirius.kernel.commons.Value object)
Converts the database value to the appropriate field value.
|
protected Object |
Property.transformToDatasource(Class<? extends BaseMapper<?,?,?>> mapperType,
Object object)
Converts the Java object which resides in the associated field to the database value which is to be
written into the database.
|
Modifier and Type | Method and Description |
---|---|
protected void |
StringProperty.setValueFromDatasource(Class<? extends BaseMapper<?,?,?>> mapperType,
Object entity,
sirius.kernel.commons.Value data) |
protected Object |
MultiPointLocationProperty.transformFromDatasource(Class<? extends BaseMapper<?,?,?>> mapperType,
sirius.kernel.commons.Value object) |
protected Object |
EnumProperty.transformFromDatasource(Class<? extends BaseMapper<?,?,?>> mapperType,
sirius.kernel.commons.Value data) |
protected Object |
LongProperty.transformFromDatasource(Class<? extends BaseMapper<?,?,?>> mapperType,
sirius.kernel.commons.Value object) |
protected Object |
NestedListProperty.transformFromDatasource(Class<? extends BaseMapper<?,?,?>> mapperType,
sirius.kernel.commons.Value object) |
protected Object |
IntegerProperty.transformFromDatasource(Class<? extends BaseMapper<?,?,?>> mapperType,
sirius.kernel.commons.Value object) |
protected Object |
BooleanProperty.transformFromDatasource(Class<? extends BaseMapper<?,?,?>> mapperType,
sirius.kernel.commons.Value data) |
protected Object |
AmountProperty.transformFromDatasource(Class<? extends BaseMapper<?,?,?>> mapperType,
sirius.kernel.commons.Value data) |
protected Object |
BaseEntityRefProperty.transformFromDatasource(Class<? extends BaseMapper<?,?,?>> mapperType,
sirius.kernel.commons.Value object) |
protected Object |
StringIntMapProperty.transformToDatasource(Class<? extends BaseMapper<?,?,?>> mapperType,
Object object) |
protected Object |
MultiPointLocationProperty.transformToDatasource(Class<? extends BaseMapper<?,?,?>> mapperType,
Object object) |
protected Object |
EnumProperty.transformToDatasource(Class<? extends BaseMapper<?,?,?>> mapperType,
Object object) |
protected Object |
LongProperty.transformToDatasource(Class<? extends BaseMapper<?,?,?>> mapperType,
Object object) |
protected Object |
NestedListProperty.transformToDatasource(Class<? extends BaseMapper<?,?,?>> mapperType,
Object object) |
protected Object |
IntegerProperty.transformToDatasource(Class<? extends BaseMapper<?,?,?>> mapperType,
Object object) |
protected Object |
AmountProperty.transformToDatasource(Class<? extends BaseMapper<?,?,?>> mapperType,
Object object) |
protected Object |
StringProperty.transformToDatasource(Class<? extends BaseMapper<?,?,?>> mapperType,
Object object) |
protected Object |
BaseEntityRefProperty.transformToDatasource(Class<? extends BaseMapper<?,?,?>> mapperType,
Object object) |
Modifier and Type | Class and Description |
---|---|
class |
Mango
Provides the
mapper used to communicate with MongoDB. |
Modifier and Type | Method and Description |
---|---|
<E extends BaseEntity<?>,C extends Constraint,Q extends Query<Q,E,C>> |
MongoEntity.getMapper() |
Copyright © 2018. All rights reserved.