All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.easy.query.api4j.select.extension.queryable2.override.AbstractOverrideQueryable2 Maven / Gradle / Ivy

There is a newer version: 2.3.3
Show newest version
package com.easy.query.api4j.select.extension.queryable2.override;

import com.easy.query.api4j.select.Queryable;
import com.easy.query.api4j.select.Queryable2;
import com.easy.query.api4j.select.abstraction.AbstractQueryable;
import com.easy.query.api4j.select.extension.queryable2.Queryable2Available;
import com.easy.query.api4j.sql.SQLGroupBySelector;
import com.easy.query.api4j.sql.SQLNavigateInclude;
import com.easy.query.api4j.sql.SQLOrderBySelector;
import com.easy.query.api4j.sql.SQLWhereAggregatePredicate;
import com.easy.query.api4j.sql.SQLWherePredicate;
import com.easy.query.core.api.dynamic.sort.ObjectSort;
import com.easy.query.core.basic.api.select.ClientQueryable2;
import com.easy.query.core.enums.sharding.ConnectionModeEnum;
import com.easy.query.core.expression.builder.core.ValueFilter;
import com.easy.query.core.expression.lambda.SQLExpression1;
import com.easy.query.core.expression.lambda.SQLFuncExpression1;
import com.easy.query.core.expression.sql.builder.internal.ContextConfigurer;
import com.easy.query.core.expression.sql.builder.internal.EasyBehavior;

import java.util.Collection;
import java.util.function.BiFunction;
import java.util.function.Function;

/**
 * create time 2023/8/16 07:52
 * 文件说明
 *
 * @author xuejiaming
 */
public abstract class AbstractOverrideQueryable2 extends AbstractQueryable implements Queryable2Available {

    protected final ClientQueryable2 entityQueryable2;
    public AbstractOverrideQueryable2(ClientQueryable2 entityQueryable2) {
        super(entityQueryable2);
        this.entityQueryable2=entityQueryable2;
    }

    @Override
    public Queryable2 orderBy(boolean condition, SQLExpression1> selectExpression, boolean asc) {
        super.orderBy(condition,selectExpression,asc);
        return getQueryable2();
    }

    @Override
    public Queryable2 orderByObject(boolean condition, ObjectSort configuration) {
        super.orderByObject(condition,configuration);
        return getQueryable2();
    }
    @Override
    public Queryable2 whereById(boolean condition, Object id) {
        super.whereById(condition,id);
        return getQueryable2();
    }

    @Override
    public  Queryable2 whereByIds(boolean condition, Collection ids) {
        super.whereByIds(condition,ids);
        return getQueryable2();
    }

    @Override
    public Queryable2 whereObject(boolean condition, Object object) {
        super.whereObject(condition,object);
        return getQueryable2();
    }

    @Override
    public Queryable2 where(boolean condition, SQLExpression1> whereExpression) {
        super.where(condition,whereExpression);
        return getQueryable2();
    }

    @Override
    public Queryable2 groupBy(boolean condition, SQLExpression1> selectExpression) {
        super.groupBy(condition,selectExpression);
        return getQueryable2();
    }

    @Override
    public Queryable2 having(boolean condition, SQLExpression1> predicateExpression) {
        super.having(condition,predicateExpression);
        return getQueryable2();
    }

    @Override
    public Queryable2 orderByAsc(boolean condition, SQLExpression1> selectExpression) {
        super.orderByAsc(condition,selectExpression);
        return getQueryable2();
    }

    @Override
    public Queryable2 orderByDesc(boolean condition, SQLExpression1> selectExpression) {
        super.orderByDesc(condition,selectExpression);
        return getQueryable2();
    }

    @Override
    public  Queryable2 include(boolean condition, SQLFuncExpression1, Queryable> navigateIncludeSQLExpression) {
        super.include(condition,navigateIncludeSQLExpression);
        return getQueryable2();
    }

    @Override
    public Queryable2 limit(boolean condition, long offset, long rows) {
        super.limit(condition,offset,rows);
        return getQueryable2();
    }

    @Override
    public Queryable2 distinct(boolean condition) {
        super.distinct(condition);
        return getQueryable2();
    }

    @Override
    public Queryable2 disableLogicDelete() {
        super.disableLogicDelete();
        return getQueryable2();
    }

    @Override
    public Queryable2 enableLogicDelete() {
        super.enableLogicDelete();
        return getQueryable2();
    }

    @Override
    public Queryable2 useLogicDelete(boolean enable) {
        super.useLogicDelete(enable);
        return getQueryable2();
    }

    @Override
    public Queryable2 noInterceptor() {
        super.noInterceptor();
        return getQueryable2();
    }

    @Override
    public Queryable2 useInterceptor(String name) {
        super.useInterceptor(name);
        return getQueryable2();
    }

    @Override
    public Queryable2 noInterceptor(String name) {
        super.noInterceptor(name);
        return getQueryable2();
    }

    @Override
    public Queryable2 useInterceptor() {
        super.useInterceptor();
        return getQueryable2();
    }

    @Override
    public Queryable2 asTracking() {
        super.asTracking();
        return getQueryable2();
    }

    @Override
    public Queryable2 asNoTracking() {
        super.asNoTracking();
        return getQueryable2();
    }

    @Override
    public Queryable2 queryLargeColumn(boolean queryLarge) {
        super.queryLargeColumn(queryLarge);
        return getQueryable2();
    }

    @Override
    public Queryable2 useShardingConfigure(int maxShardingQueryLimit, ConnectionModeEnum connectionMode) {
        super.useShardingConfigure(maxShardingQueryLimit,connectionMode);
        return getQueryable2();
    }

    @Override
    public Queryable2 useMaxShardingQueryLimit(int maxShardingQueryLimit) {
        super.useMaxShardingQueryLimit(maxShardingQueryLimit);
        return getQueryable2();
    }

    @Override
    public Queryable2 useConnectionMode(ConnectionModeEnum connectionMode) {
        super.useConnectionMode(connectionMode);
        return getQueryable2();
    }

    @Override
    public Queryable2 asTable(Function tableNameAs) {
        super.asTable(tableNameAs);
        return getQueryable2();
    }

    @Override
    public Queryable2 asSchema(Function schemaAs) {
        super.asSchema(schemaAs);
        return getQueryable2();
    }

    @Override
    public Queryable2 asAlias(String alias) {
        super.asAlias(alias);
        return getQueryable2();
    }

    @Override
    public Queryable2 asTableLink(Function linkAs) {
        super.asTableLink(linkAs);
        return getQueryable2();
    }
    @Override
    public Queryable2 asTableSegment(BiFunction segmentAs) {
        super.asTableSegment(segmentAs);
        return getQueryable2();
    }
    @Override
    public Queryable2 filterConfigure(ValueFilter valueFilter) {
        super.filterConfigure(valueFilter);
        return getQueryable2();
    }
    @Override
    public Queryable2 configure(SQLExpression1 configurer) {
        super.configure(configurer);
        return getQueryable2();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy