com.easy.query.api4j.select.extension.queryable.SQLTreeable1 Maven / Gradle / Ivy
package com.easy.query.api4j.select.extension.queryable;
import com.easy.query.api4j.select.Queryable;
import com.easy.query.api4j.select.impl.EasyQueryable;
import com.easy.query.api4j.util.EasyLambdaUtil;
import com.easy.query.core.basic.api.select.ClientQueryable;
import com.easy.query.core.basic.api.select.ClientQueryableAvailable;
import com.easy.query.core.expression.lambda.Property;
import com.easy.query.core.expression.lambda.SQLExpression1;
import com.easy.query.core.expression.parser.core.base.tree.TreeCTEConfigurer;
/**
* create time 2023/10/22 12:10
* 文件说明
*
* @author xuejiaming
*/
public interface SQLTreeable1 extends ClientQueryableAvailable, QueryableAvailable {
default Queryable asTreeCTE() {
return asTreeCTE(o -> {
});
}
default Queryable asTreeCTE(SQLExpression1 treeExpression) {
ClientQueryable clientQueryable = getClientQueryable().asTreeCTE(treeExpression);
return new EasyQueryable<>(clientQueryable);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy