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

com.easy.query.api4j.select.extension.queryable.SQLTreeable1 Maven / Gradle / Ivy

There is a newer version: 2.3.3
Show newest version
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