com.easy.query.api4j.sql.impl.SQLGroupBySelectorImpl Maven / Gradle / Ivy
package com.easy.query.api4j.sql.impl;
import com.easy.query.api4j.sql.SQLGroupBySelector;
import com.easy.query.core.expression.parser.core.base.ColumnGroupSelector;
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 SQLGroupBySelectorImpl implements SQLGroupBySelector {
private final ColumnGroupSelector groupBySelector;
public SQLGroupBySelectorImpl(ColumnGroupSelector groupBySelector) {
this.groupBySelector = groupBySelector;
}
@Override
public ColumnGroupSelector getGroupBySelector() {
return groupBySelector;
}
@Override
public SQLPropertyNative getSQLPropertyNative() {
return EasyObjectUtil.typeCastNullable(groupBySelector);
}
@Override
public SQLGroupBySelector castChain() {
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy