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

cool.scx.data.query.GroupByBody Maven / Gradle / Ivy

There is a newer version: 2.7.4
Show newest version
package cool.scx.data.query;

import static cool.scx.data.query.GroupByOption.Info;
import static cool.scx.util.StringUtils.isBlank;

/**
 * 

GroupByBody class.

* * @author scx567888 * @version 0.0.1 */ public record GroupByBody(String name, Info info) { public GroupByBody(String name, Info info) { if (isBlank(name)) { throw new IllegalArgumentException("GroupBy 参数错误 : 名称 不能为空 !!!"); } this.name = name.trim(); this.info = info; } public GroupByBody(String name, GroupByOption... options) { this(name, new Info(options)); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy