Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
shz.core.orm.AbstractDefaultOrmService Maven / Gradle / Ivy
package shz.core.orm;
import shz.core.function.ActionRunner;
import shz.core.model.PageInfo;
import shz.core.orm.entity.TreeEntity;
import shz.core.orm.param.OrmFilter;
import shz.core.orm.param.OrmMapFilter;
import shz.core.orm.param.OrmMapping;
import shz.core.serializable.SerializableGetter;
import shz.core.structure.limiter.Limiter;
import shz.core.orm.enums.Condition;
import shz.core.orm.param.OrmMapActionRunner;
import shz.core.orm.sql.WhereSql;
import shz.core.tag.ixx.ILTag;
import java.lang.reflect.Type;
import java.util.Collection;
import java.util.Comparator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.Executor;
import java.util.function.BiPredicate;
import java.util.function.Consumer;
import java.util.function.Function;
abstract class AbstractDefaultOrmService extends AbstractOrmService {
@Override
public final int insert(Object entity, List fieldNames) {
return super.insert(entity, fieldNames);
}
@Override
public final int insert(Object entity) {
return super.insert(entity);
}
@Override
public final int[] batchInsert(List> entities, List fieldNames, int batchSize) {
return super.batchInsert(entities, fieldNames, batchSize);
}
@Override
public final int[] batchInsert(List> entities, List fieldNames) {
return super.batchInsert(entities, fieldNames);
}
@Override
public final int[] batchInsert(List> entities) {
return super.batchInsert(entities);
}
@Override
public final int update(Object entity, List fieldNames, WhereSql whereSql) {
return super.update(entity, fieldNames, whereSql);
}
@Override
public final int update(Object entity, WhereSql whereSql) {
return super.update(entity, whereSql);
}
@Override
public final int updateByColumn(Object entity, List fieldNames, String fieldName, Object fieldValue, Condition condition, Boolean logic) {
return super.updateByColumn(entity, fieldNames, fieldName, fieldValue, condition, logic);
}
@Override
public final int updateByColumn(Object entity, List fieldNames, String fieldName, Object fieldValue, Condition condition) {
return super.updateByColumn(entity, fieldNames, fieldName, fieldValue, condition);
}
@Override
public final int updateByColumn(Object entity, String fieldName, Object fieldValue, Condition condition) {
return super.updateByColumn(entity, fieldName, fieldValue, condition);
}
@Override
public final int updateByColumn(T entity, SerializableGetter fieldName, Object fieldValue, Condition condition) {
return super.updateByColumn(entity, fieldName, fieldValue, condition);
}
@Override
public final int updateById(Object entity, List fieldNames) {
return super.updateById(entity, fieldNames);
}
@Override
public final int updateById(Object entity) {
return super.updateById(entity);
}
@Override
public final int[] batchUpdateById(List> entities, List fieldNames, int batchSize) {
return super.batchUpdateById(entities, fieldNames, batchSize);
}
@Override
public final int[] batchUpdateById(List> entities, List fieldNames) {
return super.batchUpdateById(entities, fieldNames);
}
@Override
public final int[] batchUpdateById(List> entities) {
return super.batchUpdateById(entities);
}
@Override
public final int insertOrUpdate(Object entity, List fieldNames, Boolean logic, String... uniqueFields) {
return super.insertOrUpdate(entity, fieldNames, logic, uniqueFields);
}
@Override
public final int insertOrUpdate(Object entity, List fieldNames, String... uniqueFields) {
return super.insertOrUpdate(entity, fieldNames, uniqueFields);
}
@Override
public final int insertOrUpdate(Object entity, String... uniqueFields) {
return super.insertOrUpdate(entity, uniqueFields);
}
@Override
public final int insertOrUpdate(T entity, List> uniqueFields) {
return super.insertOrUpdate(entity, uniqueFields);
}
@Override
public final int insertOrUpdateMultiUnique(T entity, List> fieldNames, Boolean logic, List[]> uniqueFields) {
return super.insertOrUpdateMultiUnique(entity, fieldNames, logic, uniqueFields);
}
@Override
public final int insertOrUpdateMultiUnique(T entity, List> fieldNames, List[]> uniqueFields) {
return super.insertOrUpdateMultiUnique(entity, fieldNames, uniqueFields);
}
@Override
public final int insertOrUpdateMultiUnique(T entity, List[]> uniqueFields) {
return super.insertOrUpdateMultiUnique(entity, uniqueFields);
}
@Override
public final int[] batchInsertOrUpdate(List> entities, List fieldNames, Boolean logic, int batchSize, String... uniqueFields) {
return super.batchInsertOrUpdate(entities, fieldNames, logic, batchSize, uniqueFields);
}
@Override
public final int[] batchInsertOrUpdate(List> entities, List fieldNames, String... uniqueFields) {
return super.batchInsertOrUpdate(entities, fieldNames, uniqueFields);
}
@Override
public final int[] batchInsertOrUpdate(List> entities, String... uniqueFields) {
return super.batchInsertOrUpdate(entities, uniqueFields);
}
@Override
public final int[] batchInsertOrUpdate(List entities, List> uniqueFields) {
return super.batchInsertOrUpdate(entities, uniqueFields);
}
@Override
public final int[] batchInsertOrUpdateMultiUnique(List entities, List> fieldNames, Boolean logic, int batchSize, List[]> uniqueFields) {
return super.batchInsertOrUpdateMultiUnique(entities, fieldNames, logic, batchSize, uniqueFields);
}
@Override
public final int[] batchInsertOrUpdateMultiUnique(List entities, List> fieldNames, List[]> uniqueFields) {
return super.batchInsertOrUpdateMultiUnique(entities, fieldNames, uniqueFields);
}
@Override
public final int[] batchInsertOrUpdateMultiUnique(List entities, List[]> uniqueFields) {
return super.batchInsertOrUpdateMultiUnique(entities, uniqueFields);
}
@Override
public final int delete(Class> entityClass, WhereSql whereSql, Boolean logic) {
return super.delete(entityClass, whereSql, logic);
}
@Override
public final int delete(Class> entityClass, WhereSql whereSql) {
return super.delete(entityClass, whereSql);
}
@Override
public final int deleteByColumn(Tnp tnp, Class entityClass, SerializableGetter fieldName, Object fieldValue, Condition condition, Boolean logic) {
return super.deleteByColumn(tnp, entityClass, fieldName, fieldValue, condition, logic);
}
@Override
public final int deleteByColumn(Class> entityClass, String fieldName, Object fieldValue, Condition condition, Boolean logic) {
return super.deleteByColumn(entityClass, fieldName, fieldValue, condition, logic);
}
@Override
public final int deleteByColumn(Class entityClass, SerializableGetter fieldName, Object fieldValue, Condition condition, Boolean logic) {
return super.deleteByColumn(entityClass, fieldName, fieldValue, condition, logic);
}
@Override
public final int deleteByColumn(Class> entityClass, String fieldName, Object fieldValue, Condition condition) {
return super.deleteByColumn(entityClass, fieldName, fieldValue, condition);
}
@Override
public final int deleteByColumn(Class entityClass, SerializableGetter fieldName, Object fieldValue, Condition condition) {
return super.deleteByColumn(entityClass, fieldName, fieldValue, condition);
}
@Override
public final int deleteByIds(Class> entityClass, Collection> ids, Boolean logic) {
return super.deleteByIds(entityClass, ids, logic);
}
@Override
public final int deleteByIds(Class> entityClass, Collection> ids) {
return super.deleteByIds(entityClass, ids);
}
@Override
public final int deleteByIds(Collection> entities, Boolean logic) {
return super.deleteByIds(entities, logic);
}
@Override
public final int deleteByIds(Collection> entities) {
return super.deleteByIds(entities);
}
@Override
public final int deleteById(Class> entityClass, Object id, Boolean logic) {
return super.deleteById(entityClass, id, logic);
}
@Override
public final int deleteById(Class> entityClass, Object id) {
return super.deleteById(entityClass, id);
}
@Override
public final int deleteById(Object entity, Boolean logic) {
return super.deleteById(entity, logic);
}
@Override
public final int deleteById(Object entity) {
return super.deleteById(entity);
}
@Override
public final int[] batchDeleteById(Class> entityClass, List> ids, Boolean logic, int batchSize) {
return super.batchDeleteById(entityClass, ids, logic, batchSize);
}
@Override
public final int[] batchDeleteById(Class> entityClass, List> ids) {
return super.batchDeleteById(entityClass, ids);
}
@Override
public final int[] batchDeleteById(List> entities, Boolean logic, int batchSize) {
return super.batchDeleteById(entities, logic, batchSize);
}
@Override
public final int[] batchDeleteById(List> entities) {
return super.batchDeleteById(entities);
}
@Override
public final OrmMapActionRunner runner(OrmMapping mapping, Type type, Limiter limiter, OrmMapFilter mapFilter, int fetchSize, String sql, Object... params) {
return super.runner(mapping, type, limiter, mapFilter, fetchSize, sql, params);
}
@Override
public final void query(OrmMapFilter mapFilter, String sql, Object... params) {
super.query(mapFilter, sql, params);
}
@Override
public final OrmMapActionRunner runner(OrmMapFilter mapFilter, String sql, Object... params) {
return super.runner(mapFilter, sql, params);
}
@Override
public final ActionRunner runner(OrmMapping mapping, Type type, Limiter limiter, OrmMapFilter mapFilter, OrmFilter super T> filter, int fetchSize, String sql, Object... params) {
return super.runner(mapping, type, limiter, mapFilter, filter, fetchSize, sql, params);
}
@Override
public final void query(Type type, OrmFilter super T> filter, String sql, Object... params) {
super.query(type, filter, sql, params);
}
@Override
public final ActionRunner runner(Type type, OrmFilter super T> filter, String sql, Object... params) {
return super.runner(type, filter, sql, params);
}
@Override
public final OrmMapActionRunner runner(Tnp tnp, Class> entityClass, Limiter limiter, OrmMapFilter mapFilter, int fetchSize, List fieldNames, WhereSql whereSql) {
return super.runner(tnp, entityClass, limiter, mapFilter, fetchSize, fieldNames, whereSql);
}
@Override
public final void query(Class> entityClass, OrmMapFilter mapFilter, List fieldNames, WhereSql whereSql) {
super.query(entityClass, mapFilter, fieldNames, whereSql);
}
@Override
public final OrmMapActionRunner runner(Class> entityClass, OrmMapFilter mapFilter, List fieldNames, WhereSql whereSql) {
return super.runner(entityClass, mapFilter, fieldNames, whereSql);
}
@Override
public final void query(Class> entityClass, OrmMapFilter mapFilter, WhereSql whereSql) {
super.query(entityClass, mapFilter, whereSql);
}
@Override
public final OrmMapActionRunner runner(Class> entityClass, OrmMapFilter mapFilter, WhereSql whereSql) {
return super.runner(entityClass, mapFilter, whereSql);
}
@Override
public final void query(Class> entityClass, OrmMapFilter mapFilter) {
super.query(entityClass, mapFilter);
}
@Override
public final OrmMapActionRunner runner(Class> entityClass, OrmMapFilter mapFilter) {
return super.runner(entityClass, mapFilter);
}
@Override
public final ActionRunner runner(Tnp tnp, Class entityClass, Limiter limiter, OrmMapFilter mapFilter, OrmFilter super T> filter, int fetchSize, List fieldNames, WhereSql whereSql) {
return super.runner(tnp, entityClass, limiter, mapFilter, filter, fetchSize, fieldNames, whereSql);
}
@Override
public final void query(Class entityClass, OrmFilter super T> filter, List fieldNames, WhereSql whereSql) {
super.query(entityClass, filter, fieldNames, whereSql);
}
@Override
public final ActionRunner runner(Class entityClass, OrmFilter super T> filter, List fieldNames, WhereSql whereSql) {
return super.runner(entityClass, filter, fieldNames, whereSql);
}
@Override
public final void query(Class entityClass, OrmFilter super T> filter, WhereSql whereSql) {
super.query(entityClass, filter, whereSql);
}
@Override
public final ActionRunner runner(Class entityClass, OrmFilter super T> filter, WhereSql whereSql) {
return super.runner(entityClass, filter, whereSql);
}
@Override
public final void query(Class entityClass, OrmFilter super T> filter) {
super.query(entityClass, filter);
}
@Override
public final ActionRunner runner(Class entityClass, OrmFilter super T> filter) {
return super.runner(entityClass, filter);
}
@Override
public final OrmMapActionRunner runner(Set tnpSet, Class> entityClass, Limiter limiter, OrmMapFilter mapFilter, int fetchSize, Executor executor, List fieldNames, WhereSql whereSql) {
return super.runner(tnpSet, entityClass, limiter, mapFilter, fetchSize, executor, fieldNames, whereSql);
}
@Override
public final void query(Set tnpSet, Class> entityClass, OrmMapFilter mapFilter, List fieldNames, WhereSql whereSql) {
super.query(tnpSet, entityClass, mapFilter, fieldNames, whereSql);
}
@Override
public final OrmMapActionRunner runner(Set tnpSet, Class> entityClass, OrmMapFilter mapFilter, List fieldNames, WhereSql whereSql) {
return super.runner(tnpSet, entityClass, mapFilter, fieldNames, whereSql);
}
@Override
public final void query(Set tnpSet, Class> entityClass, OrmMapFilter mapFilter, WhereSql whereSql) {
super.query(tnpSet, entityClass, mapFilter, whereSql);
}
@Override
public final OrmMapActionRunner runner(Set tnpSet, Class> entityClass, OrmMapFilter mapFilter, WhereSql whereSql) {
return super.runner(tnpSet, entityClass, mapFilter, whereSql);
}
@Override
public final void query(Set tnpSet, Class> entityClass, OrmMapFilter mapFilter) {
super.query(tnpSet, entityClass, mapFilter);
}
@Override
public final OrmMapActionRunner runner(Set tnpSet, Class> entityClass, OrmMapFilter mapFilter) {
return super.runner(tnpSet, entityClass, mapFilter);
}
@Override
public final ActionRunner runner(Set tnpSet, Class entityClass, Limiter limiter, OrmMapFilter mapFilter, OrmFilter super T> filter, int fetchSize, Executor executor, List fieldNames, WhereSql whereSql) {
return super.runner(tnpSet, entityClass, limiter, mapFilter, filter, fetchSize, executor, fieldNames, whereSql);
}
@Override
public final void query(Set tnpSet, Class entityClass, OrmFilter super T> filter, List fieldNames, WhereSql whereSql) {
super.query(tnpSet, entityClass, filter, fieldNames, whereSql);
}
@Override
public final ActionRunner runner(Set tnpSet, Class entityClass, OrmFilter super T> filter, List fieldNames, WhereSql whereSql) {
return super.runner(tnpSet, entityClass, filter, fieldNames, whereSql);
}
@Override
public final void query(Set tnpSet, Class entityClass, OrmFilter super T> filter, WhereSql whereSql) {
super.query(tnpSet, entityClass, filter, whereSql);
}
@Override
public final ActionRunner runner(Set tnpSet, Class entityClass, OrmFilter super T> filter, WhereSql whereSql) {
return super.runner(tnpSet, entityClass, filter, whereSql);
}
@Override
public final void query(Set tnpSet, Class entityClass, OrmFilter super T> filter) {
super.query(tnpSet, entityClass, filter);
}
@Override
public final ActionRunner runner(Set tnpSet, Class entityClass, OrmFilter super T> filter) {
return super.runner(tnpSet, entityClass, filter);
}
@Override
public final PageInfo page(PageInfo pageInfo, ActionRunner runner, OrmFilter super T> filter, Comparator super T> comparator) {
return super.page(pageInfo, runner, filter, comparator);
}
@Override
public final PageInfo page(PageInfo pageInfo, ActionRunner runner, OrmFilter super T> filter, BiPredicate super T, ? super T> equals) {
return super.page(pageInfo, runner, filter, equals);
}
@Override
public final PageInfo page(PageInfo pageInfo, ActionRunner runner, OrmFilter super T> filter) {
return super.page(pageInfo, runner, filter);
}
@Override
public final List selectTopN(ActionRunner runner, int n) {
return super.selectTopN(runner, n);
}
@Override
public final Map> selectTopN(ActionRunner runner, Function super T, ILTag extends K>> group) {
return super.selectTopN(runner, group);
}
@Override
public final Map selectTopOne(ActionRunner runner, Function super T, ? extends K> group) {
return super.selectTopOne(runner, group);
}
@Override
public final int count(Class> entityClass, WhereSql whereSql) {
return super.count(entityClass, whereSql);
}
@Override
public final int countByColumn(Tnp tnp, Class entityClass, SerializableGetter fieldName, Object fieldValue, Condition condition, Boolean logic) {
return super.countByColumn(tnp, entityClass, fieldName, fieldValue, condition, logic);
}
@Override
public final int countByColumn(Class> entityClass, String fieldName, Object fieldValue, Condition condition, Boolean logic) {
return super.countByColumn(entityClass, fieldName, fieldValue, condition, logic);
}
@Override
public final int countByColumn(Class entityClass, SerializableGetter fieldName, Object fieldValue, Condition condition, Boolean logic) {
return super.countByColumn(entityClass, fieldName, fieldValue, condition, logic);
}
@Override
public final int countByColumn(Class> entityClass, String fieldName, Object fieldValue, Condition condition) {
return super.countByColumn(entityClass, fieldName, fieldValue, condition);
}
@Override
public final int countByColumn(Class entityClass, SerializableGetter fieldName, Object fieldValue, Condition condition) {
return super.countByColumn(entityClass, fieldName, fieldValue, condition);
}
@Override
public final Double maxColumn(Tnp tnp, Class entityClass, SerializableGetter fieldName, WhereSql whereSql) {
return super.maxColumn(tnp, entityClass, fieldName, whereSql);
}
@Override
public final Double maxColumn(Tnp tnp, Class entityClass, SerializableGetter fieldName) {
return super.maxColumn(tnp, entityClass, fieldName);
}
@Override
public final Double maxColumn(Class entityClass, SerializableGetter fieldName, WhereSql whereSql) {
return super.maxColumn(entityClass, fieldName, whereSql);
}
@Override
public final Double maxColumn(Class entityClass, SerializableGetter fieldName) {
return super.maxColumn(entityClass, fieldName);
}
@Override
public final Double minColumn(Tnp tnp, Class entityClass, SerializableGetter fieldName, WhereSql whereSql) {
return super.minColumn(tnp, entityClass, fieldName, whereSql);
}
@Override
public final Double minColumn(Tnp tnp, Class entityClass, SerializableGetter fieldName) {
return super.minColumn(tnp, entityClass, fieldName);
}
@Override
public final Double minColumn(Class entityClass, SerializableGetter fieldName, WhereSql whereSql) {
return super.minColumn(entityClass, fieldName, whereSql);
}
@Override
public final Double minColumn(Class entityClass, SerializableGetter fieldName) {
return super.minColumn(entityClass, fieldName);
}
@Override
public final Double avgColumn(Tnp tnp, Class entityClass, SerializableGetter fieldName, WhereSql whereSql) {
return super.avgColumn(tnp, entityClass, fieldName, whereSql);
}
@Override
public final Double avgColumn(Tnp tnp, Class entityClass, SerializableGetter fieldName) {
return super.avgColumn(tnp, entityClass, fieldName);
}
@Override
public final Double avgColumn(Class entityClass, SerializableGetter fieldName, WhereSql whereSql) {
return super.avgColumn(entityClass, fieldName, whereSql);
}
@Override
public final Double avgColumn(Class entityClass, SerializableGetter fieldName) {
return super.avgColumn(entityClass, fieldName);
}
@Override
public final Double randColumn(Tnp tnp, Class entityClass, SerializableGetter fieldName, WhereSql whereSql) {
return super.randColumn(tnp, entityClass, fieldName, whereSql);
}
@Override
public final Double randColumn(Tnp tnp, Class entityClass, SerializableGetter fieldName) {
return super.randColumn(tnp, entityClass, fieldName);
}
@Override
public final Double randColumn(Class entityClass, SerializableGetter fieldName, WhereSql whereSql) {
return super.randColumn(entityClass, fieldName, whereSql);
}
@Override
public final Double randColumn(Class entityClass, SerializableGetter fieldName) {
return super.randColumn(entityClass, fieldName);
}
@Override
public final List selectList(Class entityClass, List fieldNames, WhereSql whereSql) {
return super.selectList(entityClass, fieldNames, whereSql);
}
@Override
public final List selectList(Class entityClass, WhereSql whereSql) {
return super.selectList(entityClass, whereSql);
}
@Override
public final List selectListByColumn(Class entityClass, List fieldNames, String fieldName, Object fieldValue, Condition condition, Boolean logic) {
return super.selectListByColumn(entityClass, fieldNames, fieldName, fieldValue, condition, logic);
}
@Override
public final List selectListByColumn(Class entityClass, List fieldNames, String fieldName, Object fieldValue, Condition condition) {
return super.selectListByColumn(entityClass, fieldNames, fieldName, fieldValue, condition);
}
@Override
public final List selectListByColumn(Class entityClass, String fieldName, Object fieldValue, Condition condition) {
return super.selectListByColumn(entityClass, fieldName, fieldValue, condition);
}
@Override
public final List selectListByColumn(Class entityClass, SerializableGetter fieldName, Object fieldValue, Condition condition) {
return super.selectListByColumn(entityClass, fieldName, fieldValue, condition);
}
@Override
public final List selectByIds(Class entityClass, List fieldNames, Collection> ids, Boolean logic) {
return super.selectByIds(entityClass, fieldNames, ids, logic);
}
@Override
public final List selectByIds(Class entityClass, List fieldNames, Collection> ids) {
return super.selectByIds(entityClass, fieldNames, ids);
}
@Override
public final List selectByIds(Class entityClass, Collection> ids) {
return super.selectByIds(entityClass, ids);
}
@Override
public final List selectByIds(Collection entities, List fieldNames, Boolean logic) {
return super.selectByIds(entities, fieldNames, logic);
}
@Override
public final List selectByIds(Collection entities, List fieldNames) {
return super.selectByIds(entities, fieldNames);
}
@Override
public final List selectByIds(Collection entities) {
return super.selectByIds(entities);
}
@Override
public final PageInfo page(PageInfo pageInfo, Class entityClass, List fieldNames, WhereSql whereSql) {
return super.page(pageInfo, entityClass, fieldNames, whereSql);
}
@Override
public final PageInfo page(PageInfo pageInfo, Class entityClass, WhereSql whereSql) {
return super.page(pageInfo, entityClass, whereSql);
}
@Override
public final PageInfo pageByColumn(PageInfo pageInfo, Class entityClass, List