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

top.remliyx.dbeasy.core.criterion.Projection Maven / Gradle / Ivy

package top.remliyx.dbeasy.core.criterion;


import top.remliyx.dbeasy.core.lambda.segment.MergeSqlSegment;
import top.remliyx.dbeasy.core.mapping.def.TableMapping;

import java.util.List;
import java.util.Map;

/**
 * 文件说明:
 * 创建作者: lyx
 * 创建日期: 2022-10-27
 * 版权所有:lyx
 * 版本:    Version 1.0
 */
public interface Projection {

    void addSqlSegment(MergeSqlSegment customSelect, Map tableMap, Boolean isAdv, List queryParam);

    Projection as(String alias);

    default boolean isGrouped() {
        return false;
    }
}