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