com.easy.query.api4j.sql.impl.SQLColumnAsSelectorImpl Maven / Gradle / Ivy
package com.easy.query.api4j.sql.impl;
import com.easy.query.api4j.sql.SQLColumnAsSelector;
import com.easy.query.core.expression.parser.core.base.ColumnAsSelector;
import com.easy.query.core.expression.parser.core.base.core.SQLAsPropertyNative;
import com.easy.query.core.util.EasyObjectUtil;
/**
* @author xuejiaming
* @FileName: DefaultSqSelector.java
* @Description: 文件说明
* @Date: 2023/2/8 00:10
*/
public class SQLColumnAsSelectorImpl implements SQLColumnAsSelector {
private final ColumnAsSelector columnAsSelector;
public SQLColumnAsSelectorImpl(ColumnAsSelector columnAsSelector) {
this.columnAsSelector = columnAsSelector;
}
@Override
public ColumnAsSelector getColumnAsSelector() {
return columnAsSelector;
}
@Override
public SQLAsPropertyNative getSQLAsPropertyNative() {
return EasyObjectUtil.typeCastNullable(columnAsSelector);
}
@Override
public SQLColumnAsSelector castChain() {
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy