com.easy.query.api4j.sql.impl.SQLColumnSelectorImpl Maven / Gradle / Ivy
package com.easy.query.api4j.sql.impl;
import com.easy.query.api4j.sql.SQLColumnSelector;
import com.easy.query.core.expression.parser.core.base.ColumnSelector;
import com.easy.query.core.expression.parser.core.base.core.SQLPropertyNative;
import com.easy.query.core.util.EasyObjectUtil;
/**
* @author xuejiaming
* @Description: 文件说明
* @Date: 2023/2/12 21:36
*/
public class SQLColumnSelectorImpl implements SQLColumnSelector {
private final ColumnSelector columnSelector;
public SQLColumnSelectorImpl(ColumnSelector columnSelector) {
this.columnSelector = columnSelector;
}
@Override
public ColumnSelector getColumnSelector() {
return columnSelector;
}
@Override
public SQLPropertyNative getSQLPropertyNative() {
return EasyObjectUtil.typeCastNullable(columnSelector);
}
@Override
public SQLColumnSelector castChain() {
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy