com.easy.query.api4j.sql.scec.SQLAliasNativeLambdaExpressionContextImpl Maven / Gradle / Ivy
package com.easy.query.api4j.sql.scec;
import com.easy.query.api4j.select.Queryable;
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.scec.SQLAliasNativePropertyExpressionContext;
import java.util.Collection;
/**
* create time 2023/7/29 23:41
* 文件说明
*
* @author xuejiaming
*/
public class SQLAliasNativeLambdaExpressionContextImpl implements SQLAliasNativeLambdaExpressionContext{
private final SQLAliasNativePropertyExpressionContext sqlAliasNativePropertyExpressionContext;
public SQLAliasNativeLambdaExpressionContextImpl(SQLAliasNativePropertyExpressionContext sqlAliasNativePropertyExpressionContext){
this.sqlAliasNativePropertyExpressionContext = sqlAliasNativePropertyExpressionContext;
}
@Override
public SQLAliasNativeLambdaExpressionContext expressionAlias(Property property) {
sqlAliasNativePropertyExpressionContext.expressionAlias(EasyLambdaUtil.getPropertyName(property));
return this;
}
@Override
public SQLAliasNativeLambdaExpressionContext setPropertyAlias(Property property) {
sqlAliasNativePropertyExpressionContext.setPropertyAlias(EasyLambdaUtil.getPropertyName(property));
return this;
}
@Override
public SQLAliasNativeLambdaExpressionContext expression(Property property) {
sqlAliasNativePropertyExpressionContext.expression(EasyLambdaUtil.getPropertyName(property));
return this;
}
@Override
public SQLAliasNativeLambdaExpressionContext expression(EntitySQLTableOwner table, Property property) {
sqlAliasNativePropertyExpressionContext.expression(table,EasyLambdaUtil.getPropertyName(property));
return this;
}
@Override
public SQLAliasNativeLambdaExpressionContext columnName(String columnName) {
sqlAliasNativePropertyExpressionContext.columnName(columnName);
return this;
}
@Override
public SQLAliasNativeLambdaExpressionContext columnName(TableAvailable table, String columnName) {
sqlAliasNativePropertyExpressionContext.columnName(table,columnName);
return this;
}
@Override
public SQLAliasNativeLambdaExpressionContext expression(Queryable subQuery) {
sqlAliasNativePropertyExpressionContext.expression(subQuery.getClientQueryable());
return this;
}
@Override
public SQLAliasNativeLambdaExpressionContext value(Object val) {
sqlAliasNativePropertyExpressionContext.value(val);
return this;
}
@Override
public SQLAliasNativeLambdaExpressionContext collection(Collection values) {
sqlAliasNativePropertyExpressionContext.collection(values);
return this;
}
@Override
public SQLAliasNativeLambdaExpressionContext format(Object formatVal) {
sqlAliasNativePropertyExpressionContext.format(formatVal);
return this;
}
@Override
public SQLAliasNativeLambdaExpressionContext setAlias(String alias) {
sqlAliasNativePropertyExpressionContext.setAlias(alias);
return this;
}
@Override
public SQLAliasNativeLambdaExpressionContext keepStyle() {
sqlAliasNativePropertyExpressionContext.keepStyle();
return this;
}
@Override
public SQLAliasNativeLambdaExpressionContext messageFormat() {
sqlAliasNativePropertyExpressionContext.messageFormat();
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy