com.easy.query.api4j.sql.SQLColumnSetSelector Maven / Gradle / Ivy
package com.easy.query.api4j.sql;
import com.easy.query.core.expression.lambda.Property;
import com.easy.query.core.expression.parser.core.available.TableAvailable;
import com.easy.query.core.expression.parser.core.base.ColumnSetSelector;
import com.easy.query.core.util.EasyLambdaUtil;
/**
* create time 2023/6/16 22:57
* 文件说明
*
* @author xuejiaming
*/
public interface SQLColumnSetSelector {
ColumnSetSelector getColumnSetSelector();
default TableAvailable getTable() {
return getColumnSetSelector().getTable();
}
default SQLColumnSetSelector column(Property column) {
getColumnSetSelector().column(EasyLambdaUtil.getPropertyName(column));
return this;
}
default SQLColumnSetSelector columnIgnore(Property column) {
getColumnSetSelector().columnIgnore(EasyLambdaUtil.getPropertyName(column));
return this;
}
default SQLColumnSetSelector columnAll() {
getColumnSetSelector().columnAll();
return this;
}
default SQLColumnSetSelector then(SQLColumnSetSelector sub) {
return sub;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy