io.tiler.internal.queries.builders.GroupClauseBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tiler Show documentation
Show all versions of tiler Show documentation
Plugable dashboard framework
package io.tiler.internal.queries.builders;
import io.tiler.internal.queries.clauses.GroupClause;
import io.tiler.internal.queries.expressions.fields.FieldExpression;
import java.util.ArrayList;
public class GroupClauseBuilder {
private ArrayList fieldExpressions = new ArrayList<>();
public GroupClauseBuilder fieldExpression(FieldExpression fieldExpression) {
fieldExpressions.add(fieldExpression);
return this;
}
public GroupClause build() {
return new GroupClause(fieldExpressions);
}
}