All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.easy.query.api4j.sql.impl.SQLColumnSelectorImpl Maven / Gradle / Ivy

There is a newer version: 2.3.3
Show newest version
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