mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-11 03:58:14 +00:00
(improvement)(headless)Add unit to measure.
This commit is contained in:
@@ -23,12 +23,16 @@ public class Measure {
|
||||
|
||||
private String alias;
|
||||
|
||||
public Measure(String name, String bizName, String expr, String agg, Integer isCreateMetric) {
|
||||
private String unit;
|
||||
|
||||
public Measure(String name, String bizName, String expr, String agg, String unit,
|
||||
Integer isCreateMetric) {
|
||||
this.name = name;
|
||||
this.agg = agg;
|
||||
this.isCreateMetric = isCreateMetric;
|
||||
this.bizName = bizName;
|
||||
this.expr = expr;
|
||||
this.unit = unit;
|
||||
}
|
||||
|
||||
public Measure(String name, String bizName, String agg, Integer isCreateMetric) {
|
||||
|
||||
@@ -21,4 +21,6 @@ public class SemanticColumn {
|
||||
|
||||
private String expr;
|
||||
|
||||
private String unit;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user