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.
com.easy.query.api4j.select.extension.queryable10.SQLSelectable10 Maven / Gradle / Ivy
package com.easy.query.api4j.select.extension.queryable10;
import com.easy.query.api4j.select.Queryable;
import com.easy.query.api4j.select.impl.EasyQueryable;
import com.easy.query.api4j.sql.SQLColumnAsSelector;
import com.easy.query.api4j.sql.impl.SQLColumnAsSelectorImpl;
import com.easy.query.core.basic.api.select.ClientQueryable;
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 09:56
* 文件说明
*
* @author xuejiaming
*/
public interface SQLSelectable10 extends ClientQueryable10Available {
default Queryable select(Class resultClass, SQLExpression10, SQLColumnAsSelector, SQLColumnAsSelector, SQLColumnAsSelector, SQLColumnAsSelector, SQLColumnAsSelector, SQLColumnAsSelector, SQLColumnAsSelector, SQLColumnAsSelector, SQLColumnAsSelector> selectExpression) {
ClientQueryable select = getClientQueryable10().select(resultClass, (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) -> {
selectExpression.apply(new SQLColumnAsSelectorImpl<>(t1), new SQLColumnAsSelectorImpl<>(t2), new SQLColumnAsSelectorImpl<>(t3), new SQLColumnAsSelectorImpl<>(t4), new SQLColumnAsSelectorImpl<>(t5), new SQLColumnAsSelectorImpl<>(t6), new SQLColumnAsSelectorImpl<>(t7), new SQLColumnAsSelectorImpl<>(t8), new SQLColumnAsSelectorImpl<>(t9),new SQLColumnAsSelectorImpl<>(t10));
});
return new EasyQueryable<>(select);
}
default Queryable selectMerge(Class resultClass, SQLExpression1, SQLColumnAsSelector, SQLColumnAsSelector, SQLColumnAsSelector, SQLColumnAsSelector, SQLColumnAsSelector, SQLColumnAsSelector, SQLColumnAsSelector, SQLColumnAsSelector, SQLColumnAsSelector>> selectExpression) {
return select(resultClass, (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) -> {
selectExpression.apply(new Tuple10<>(t1, t2, t3, t4, t5, t6, t7, t8, t9, t10));
});
}
}