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

com.easy.query.api4j.select.extension.queryable10.SQLAggregatable10 Maven / Gradle / Ivy

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

import com.easy.query.api4j.sql.SQLColumnResultSelector;
import com.easy.query.api4j.sql.impl.SQLColumnResultSelectorImpl;
import com.easy.query.core.common.tuple.Tuple10;
import com.easy.query.core.expression.lambda.SQLExpression1;
import com.easy.query.core.expression.lambda.SQLExpression10;

import java.math.BigDecimal;

/**
 * create time 2023/8/17 17:02
 * 文件说明
 *
 * @author xuejiaming
 */
public interface SQLAggregatable10 extends ClientQueryable10Available {

    /**
     * 防止溢出
     *
     * @param columnSelectorExpression
     * @param 
     * @return
     */
    default  BigDecimal sumBigDecimalOrNull(SQLExpression10, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector> columnSelectorExpression) {
        return getClientQueryable10().sumBigDecimalOrNull((selector1, selector2, selector3, selector4, selector5, selector6, selector7, selector8, selector9, selector10) -> {
            columnSelectorExpression.apply(new SQLColumnResultSelectorImpl<>(selector1), new SQLColumnResultSelectorImpl<>(selector2), new SQLColumnResultSelectorImpl<>(selector3), new SQLColumnResultSelectorImpl<>(selector4), new SQLColumnResultSelectorImpl<>(selector5), new SQLColumnResultSelectorImpl<>(selector6), new SQLColumnResultSelectorImpl<>(selector7), new SQLColumnResultSelectorImpl<>(selector8), new SQLColumnResultSelectorImpl<>(selector9), new SQLColumnResultSelectorImpl<>(selector10));
        });
    }


    default  BigDecimal sumBigDecimalOrDefault(SQLExpression10, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector> columnSelectorExpression, BigDecimal def) {
        return getClientQueryable10().sumBigDecimalOrDefault((selector1, selector2, selector3, selector4, selector5, selector6, selector7, selector8, selector9, selector10) -> {
            columnSelectorExpression.apply(new SQLColumnResultSelectorImpl<>(selector1), new SQLColumnResultSelectorImpl<>(selector2), new SQLColumnResultSelectorImpl<>(selector3), new SQLColumnResultSelectorImpl<>(selector4), new SQLColumnResultSelectorImpl<>(selector5), new SQLColumnResultSelectorImpl<>(selector6), new SQLColumnResultSelectorImpl<>(selector7), new SQLColumnResultSelectorImpl<>(selector8), new SQLColumnResultSelectorImpl<>(selector9), new SQLColumnResultSelectorImpl<>(selector10));
        }, def);
    }

    default  TMember sumOrNull(SQLExpression10, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector> columnSelectorExpression) {
        return getClientQueryable10().sumOrNull((selector1, selector2, selector3, selector4, selector5, selector6, selector7, selector8, selector9, selector10) -> {
            columnSelectorExpression.apply(new SQLColumnResultSelectorImpl<>(selector1), new SQLColumnResultSelectorImpl<>(selector2), new SQLColumnResultSelectorImpl<>(selector3), new SQLColumnResultSelectorImpl<>(selector4), new SQLColumnResultSelectorImpl<>(selector5), new SQLColumnResultSelectorImpl<>(selector6), new SQLColumnResultSelectorImpl<>(selector7), new SQLColumnResultSelectorImpl<>(selector8), new SQLColumnResultSelectorImpl<>(selector9), new SQLColumnResultSelectorImpl<>(selector10));
        });
    }

    default  TMember sumOrDefault(SQLExpression10, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector> columnSelectorExpression, TMember def) {
        return getClientQueryable10().sumOrDefault((selector1, selector2, selector3, selector4, selector5, selector6, selector7, selector8, selector9, selector10) -> {
            columnSelectorExpression.apply(new SQLColumnResultSelectorImpl<>(selector1), new SQLColumnResultSelectorImpl<>(selector2), new SQLColumnResultSelectorImpl<>(selector3), new SQLColumnResultSelectorImpl<>(selector4), new SQLColumnResultSelectorImpl<>(selector5), new SQLColumnResultSelectorImpl<>(selector6), new SQLColumnResultSelectorImpl<>(selector7), new SQLColumnResultSelectorImpl<>(selector8), new SQLColumnResultSelectorImpl<>(selector9), new SQLColumnResultSelectorImpl<>(selector10));
        }, def);
    }

    default  TMember maxOrNull(SQLExpression10, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector> columnSelectorExpression) {
        return getClientQueryable10().maxOrNull((selector1, selector2, selector3, selector4, selector5, selector6, selector7, selector8, selector9, selector10) -> {
            columnSelectorExpression.apply(new SQLColumnResultSelectorImpl<>(selector1), new SQLColumnResultSelectorImpl<>(selector2), new SQLColumnResultSelectorImpl<>(selector3), new SQLColumnResultSelectorImpl<>(selector4), new SQLColumnResultSelectorImpl<>(selector5), new SQLColumnResultSelectorImpl<>(selector6), new SQLColumnResultSelectorImpl<>(selector7), new SQLColumnResultSelectorImpl<>(selector8), new SQLColumnResultSelectorImpl<>(selector9), new SQLColumnResultSelectorImpl<>(selector10));
        });
    }

    default  TMember maxOrDefault(SQLExpression10, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector> columnSelectorExpression, TMember def) {
        return getClientQueryable10().maxOrDefault((selector1, selector2, selector3, selector4, selector5, selector6, selector7, selector8, selector9, selector10) -> {
            columnSelectorExpression.apply(new SQLColumnResultSelectorImpl<>(selector1), new SQLColumnResultSelectorImpl<>(selector2), new SQLColumnResultSelectorImpl<>(selector3), new SQLColumnResultSelectorImpl<>(selector4), new SQLColumnResultSelectorImpl<>(selector5), new SQLColumnResultSelectorImpl<>(selector6), new SQLColumnResultSelectorImpl<>(selector7), new SQLColumnResultSelectorImpl<>(selector8), new SQLColumnResultSelectorImpl<>(selector9), new SQLColumnResultSelectorImpl<>(selector10));
        }, def);
    }

    default  TMember minOrNull(SQLExpression10, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector> columnSelectorExpression) {
        return getClientQueryable10().minOrNull((selector1, selector2, selector3, selector4, selector5, selector6, selector7, selector8, selector9, selector10) -> {
            columnSelectorExpression.apply(new SQLColumnResultSelectorImpl<>(selector1), new SQLColumnResultSelectorImpl<>(selector2), new SQLColumnResultSelectorImpl<>(selector3), new SQLColumnResultSelectorImpl<>(selector4), new SQLColumnResultSelectorImpl<>(selector5), new SQLColumnResultSelectorImpl<>(selector6), new SQLColumnResultSelectorImpl<>(selector7), new SQLColumnResultSelectorImpl<>(selector8), new SQLColumnResultSelectorImpl<>(selector9), new SQLColumnResultSelectorImpl<>(selector10));
        });
    }

    default  TMember minOrDefault(SQLExpression10, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector> columnSelectorExpression, TMember def) {
        return getClientQueryable10().minOrDefault((selector1, selector2, selector3, selector4, selector5, selector6, selector7, selector8, selector9, selector10) -> {
            columnSelectorExpression.apply(new SQLColumnResultSelectorImpl<>(selector1), new SQLColumnResultSelectorImpl<>(selector2), new SQLColumnResultSelectorImpl<>(selector3), new SQLColumnResultSelectorImpl<>(selector4), new SQLColumnResultSelectorImpl<>(selector5), new SQLColumnResultSelectorImpl<>(selector6), new SQLColumnResultSelectorImpl<>(selector7), new SQLColumnResultSelectorImpl<>(selector8), new SQLColumnResultSelectorImpl<>(selector9), new SQLColumnResultSelectorImpl<>(selector10));
        }, def);
    }

    default  Double avgOrNull(SQLExpression10, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector> columnSelectorExpression) {
        return getClientQueryable10().avgOrNull((selector1, selector2, selector3, selector4, selector5, selector6, selector7, selector8, selector9, selector10) -> {
            columnSelectorExpression.apply(new SQLColumnResultSelectorImpl<>(selector1), new SQLColumnResultSelectorImpl<>(selector2), new SQLColumnResultSelectorImpl<>(selector3), new SQLColumnResultSelectorImpl<>(selector4), new SQLColumnResultSelectorImpl<>(selector5), new SQLColumnResultSelectorImpl<>(selector6), new SQLColumnResultSelectorImpl<>(selector7), new SQLColumnResultSelectorImpl<>(selector8), new SQLColumnResultSelectorImpl<>(selector9), new SQLColumnResultSelectorImpl<>(selector10));
        });
    }

    default  BigDecimal avgBigDecimalOrNull(SQLExpression10, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector> columnSelectorExpression) {
        return getClientQueryable10().avgBigDecimalOrNull((selector1, selector2, selector3, selector4, selector5, selector6, selector7, selector8, selector9, selector10) -> {
            columnSelectorExpression.apply(new SQLColumnResultSelectorImpl<>(selector1), new SQLColumnResultSelectorImpl<>(selector2), new SQLColumnResultSelectorImpl<>(selector3), new SQLColumnResultSelectorImpl<>(selector4), new SQLColumnResultSelectorImpl<>(selector5), new SQLColumnResultSelectorImpl<>(selector6), new SQLColumnResultSelectorImpl<>(selector7), new SQLColumnResultSelectorImpl<>(selector8), new SQLColumnResultSelectorImpl<>(selector9), new SQLColumnResultSelectorImpl<>(selector10));
        });
    }

    default  Float avgFloatOrNull(SQLExpression10, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector> columnSelectorExpression) {
        return getClientQueryable10().avgFloatOrNull((selector1, selector2, selector3, selector4, selector5, selector6, selector7, selector8, selector9, selector10) -> {
            columnSelectorExpression.apply(new SQLColumnResultSelectorImpl<>(selector1), new SQLColumnResultSelectorImpl<>(selector2), new SQLColumnResultSelectorImpl<>(selector3), new SQLColumnResultSelectorImpl<>(selector4), new SQLColumnResultSelectorImpl<>(selector5), new SQLColumnResultSelectorImpl<>(selector6), new SQLColumnResultSelectorImpl<>(selector7), new SQLColumnResultSelectorImpl<>(selector8), new SQLColumnResultSelectorImpl<>(selector9), new SQLColumnResultSelectorImpl<>(selector10));
        });
    }

    default  Double avgOrDefault(SQLExpression10, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector> columnSelectorExpression, Double def) {
        return getClientQueryable10().avgOrDefault((selector1, selector2, selector3, selector4, selector5, selector6, selector7, selector8, selector9, selector10) -> {
            columnSelectorExpression.apply(new SQLColumnResultSelectorImpl<>(selector1), new SQLColumnResultSelectorImpl<>(selector2), new SQLColumnResultSelectorImpl<>(selector3), new SQLColumnResultSelectorImpl<>(selector4), new SQLColumnResultSelectorImpl<>(selector5), new SQLColumnResultSelectorImpl<>(selector6), new SQLColumnResultSelectorImpl<>(selector7), new SQLColumnResultSelectorImpl<>(selector8), new SQLColumnResultSelectorImpl<>(selector9), new SQLColumnResultSelectorImpl<>(selector10));
        }, def);
    }

    default  BigDecimal avgBigDecimalOrDefault(SQLExpression10, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector> columnSelectorExpression, BigDecimal def) {
        return getClientQueryable10().avgBigDecimalOrDefault((selector1, selector2, selector3, selector4, selector5, selector6, selector7, selector8, selector9, selector10) -> {
            columnSelectorExpression.apply(new SQLColumnResultSelectorImpl<>(selector1), new SQLColumnResultSelectorImpl<>(selector2), new SQLColumnResultSelectorImpl<>(selector3), new SQLColumnResultSelectorImpl<>(selector4), new SQLColumnResultSelectorImpl<>(selector5), new SQLColumnResultSelectorImpl<>(selector6), new SQLColumnResultSelectorImpl<>(selector7), new SQLColumnResultSelectorImpl<>(selector8), new SQLColumnResultSelectorImpl<>(selector9), new SQLColumnResultSelectorImpl<>(selector10));
        }, def);
    }

    default  Float avgFloatOrDefault(SQLExpression10, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector> columnSelectorExpression, Float def) {
        return getClientQueryable10().avgFloatOrDefault((selector1, selector2, selector3, selector4, selector5, selector6, selector7, selector8, selector9, selector10) -> {
            columnSelectorExpression.apply(new SQLColumnResultSelectorImpl<>(selector1), new SQLColumnResultSelectorImpl<>(selector2), new SQLColumnResultSelectorImpl<>(selector3), new SQLColumnResultSelectorImpl<>(selector4), new SQLColumnResultSelectorImpl<>(selector5), new SQLColumnResultSelectorImpl<>(selector6), new SQLColumnResultSelectorImpl<>(selector7), new SQLColumnResultSelectorImpl<>(selector8), new SQLColumnResultSelectorImpl<>(selector9), new SQLColumnResultSelectorImpl<>(selector10));
        }, def);
    }

    default  TResult avgOrDefault(SQLExpression10, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector> columnSelectorExpression, TResult def, Class resultClass) {
        return getClientQueryable10().avgOrDefault((selector1, selector2, selector3, selector4, selector5, selector6, selector7, selector8, selector9, selector10) -> {
            columnSelectorExpression.apply(new SQLColumnResultSelectorImpl<>(selector1), new SQLColumnResultSelectorImpl<>(selector2), new SQLColumnResultSelectorImpl<>(selector3), new SQLColumnResultSelectorImpl<>(selector4), new SQLColumnResultSelectorImpl<>(selector5), new SQLColumnResultSelectorImpl<>(selector6), new SQLColumnResultSelectorImpl<>(selector7), new SQLColumnResultSelectorImpl<>(selector8), new SQLColumnResultSelectorImpl<>(selector9), new SQLColumnResultSelectorImpl<>(selector10));
        }, def, resultClass);
    }




    /**
     * 防止溢出
     *
     * @param columnSelectorExpression
     * @param 
     * @return
     */
    default  BigDecimal sumBigDecimalOrNullMerge(SQLExpression1, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector>> columnSelectorExpression) {
        return getClientQueryable10().sumBigDecimalOrNullMerge((tuple10) -> {
            columnSelectorExpression.apply(new Tuple10<>(new SQLColumnResultSelectorImpl<>(tuple10.t()), new SQLColumnResultSelectorImpl<>(tuple10.t1()), new SQLColumnResultSelectorImpl<>(tuple10.t2()), new SQLColumnResultSelectorImpl<>(tuple10.t3()), new SQLColumnResultSelectorImpl<>(tuple10.t4()), new SQLColumnResultSelectorImpl<>(tuple10.t5()), new SQLColumnResultSelectorImpl<>(tuple10.t6()), new SQLColumnResultSelectorImpl<>(tuple10.t7()), new SQLColumnResultSelectorImpl<>(tuple10.t8()),new SQLColumnResultSelectorImpl<>(tuple10.t9())));
        });
    }


    default  BigDecimal sumBigDecimalOrDefaultMerge(SQLExpression1, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector>> columnSelectorExpression, BigDecimal def) {
        return getClientQueryable10().sumBigDecimalOrDefaultMerge((tuple10) -> {
            columnSelectorExpression.apply(new Tuple10<>(new SQLColumnResultSelectorImpl<>(tuple10.t()), new SQLColumnResultSelectorImpl<>(tuple10.t1()), new SQLColumnResultSelectorImpl<>(tuple10.t2()), new SQLColumnResultSelectorImpl<>(tuple10.t3()), new SQLColumnResultSelectorImpl<>(tuple10.t4()), new SQLColumnResultSelectorImpl<>(tuple10.t5()), new SQLColumnResultSelectorImpl<>(tuple10.t6()), new SQLColumnResultSelectorImpl<>(tuple10.t7()), new SQLColumnResultSelectorImpl<>(tuple10.t8()),new SQLColumnResultSelectorImpl<>(tuple10.t9())));
        }, def);
    }

    default  TMember sumOrNullMerge(SQLExpression1, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector>> columnSelectorExpression) {
        return getClientQueryable10().sumOrNullMerge((tuple10) -> {
            columnSelectorExpression.apply(new Tuple10<>(new SQLColumnResultSelectorImpl<>(tuple10.t()), new SQLColumnResultSelectorImpl<>(tuple10.t1()), new SQLColumnResultSelectorImpl<>(tuple10.t2()), new SQLColumnResultSelectorImpl<>(tuple10.t3()), new SQLColumnResultSelectorImpl<>(tuple10.t4()), new SQLColumnResultSelectorImpl<>(tuple10.t5()), new SQLColumnResultSelectorImpl<>(tuple10.t6()), new SQLColumnResultSelectorImpl<>(tuple10.t7()), new SQLColumnResultSelectorImpl<>(tuple10.t8()),new SQLColumnResultSelectorImpl<>(tuple10.t9())));
        });
    }

    default  TMember sumOrDefaultMerge(SQLExpression1, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector>> columnSelectorExpression, TMember def) {
        return getClientQueryable10().sumOrDefaultMerge((tuple10) -> {
            columnSelectorExpression.apply(new Tuple10<>(new SQLColumnResultSelectorImpl<>(tuple10.t()), new SQLColumnResultSelectorImpl<>(tuple10.t1()), new SQLColumnResultSelectorImpl<>(tuple10.t2()), new SQLColumnResultSelectorImpl<>(tuple10.t3()), new SQLColumnResultSelectorImpl<>(tuple10.t4()), new SQLColumnResultSelectorImpl<>(tuple10.t5()), new SQLColumnResultSelectorImpl<>(tuple10.t6()), new SQLColumnResultSelectorImpl<>(tuple10.t7()), new SQLColumnResultSelectorImpl<>(tuple10.t8()),new SQLColumnResultSelectorImpl<>(tuple10.t9())));
        }, def);
    }

    default  TMember maxOrNullMerge(SQLExpression1, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector>> columnSelectorExpression) {
        return getClientQueryable10().maxOrNullMerge((tuple10) -> {
            columnSelectorExpression.apply(new Tuple10<>(new SQLColumnResultSelectorImpl<>(tuple10.t()), new SQLColumnResultSelectorImpl<>(tuple10.t1()), new SQLColumnResultSelectorImpl<>(tuple10.t2()), new SQLColumnResultSelectorImpl<>(tuple10.t3()), new SQLColumnResultSelectorImpl<>(tuple10.t4()), new SQLColumnResultSelectorImpl<>(tuple10.t5()), new SQLColumnResultSelectorImpl<>(tuple10.t6()), new SQLColumnResultSelectorImpl<>(tuple10.t7()), new SQLColumnResultSelectorImpl<>(tuple10.t8()),new SQLColumnResultSelectorImpl<>(tuple10.t9())));
        });
    }

    default  TMember maxOrDefaultMerge(SQLExpression1, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector>> columnSelectorExpression, TMember def) {
        return getClientQueryable10().maxOrDefaultMerge((tuple10) -> {
            columnSelectorExpression.apply(new Tuple10<>(new SQLColumnResultSelectorImpl<>(tuple10.t()), new SQLColumnResultSelectorImpl<>(tuple10.t1()), new SQLColumnResultSelectorImpl<>(tuple10.t2()), new SQLColumnResultSelectorImpl<>(tuple10.t3()), new SQLColumnResultSelectorImpl<>(tuple10.t4()), new SQLColumnResultSelectorImpl<>(tuple10.t5()), new SQLColumnResultSelectorImpl<>(tuple10.t6()), new SQLColumnResultSelectorImpl<>(tuple10.t7()), new SQLColumnResultSelectorImpl<>(tuple10.t8()),new SQLColumnResultSelectorImpl<>(tuple10.t9())));
        }, def);
    }

    default  TMember minOrNullMerge(SQLExpression1, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector>> columnSelectorExpression) {
        return getClientQueryable10().minOrNullMerge((tuple10) -> {
            columnSelectorExpression.apply(new Tuple10<>(new SQLColumnResultSelectorImpl<>(tuple10.t()), new SQLColumnResultSelectorImpl<>(tuple10.t1()), new SQLColumnResultSelectorImpl<>(tuple10.t2()), new SQLColumnResultSelectorImpl<>(tuple10.t3()), new SQLColumnResultSelectorImpl<>(tuple10.t4()), new SQLColumnResultSelectorImpl<>(tuple10.t5()), new SQLColumnResultSelectorImpl<>(tuple10.t6()), new SQLColumnResultSelectorImpl<>(tuple10.t7()), new SQLColumnResultSelectorImpl<>(tuple10.t8()),new SQLColumnResultSelectorImpl<>(tuple10.t9())));
        });
    }

    default  TMember minOrDefaultMerge(SQLExpression1, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector>> columnSelectorExpression, TMember def) {
        return getClientQueryable10().minOrDefaultMerge((tuple10) -> {
            columnSelectorExpression.apply(new Tuple10<>(new SQLColumnResultSelectorImpl<>(tuple10.t()), new SQLColumnResultSelectorImpl<>(tuple10.t1()), new SQLColumnResultSelectorImpl<>(tuple10.t2()), new SQLColumnResultSelectorImpl<>(tuple10.t3()), new SQLColumnResultSelectorImpl<>(tuple10.t4()), new SQLColumnResultSelectorImpl<>(tuple10.t5()), new SQLColumnResultSelectorImpl<>(tuple10.t6()), new SQLColumnResultSelectorImpl<>(tuple10.t7()), new SQLColumnResultSelectorImpl<>(tuple10.t8()),new SQLColumnResultSelectorImpl<>(tuple10.t9())));
        }, def);
    }

    default  Double avgOrNullMerge(SQLExpression1, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector>> columnSelectorExpression) {
        return getClientQueryable10().avgOrNullMerge((tuple10) -> {
            columnSelectorExpression.apply(new Tuple10<>(new SQLColumnResultSelectorImpl<>(tuple10.t()), new SQLColumnResultSelectorImpl<>(tuple10.t1()), new SQLColumnResultSelectorImpl<>(tuple10.t2()), new SQLColumnResultSelectorImpl<>(tuple10.t3()), new SQLColumnResultSelectorImpl<>(tuple10.t4()), new SQLColumnResultSelectorImpl<>(tuple10.t5()), new SQLColumnResultSelectorImpl<>(tuple10.t6()), new SQLColumnResultSelectorImpl<>(tuple10.t7()), new SQLColumnResultSelectorImpl<>(tuple10.t8()),new SQLColumnResultSelectorImpl<>(tuple10.t9())));
        });
    }

    default  BigDecimal avgBigDecimalOrNullMerge(SQLExpression1, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector>> columnSelectorExpression) {
        return getClientQueryable10().avgBigDecimalOrNullMerge((tuple10) -> {
            columnSelectorExpression.apply(new Tuple10<>(new SQLColumnResultSelectorImpl<>(tuple10.t()), new SQLColumnResultSelectorImpl<>(tuple10.t1()), new SQLColumnResultSelectorImpl<>(tuple10.t2()), new SQLColumnResultSelectorImpl<>(tuple10.t3()), new SQLColumnResultSelectorImpl<>(tuple10.t4()), new SQLColumnResultSelectorImpl<>(tuple10.t5()), new SQLColumnResultSelectorImpl<>(tuple10.t6()), new SQLColumnResultSelectorImpl<>(tuple10.t7()), new SQLColumnResultSelectorImpl<>(tuple10.t8()),new SQLColumnResultSelectorImpl<>(tuple10.t9())));
        });
    }

    default  Float avgFloatOrNullMerge(SQLExpression1, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector>> columnSelectorExpression) {
        return getClientQueryable10().avgFloatOrNullMerge((tuple10) -> {
            columnSelectorExpression.apply(new Tuple10<>(new SQLColumnResultSelectorImpl<>(tuple10.t()), new SQLColumnResultSelectorImpl<>(tuple10.t1()), new SQLColumnResultSelectorImpl<>(tuple10.t2()), new SQLColumnResultSelectorImpl<>(tuple10.t3()), new SQLColumnResultSelectorImpl<>(tuple10.t4()), new SQLColumnResultSelectorImpl<>(tuple10.t5()), new SQLColumnResultSelectorImpl<>(tuple10.t6()), new SQLColumnResultSelectorImpl<>(tuple10.t7()), new SQLColumnResultSelectorImpl<>(tuple10.t8()),new SQLColumnResultSelectorImpl<>(tuple10.t9())));
        });
    }

    default  Double avgOrDefaultMerge(SQLExpression1, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector>> columnSelectorExpression, Double def) {
        return getClientQueryable10().avgOrDefaultMerge((tuple10) -> {
            columnSelectorExpression.apply(new Tuple10<>(new SQLColumnResultSelectorImpl<>(tuple10.t()), new SQLColumnResultSelectorImpl<>(tuple10.t1()), new SQLColumnResultSelectorImpl<>(tuple10.t2()), new SQLColumnResultSelectorImpl<>(tuple10.t3()), new SQLColumnResultSelectorImpl<>(tuple10.t4()), new SQLColumnResultSelectorImpl<>(tuple10.t5()), new SQLColumnResultSelectorImpl<>(tuple10.t6()), new SQLColumnResultSelectorImpl<>(tuple10.t7()), new SQLColumnResultSelectorImpl<>(tuple10.t8()),new SQLColumnResultSelectorImpl<>(tuple10.t9())));
        }, def);
    }

    default  BigDecimal avgBigDecimalOrDefaultMerge(SQLExpression1, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector>> columnSelectorExpression, BigDecimal def) {
        return getClientQueryable10().avgBigDecimalOrDefaultMerge((tuple10) -> {
            columnSelectorExpression.apply(new Tuple10<>(new SQLColumnResultSelectorImpl<>(tuple10.t()), new SQLColumnResultSelectorImpl<>(tuple10.t1()), new SQLColumnResultSelectorImpl<>(tuple10.t2()), new SQLColumnResultSelectorImpl<>(tuple10.t3()), new SQLColumnResultSelectorImpl<>(tuple10.t4()), new SQLColumnResultSelectorImpl<>(tuple10.t5()), new SQLColumnResultSelectorImpl<>(tuple10.t6()), new SQLColumnResultSelectorImpl<>(tuple10.t7()), new SQLColumnResultSelectorImpl<>(tuple10.t8()),new SQLColumnResultSelectorImpl<>(tuple10.t9())));
        }, def);
    }

    default  Float avgFloatOrDefaultMerge(SQLExpression1, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector>> columnSelectorExpression, Float def) {
        return getClientQueryable10().avgFloatOrDefaultMerge((tuple10) -> {
            columnSelectorExpression.apply(new Tuple10<>(new SQLColumnResultSelectorImpl<>(tuple10.t()), new SQLColumnResultSelectorImpl<>(tuple10.t1()), new SQLColumnResultSelectorImpl<>(tuple10.t2()), new SQLColumnResultSelectorImpl<>(tuple10.t3()), new SQLColumnResultSelectorImpl<>(tuple10.t4()), new SQLColumnResultSelectorImpl<>(tuple10.t5()), new SQLColumnResultSelectorImpl<>(tuple10.t6()), new SQLColumnResultSelectorImpl<>(tuple10.t7()), new SQLColumnResultSelectorImpl<>(tuple10.t8()),new SQLColumnResultSelectorImpl<>(tuple10.t9())));
        }, def);
    }

    default  TResult avgOrDefaultMerge(SQLExpression1, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector, SQLColumnResultSelector>> columnSelectorExpression, TResult def, Class resultClass) {
        return getClientQueryable10().avgOrDefaultMerge((tuple10) -> {
            columnSelectorExpression.apply(new Tuple10<>(new SQLColumnResultSelectorImpl<>(tuple10.t()), new SQLColumnResultSelectorImpl<>(tuple10.t1()), new SQLColumnResultSelectorImpl<>(tuple10.t2()), new SQLColumnResultSelectorImpl<>(tuple10.t3()), new SQLColumnResultSelectorImpl<>(tuple10.t4()), new SQLColumnResultSelectorImpl<>(tuple10.t5()), new SQLColumnResultSelectorImpl<>(tuple10.t6()), new SQLColumnResultSelectorImpl<>(tuple10.t7()), new SQLColumnResultSelectorImpl<>(tuple10.t8()),new SQLColumnResultSelectorImpl<>(tuple10.t9())));
        }, def, resultClass);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy