@Override public int hashCode() { List<Object> list = new ArrayList<Object>(); boolean present_max = true && (isSetMax()); list.add(present_max); if (present_max) list.add(max); boolean present_min = true && (isSetMin()); list.add(present_min); if (present_min) list.add(min); boolean present_null_count = true && (isSetNull_count()); list.add(present_null_count); if (present_null_count) list.add(null_count); boolean present_distinct_count = true && (isSetDistinct_count()); list.add(present_distinct_count); if (present_distinct_count) list.add(distinct_count); boolean present_max_value = true && (isSetMax_value()); list.add(present_max_value); if (present_max_value) list.add(max_value); boolean present_min_value = true && (isSetMin_value()); list.add(present_min_value); if (present_min_value) list.add(min_value); return list.hashCode(); }
first = false; if (isSetDistinct_count()) { if (!first) sb.append(", "); sb.append("distinct_count:");
first = false; if (isSetDistinct_count()) { if (!first) sb.append(", "); sb.append("distinct_count:");
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); } switch (field) { case MAX: return isSetMax(); case MIN: return isSetMin(); case NULL_COUNT: return isSetNull_count(); case DISTINCT_COUNT: return isSetDistinct_count(); case MAX_VALUE: return isSetMax_value(); case MIN_VALUE: return isSetMin_value(); } throw new java.lang.IllegalStateException(); }
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case MAX: return isSetMax(); case MIN: return isSetMin(); case NULL_COUNT: return isSetNull_count(); case DISTINCT_COUNT: return isSetDistinct_count(); case MAX_VALUE: return isSetMax_value(); case MIN_VALUE: return isSetMin_value(); } throw new IllegalStateException(); }
@Override public int hashCode() { int hashCode = 1; hashCode = hashCode * 8191 + ((isSetMax()) ? 131071 : 524287); if (isSetMax()) hashCode = hashCode * 8191 + max.hashCode(); hashCode = hashCode * 8191 + ((isSetMin()) ? 131071 : 524287); if (isSetMin()) hashCode = hashCode * 8191 + min.hashCode(); hashCode = hashCode * 8191 + ((isSetNull_count()) ? 131071 : 524287); if (isSetNull_count()) hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(null_count); hashCode = hashCode * 8191 + ((isSetDistinct_count()) ? 131071 : 524287); if (isSetDistinct_count()) hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(distinct_count); hashCode = hashCode * 8191 + ((isSetMax_value()) ? 131071 : 524287); if (isSetMax_value()) hashCode = hashCode * 8191 + max_value.hashCode(); hashCode = hashCode * 8191 + ((isSetMin_value()) ? 131071 : 524287); if (isSetMin_value()) hashCode = hashCode * 8191 + min_value.hashCode(); return hashCode; }
lastComparison = Boolean.valueOf(isSetDistinct_count()).compareTo(other.isSetDistinct_count()); if (lastComparison != 0) { return lastComparison; if (isSetDistinct_count()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.distinct_count, other.distinct_count); if (lastComparison != 0) {
lastComparison = java.lang.Boolean.valueOf(isSetDistinct_count()).compareTo(other.isSetDistinct_count()); if (lastComparison != 0) { return lastComparison; if (isSetDistinct_count()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.distinct_count, other.distinct_count); if (lastComparison != 0) {
boolean this_present_distinct_count = true && this.isSetDistinct_count(); boolean that_present_distinct_count = true && that.isSetDistinct_count(); if (this_present_distinct_count || that_present_distinct_count) { if (!(this_present_distinct_count && that_present_distinct_count))
boolean this_present_distinct_count = true && this.isSetDistinct_count(); boolean that_present_distinct_count = true && that.isSetDistinct_count(); if (this_present_distinct_count || that_present_distinct_count) { if (!(this_present_distinct_count && that_present_distinct_count))
optionals.set(2); if (struct.isSetDistinct_count()) { optionals.set(3); oprot.writeI64(struct.null_count); if (struct.isSetDistinct_count()) { oprot.writeI64(struct.distinct_count);
optionals.set(2); if (struct.isSetDistinct_count()) { optionals.set(3); oprot.writeI64(struct.null_count); if (struct.isSetDistinct_count()) { oprot.writeI64(struct.distinct_count);
oprot.writeFieldEnd(); if (struct.isSetDistinct_count()) { oprot.writeFieldBegin(DISTINCT_COUNT_FIELD_DESC); oprot.writeI64(struct.distinct_count);
oprot.writeFieldEnd(); if (struct.isSetDistinct_count()) { oprot.writeFieldBegin(DISTINCT_COUNT_FIELD_DESC); oprot.writeI64(struct.distinct_count);