| Package | Description |
|---|---|
| me.gaigeshen.mybatis.helper |
| Modifier and Type | Method and Description |
|---|---|
static <E> PageData<E> |
PageData.create(int page,
int size)
Create empty page data
|
static <E> PageData<E> |
PageData.create(java.util.List<E> content,
int page,
int size,
long total)
Create page data
|
<S> PageData<S> |
PageData.map(java.util.function.Function<T,S> fun)
Use this method, translate objects to another type objects
|
default PageData<T> |
Dao.paging(Condition<T> condition)
Returns paged entities by conditions
|
default PageData<T> |
Dao.sliceup(Condition<T> condition)
Returns paged entities by conditions
|
Copyright © 2020. All Rights Reserved.