com.easy.query.api4j.func.column.SQLColumnFuncSelector Maven / Gradle / Ivy
package com.easy.query.api4j.func.column;
import com.easy.query.api4j.util.EasyLambdaUtil;
import com.easy.query.core.expression.lambda.Property;
import com.easy.query.core.expression.parser.core.SQLTableOwner;
import com.easy.query.core.func.SQLFunction;
import com.easy.query.core.func.column.ColumnFuncSelector;
/**
* create time 2023/10/11 22:39
* 文件说明
*
* @author xuejiaming
*/
public interface SQLColumnFuncSelector {
ColumnFuncSelector getColumnFuncSelector();
default SQLColumnFuncSelector column(Property property){
getColumnFuncSelector().column(EasyLambdaUtil.getPropertyName(property));
return this;
}
default SQLColumnFuncSelector column(SQLTableOwner tableOwner, Property property){
getColumnFuncSelector().column(tableOwner,EasyLambdaUtil.getPropertyName(property));
return this;
}
default SQLColumnFuncSelector value(Object val){
getColumnFuncSelector().value(val);
return this;
}
default SQLColumnFuncSelector format(Object valFormat){
getColumnFuncSelector().format(valFormat);
return this;
}
default SQLColumnFuncSelector sqlFunc(SQLFunction sqlFunction){
getColumnFuncSelector().sqlFunc(sqlFunction);
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy