@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_acked = true && (is_set_acked()); builder.append(present_acked); if (present_acked) builder.append(acked); boolean present_failed = true && (is_set_failed()); builder.append(present_failed); if (present_failed) builder.append(failed); boolean present_process_ms_avg = true && (is_set_process_ms_avg()); builder.append(present_process_ms_avg); if (present_process_ms_avg) builder.append(process_ms_avg); boolean present_executed = true && (is_set_executed()); builder.append(present_executed); if (present_executed) builder.append(executed); boolean present_execute_ms_avg = true && (is_set_execute_ms_avg()); builder.append(present_execute_ms_avg); if (present_execute_ms_avg) builder.append(execute_ms_avg); return builder.toHashCode(); }
/** 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 ACKED: return is_set_acked(); case FAILED: return is_set_failed(); case PROCESS_MS_AVG: return is_set_process_ms_avg(); case EXECUTED: return is_set_executed(); case EXECUTE_MS_AVG: return is_set_execute_ms_avg(); } throw new IllegalStateException(); }
if (other.is_set_executed()) { Map<String,Map<GlobalStreamId,Long>> __this__executed = new HashMap<String,Map<GlobalStreamId,Long>>(); for (Map.Entry<String, Map<GlobalStreamId,Long>> other_element : other.executed.entrySet()) {
boolean this_present_executed = true && this.is_set_executed(); boolean that_present_executed = true && that.is_set_executed(); if (this_present_executed || that_present_executed) { if (!(this_present_executed && that_present_executed))
lastComparison = Boolean.valueOf(is_set_executed()).compareTo(typedOther.is_set_executed()); if (lastComparison != 0) { return lastComparison; if (is_set_executed()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.executed, typedOther.executed); if (lastComparison != 0) {
public void validate() throws org.apache.thrift.TException { // check for required fields if (!is_set_acked()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'acked' is unset! Struct:" + toString()); } if (!is_set_failed()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'failed' is unset! Struct:" + toString()); } if (!is_set_process_ms_avg()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'process_ms_avg' is unset! Struct:" + toString()); } if (!is_set_executed()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'executed' is unset! Struct:" + toString()); } if (!is_set_execute_ms_avg()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'execute_ms_avg' is unset! Struct:" + toString()); } }