@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_max = true && (isSetMax()); builder.append(present_max); if (present_max) builder.append(max); boolean present_min = true && (isSetMin()); builder.append(present_min); if (present_min) builder.append(min); boolean present_null_count = true && (isSetNull_count()); builder.append(present_null_count); if (present_null_count) builder.append(null_count); boolean present_distinct_count = true && (isSetDistinct_count()); builder.append(present_distinct_count); if (present_distinct_count) builder.append(distinct_count); return builder.toHashCode(); }
/** Returns true if field corresponding to fieldID is set (has been asigned 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(); } throw new IllegalStateException(); }
/** Returns true if field corresponding to fieldID is set (has been asigned 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(); } throw new IllegalStateException(); }
if (isSetNull_count()) { if (!first) sb.append(", "); sb.append("null_count:");
if (isSetNull_count()) { if (!first) sb.append(", "); sb.append("null_count:");
lastComparison = Boolean.valueOf(isSetNull_count()).compareTo(typedOther.isSetNull_count()); if (lastComparison != 0) { return lastComparison; if (isSetNull_count()) { lastComparison = TBaseHelper.compareTo(this.null_count, typedOther.null_count); if (lastComparison != 0) {
lastComparison = Boolean.valueOf(isSetNull_count()).compareTo(typedOther.isSetNull_count()); if (lastComparison != 0) { return lastComparison; if (isSetNull_count()) { lastComparison = TBaseHelper.compareTo(this.null_count, typedOther.null_count); if (lastComparison != 0) {
boolean this_present_null_count = true && this.isSetNull_count(); boolean that_present_null_count = true && that.isSetNull_count(); if (this_present_null_count || that_present_null_count) { if (!(this_present_null_count && that_present_null_count))
boolean this_present_null_count = true && this.isSetNull_count(); boolean that_present_null_count = true && that.isSetNull_count(); if (this_present_null_count || that_present_null_count) { if (!(this_present_null_count && that_present_null_count))
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_max = true && (isSetMax()); builder.append(present_max); if (present_max) builder.append(max); boolean present_min = true && (isSetMin()); builder.append(present_min); if (present_min) builder.append(min); boolean present_null_count = true && (isSetNull_count()); builder.append(present_null_count); if (present_null_count) builder.append(null_count); boolean present_distinct_count = true && (isSetDistinct_count()); builder.append(present_distinct_count); if (present_distinct_count) builder.append(distinct_count); return builder.toHashCode(); }
public void write(TProtocol oprot) throws TException { validate(); oprot.writeStructBegin(STRUCT_DESC); if (this.max != null) { if (isSetMax()) { oprot.writeFieldBegin(MAX_FIELD_DESC); oprot.writeBinary(this.max); oprot.writeFieldEnd(); } } if (this.min != null) { if (isSetMin()) { oprot.writeFieldBegin(MIN_FIELD_DESC); oprot.writeBinary(this.min); oprot.writeFieldEnd(); } } if (isSetNull_count()) { oprot.writeFieldBegin(NULL_COUNT_FIELD_DESC); oprot.writeI64(this.null_count); oprot.writeFieldEnd(); } if (isSetDistinct_count()) { oprot.writeFieldBegin(DISTINCT_COUNT_FIELD_DESC); oprot.writeI64(this.distinct_count); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(TProtocol oprot) throws TException { validate(); oprot.writeStructBegin(STRUCT_DESC); if (this.max != null) { if (isSetMax()) { oprot.writeFieldBegin(MAX_FIELD_DESC); oprot.writeBinary(this.max); oprot.writeFieldEnd(); } } if (this.min != null) { if (isSetMin()) { oprot.writeFieldBegin(MIN_FIELD_DESC); oprot.writeBinary(this.min); oprot.writeFieldEnd(); } } if (isSetNull_count()) { oprot.writeFieldBegin(NULL_COUNT_FIELD_DESC); oprot.writeI64(this.null_count); oprot.writeFieldEnd(); } if (isSetDistinct_count()) { oprot.writeFieldBegin(DISTINCT_COUNT_FIELD_DESC); oprot.writeI64(this.distinct_count); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }