io.tiler.internal.queries.builders.MetricSelectClauseBuilder 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.metrics.SelectClause;
import io.tiler.internal.queries.expressions.Expression;
import java.util.HashMap;
public class MetricSelectClauseBuilder {
HashMap namedExpressions = new HashMap<>();
public void namedExpression(String name, Expression expression) {
namedExpressions.put(name, expression);
}
public SelectClause build() {
return new SelectClause(namedExpressions);
}
}