public int compareTo(DecimalColumnStatsData other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; DecimalColumnStatsData typedOther = (DecimalColumnStatsData) other; lastComparison = Boolean.valueOf(isSetLowValue()).compareTo(typedOther.isSetLowValue()); if (lastComparison != 0) { return lastComparison; } if (isSetLowValue()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lowValue, typedOther.lowValue); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetHighValue()).compareTo(typedOther.isSetHighValue()); if (lastComparison != 0) { return lastComparison; } if (isSetHighValue()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.highValue, typedOther.highValue); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetNumNulls()).compareTo(typedOther.isSetNumNulls()); if (lastComparison != 0) { return lastComparison; } if (isSetNumNulls()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numNulls, typedOther.numNulls); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetNumDVs()).compareTo(typedOther.isSetNumDVs()); if (lastComparison != 0) { return lastComparison; } if (isSetNumDVs()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numDVs, typedOther.numDVs); if (lastComparison != 0) { return lastComparison; } } return 0; }