Exemplo n.º 1
0
  public Object clone() throws CloneNotSupportedException {
    ColumnStat stat = (ColumnStat) super.clone();
    initFromProto();
    stat.column = (Column) this.column.clone();
    stat.numDistVals = numDistVals;
    stat.numNulls = numNulls;
    stat.minValue = minValue;
    stat.maxValue = maxValue;

    return stat;
  }
Exemplo n.º 2
0
 public String toString() {
   initFromProto();
   Gson gson =
       new GsonBuilder().setPrettyPrinting().excludeFieldsWithoutExposeAnnotation().create();
   return gson.toJson(this);
 }