Skip to content

Commit

Permalink
update query mapper
Browse files Browse the repository at this point in the history
Signed-off-by: Otavio Santana <otaviopolianasantana@gmail.com>
  • Loading branch information
otaviojava committed Jan 9, 2023
1 parent 8ef2e13 commit e666227
Showing 1 changed file with 0 additions and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -462,16 +462,6 @@ interface MapperQueryBuild {
*/
<T> Optional<T> getSingleResult(Pagination pagination);


/**
* Creates a {@link Page} from pagination
*
* @param pagination the pagination
* @param <T> the type
* @return a {@link Page} from instance
* @throws NullPointerException when there are null parameters
*/
<T> Page<T> page(Pagination pagination);
}

/**
Expand Down Expand Up @@ -542,25 +532,4 @@ interface MapperWhere extends MapperQueryBuild {
MapperOrder orderBy(String name);
}

/**
* @param <T> the entity type
*/
interface ColumnPage<T> extends Page<T> {

/**
* The query of the current {@link Page}
*
* @return {@link ColumnQueryPagination}
*/
ColumnQueryPagination getQuery();

/**
* Returns the {@link Page} requesting the next {@link Page}.
*
* @return the next {@link Page}
*/
ColumnPage<T> next();


}
}

0 comments on commit e666227

Please sign in to comment.