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; }
public String toString() { initFromProto(); Gson gson = new GsonBuilder().setPrettyPrinting().excludeFieldsWithoutExposeAnnotation().create(); return gson.toJson(this); }