@@ -0,0 +1,1390 @@
+package com.linkedin.thirdeye.dashboard.api;%0A%0Aimport org.joda.time.DateTime;%0A%0A%0Apublic class MetricDataRow %7B%0A  private final DateTime baselineTime;%0A  private final Number%5B%5D baseline;%0A  private final DateTime currentTime;%0A  private final Number%5B%5D current;%0A  private final Number%5B%5D ratio;%0A%0A  public MetricDataRow(DateTime baselineTime, Number%5B%5D baseline, DateTime currentTime, Number%5B%5D current) %7B%0A    this.baselineTime = baselineTime;%0A    this.baseline = baseline;%0A    this.currentTime = currentTime;%0A    this.current = current;%0A%0A    if (baseline == null %7C%7C current == null) %7B%0A      this.ratio = null;%0A    %7D else %7B%0A      this.ratio = new Number%5Bcurrent.length%5D;%0A      for (int i = 0; i %3C current.length; i++) %7B%0A        if (baseline%5Bi%5D == null %7C%7C baseline%5Bi%5D.doubleValue() == 0) %7B%0A          ratio%5Bi%5D = null;%0A        %7D else if (current%5Bi%5D == null) %7B%0A          ratio%5Bi%5D = 0;%0A        %7D else %7B%0A          ratio%5Bi%5D = (current%5Bi%5D.doubleValue() - baseline%5Bi%5D.doubleValue()) / baseline%5Bi%5D.doubleValue();%0A        %7D%0A      %7D%0A    %7D%0A  %7D%0A%0A  public int getNumColumns() %7B%0A    return current.length;%0A  %7D%0A%0A  public DateTime getBaselineTime() %7B%0A    return baselineTime;%0A  %7D%0A%0A  public DateTime getCurrentTime() %7B%0A    return currentTime;%0A  %7D%0A%0A  public Number%5B%5D getBaseline() %7B%0A    return baseline;%0A  %7D%0A%0A  public Number%5B%5D getCurrent() %7B%0A    return current;%0A  %7D%0A%0A  public Number%5B%5D getRatio() %7B%0A    return ratio;%0A  %7D%0A%7D%0A

Include MetricDataRow.java