@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.dremio.exec.proto.ExecProtos.ServerPreparedStatementState)) { return super.equals(obj); } com.dremio.exec.proto.ExecProtos.ServerPreparedStatementState other = (com.dremio.exec.proto.ExecProtos.ServerPreparedStatementState) obj; boolean result = true; result = result && (hasSqlQuery() == other.hasSqlQuery()); if (hasSqlQuery()) { result = result && getSqlQuery() .equals(other.getSqlQuery()); } result = result && (hasHandle() == other.hasHandle()); if (hasHandle()) { result = result && (getHandle() == other.getHandle()); } result = result && (hasPrepareId() == other.hasPrepareId()); if (hasPrepareId()) { result = result && getPrepareId() .equals(other.getPrepareId()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
if (hasQueryId()) { result = result && getQueryId() .equals(other.getQueryId());
if (hasQueryId()) { result = result && getQueryId() .equals(other.getQueryId());
if (hasId()) { result = result && getId() .equals(other.getId());
if (hasQueryId()) { result = result && getQueryId() .equals(other.getQueryId());
public void updateNodeQueryStatus(NodeQueryStatus status) { AttemptManager manager = attemptManager; if(manager != null && manager.getQueryId().equals(status.getId())){ manager.updateNodeQueryStatus(status); } }
public void updateStatus(FragmentStatus status) { AttemptManager manager = attemptManager; if(manager != null && manager.getQueryId().equals(status.getHandle().getQueryId())){ manager.updateStatus(status); } }