| Package | Description |
|---|---|
| com.mybatisflex.core.activerecord |
Active Record 功能。
|
| com.mybatisflex.core.field |
属性查询(Field Query)功能。
|
| com.mybatisflex.core.mybatis |
MyBatis 功能增强。
|
| com.mybatisflex.core.query |
SQL 条件构造功能。
|
| com.mybatisflex.core.relation |
多表关联注解实现。
|
| com.mybatisflex.core.service |
通用增强 Service 接口。
|
| com.mybatisflex.core.update |
处理部分字段更新。
|
| com.mybatisflex.core.util |
工具类。
|
| com.mybatisflex.solon.service.impl |
IService 实现。
|
| com.mybatisflex.spring.service.impl |
IService 实现。
|
| Modifier and Type | Method and Description |
|---|---|
default BaseMapper<T> |
MapperModel.baseMapper()
获取实体类对应的
BaseMapper 接口。 |
BaseMapper<T> |
Model.baseMapper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
FieldQueryManager.queryFields(BaseMapper<?> mapper,
Collection<?> entities,
Map<String,FieldQuery> fieldQueryMap) |
| Modifier and Type | Method and Description |
|---|---|
static <E> BaseMapper<E> |
Mappers.ofEntityClass(Class<E> entityClass)
通过 实体类 获取对应
BaseMapper 对象。 |
| Modifier and Type | Method and Description |
|---|---|
BaseMapper<T> |
MapperQueryChain.baseMapper()
该实现类对应的
BaseMapper 对象。 |
protected BaseMapper<T> |
AbstractQueryBuilder.baseMapper() |
BaseMapper<T> |
QueryChain.baseMapper() |
| Modifier and Type | Method and Description |
|---|---|
static <E> QueryChain<E> |
QueryChain.of(BaseMapper<E> baseMapper) |
| Constructor and Description |
|---|
QueryChain(BaseMapper<T> baseMapper) |
| Modifier and Type | Method and Description |
|---|---|
static <Entity> void |
RelationManager.queryRelations(BaseMapper<?> mapper,
List<Entity> entities) |
| Modifier and Type | Method and Description |
|---|---|
BaseMapper<T> |
IService.getMapper()
获取对应实体类(Entity)的基础映射类(BaseMapper)。
|
| Modifier and Type | Method and Description |
|---|---|
static <E> UpdateChain<E> |
UpdateChain.create(BaseMapper<E> baseMapper) |
static <T> UpdateChain<T> |
UpdateChain.of(BaseMapper<T> baseMapper) |
static <T> UpdateChain<T> |
UpdateChain.of(T entityObject,
BaseMapper<T> baseMapper) |
| Constructor and Description |
|---|
UpdateChain(BaseMapper<T> baseMapper) |
UpdateChain(BaseMapper<T> baseMapper,
T entityObject) |
| Modifier and Type | Method and Description |
|---|---|
static <T,R> Page<R> |
MapperUtil.doPaginate(BaseMapper<T> mapper,
Page<R> page,
QueryWrapper queryWrapper,
Class<R> asType,
boolean withRelations,
Consumer<FieldQueryBuilder<R>>... consumers) |
static Map<String,Object> |
MapperUtil.preparedParams(BaseMapper<?> baseMapper,
Page<?> page,
QueryWrapper queryWrapper,
Map<String,Object> params) |
static <R> void |
MapperUtil.queryFields(BaseMapper<?> mapper,
List<R> list,
Consumer<FieldQueryBuilder<R>>[] consumers) |
static <E> E |
MapperUtil.queryRelations(BaseMapper<?> mapper,
E entity) |
static <E> List<E> |
MapperUtil.queryRelations(BaseMapper<?> mapper,
List<E> entities) |
| Modifier and Type | Class and Description |
|---|---|
class |
ServiceImpl<M extends BaseMapper<T>,T>
默认
IService 实现类。 |
| Modifier and Type | Field and Description |
|---|---|
protected M |
ServiceImpl.mapper |
| Modifier and Type | Class and Description |
|---|---|
class |
CacheableServiceImpl<M extends BaseMapper<T>,T>
可缓存数据的 Service 实现类。
|
class |
ServiceImpl<M extends BaseMapper<T>,T>
由 Mybatis-Flex 提供的顶级增强 Service 接口的默认实现类。
|
| Modifier and Type | Field and Description |
|---|---|
protected M |
CacheableServiceImpl.mapper |
protected M |
ServiceImpl.mapper |
| Modifier and Type | Method and Description |
|---|---|
BaseMapper<T> |
CacheableServiceImpl.getMapper()
获取对应实体类(Entity)的基础映射类(BaseMapper)。
|
Copyright © 2024. All rights reserved.