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

com.easy.query.api4j.select.extension.queryable9.SQLJoinable9 Maven / Gradle / Ivy

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

import com.easy.query.api4j.select.Queryable;
import com.easy.query.api4j.select.Queryable10;
import com.easy.query.api4j.select.impl.EasyQueryable10;
import com.easy.query.api4j.sql.SQLWherePredicate;
import com.easy.query.api4j.sql.impl.SQLWherePredicateImpl;
import com.easy.query.core.basic.api.select.ClientQueryable10;
import com.easy.query.core.common.tuple.Tuple10;
import com.easy.query.core.expression.lambda.SQLExpression1;
import com.easy.query.core.expression.lambda.SQLExpression10;

/**
 * create time 2023/8/18 13:14
 * 文件说明
 *
 * @author xuejiaming
 */
public interface SQLJoinable9 extends ClientQueryable9Available {

    default  Queryable10 leftJoin(Class joinClass, SQLExpression10, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate> on) {
        ClientQueryable10 entityQueryable7 = getClientQueryable9().leftJoin(joinClass, (where1, where2, where3, where4, where5, where6, where7, where8, where9, where10) -> {
            on.apply(new SQLWherePredicateImpl<>(where1), new SQLWherePredicateImpl<>(where2), new SQLWherePredicateImpl<>(where3), new SQLWherePredicateImpl<>(where4), new SQLWherePredicateImpl<>(where5), new SQLWherePredicateImpl<>(where6), new SQLWherePredicateImpl<>(where7), new SQLWherePredicateImpl<>(where8), new SQLWherePredicateImpl<>(where9), new SQLWherePredicateImpl<>(where10));
        });
        return new EasyQueryable10<>(entityQueryable7);
    }

    default  Queryable10 leftJoin(Queryable joinQueryable, SQLExpression10, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate> on) {
        ClientQueryable10 entityQueryable7 = getClientQueryable9().leftJoin(joinQueryable.getClientQueryable(), (where1, where2, where3, where4, where5, where6, where7, where8, where9, where10) -> {
            on.apply(new SQLWherePredicateImpl<>(where1), new SQLWherePredicateImpl<>(where2), new SQLWherePredicateImpl<>(where3), new SQLWherePredicateImpl<>(where4), new SQLWherePredicateImpl<>(where5), new SQLWherePredicateImpl<>(where6), new SQLWherePredicateImpl<>(where7), new SQLWherePredicateImpl<>(where8), new SQLWherePredicateImpl<>(where9), new SQLWherePredicateImpl<>(where10));
        });
        return new EasyQueryable10<>(entityQueryable7);
    }

    default  Queryable10 rightJoin(Class joinClass, SQLExpression10, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate> on) {
        ClientQueryable10 entityQueryable7 = getClientQueryable9().rightJoin(joinClass, (where1, where2, where3, where4, where5, where6, where7, where8, where9, where10) -> {
            on.apply(new SQLWherePredicateImpl<>(where1), new SQLWherePredicateImpl<>(where2), new SQLWherePredicateImpl<>(where3), new SQLWherePredicateImpl<>(where4), new SQLWherePredicateImpl<>(where5), new SQLWherePredicateImpl<>(where6), new SQLWherePredicateImpl<>(where7), new SQLWherePredicateImpl<>(where8), new SQLWherePredicateImpl<>(where9), new SQLWherePredicateImpl<>(where10));
        });
        return new EasyQueryable10<>(entityQueryable7);
    }

    default  Queryable10 rightJoin(Queryable joinQueryable, SQLExpression10, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate> on) {
        ClientQueryable10 entityQueryable7 = getClientQueryable9().rightJoin(joinQueryable.getClientQueryable(), (where1, where2, where3, where4, where5, where6, where7, where8, where9, where10) -> {
            on.apply(new SQLWherePredicateImpl<>(where1), new SQLWherePredicateImpl<>(where2), new SQLWherePredicateImpl<>(where3), new SQLWherePredicateImpl<>(where4), new SQLWherePredicateImpl<>(where5), new SQLWherePredicateImpl<>(where6), new SQLWherePredicateImpl<>(where7), new SQLWherePredicateImpl<>(where8), new SQLWherePredicateImpl<>(where9), new SQLWherePredicateImpl<>(where10));
        });
        return new EasyQueryable10<>(entityQueryable7);
    }

    default  Queryable10 innerJoin(Class joinClass, SQLExpression10, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate> on) {
        ClientQueryable10 entityQueryable7 = getClientQueryable9().innerJoin(joinClass, (where1, where2, where3, where4, where5, where6, where7, where8, where9, where10) -> {
            on.apply(new SQLWherePredicateImpl<>(where1), new SQLWherePredicateImpl<>(where2), new SQLWherePredicateImpl<>(where3), new SQLWherePredicateImpl<>(where4), new SQLWherePredicateImpl<>(where5), new SQLWherePredicateImpl<>(where6), new SQLWherePredicateImpl<>(where7), new SQLWherePredicateImpl<>(where8), new SQLWherePredicateImpl<>(where9), new SQLWherePredicateImpl<>(where10));
        });
        return new EasyQueryable10<>(entityQueryable7);
    }

    default  Queryable10 innerJoin(Queryable joinQueryable, SQLExpression10, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate> on) {
        ClientQueryable10 entityQueryable7 = getClientQueryable9().innerJoin(joinQueryable.getClientQueryable(), (where1, where2, where3, where4, where5, where6, where7, where8, where9, where10) -> {
            on.apply(new SQLWherePredicateImpl<>(where1), new SQLWherePredicateImpl<>(where2), new SQLWherePredicateImpl<>(where3), new SQLWherePredicateImpl<>(where4), new SQLWherePredicateImpl<>(where5), new SQLWherePredicateImpl<>(where6), new SQLWherePredicateImpl<>(where7), new SQLWherePredicateImpl<>(where8), new SQLWherePredicateImpl<>(where9), new SQLWherePredicateImpl<>(where10));
        });
        return new EasyQueryable10<>(entityQueryable7);
    }

    default  Queryable10 leftJoinMerge(Class joinClass, SQLExpression1, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate>> on) {
        return leftJoin(joinClass, (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) -> {
            on.apply(new Tuple10<>(t1, t2, t3, t4, t5, t6, t7, t8, t9, t10));
        });
    }

    default  Queryable10 leftJoinMerge(Queryable joinQueryable, SQLExpression1, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate>> on) {
        return leftJoin(joinQueryable, (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) -> {
            on.apply(new Tuple10<>(t1, t2, t3, t4, t5, t6, t7, t8, t9, t10));
        });
    }

    default  Queryable10 rightJoinMerge(Class joinClass, SQLExpression1, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate>> on) {
        return rightJoin(joinClass, (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) -> {
            on.apply(new Tuple10<>(t1, t2, t3, t4, t5, t6, t7, t8, t9, t10));
        });
    }

    default  Queryable10 rightJoinMerge(Queryable joinQueryable, SQLExpression1, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate>> on) {
        return rightJoin(joinQueryable, (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) -> {
            on.apply(new Tuple10<>(t1, t2, t3, t4, t5, t6, t7, t8, t9, t10));
        });
    }

    default  Queryable10 innerJoinMerge(Class joinClass, SQLExpression1, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate>> on) {
        return innerJoin(joinClass, (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) -> {
            on.apply(new Tuple10<>(t1, t2, t3, t4, t5, t6, t7, t8, t9, t10));
        });
    }

    default  Queryable10 innerJoinMerge(Queryable joinQueryable, SQLExpression1, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate, SQLWherePredicate>> on) {
        return innerJoin(joinQueryable, (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) -> {
            on.apply(new Tuple10<>(t1, t2, t3, t4, t5, t6, t7, t8, t9, t10));
        });
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy