public boolean equals()

in core/src/main/thrift-gen-java/org/apache/accumulo/core/tabletserver/thrift/TExternalCompactionJob.java [654:742]


  public boolean equals(TExternalCompactionJob that) {
    if (that == null)
      return false;
    if (this == that)
      return true;

    boolean this_present_externalCompactionId = true && this.isSetExternalCompactionId();
    boolean that_present_externalCompactionId = true && that.isSetExternalCompactionId();
    if (this_present_externalCompactionId || that_present_externalCompactionId) {
      if (!(this_present_externalCompactionId && that_present_externalCompactionId))
        return false;
      if (!this.externalCompactionId.equals(that.externalCompactionId))
        return false;
    }

    boolean this_present_extent = true && this.isSetExtent();
    boolean that_present_extent = true && that.isSetExtent();
    if (this_present_extent || that_present_extent) {
      if (!(this_present_extent && that_present_extent))
        return false;
      if (!this.extent.equals(that.extent))
        return false;
    }

    boolean this_present_files = true && this.isSetFiles();
    boolean that_present_files = true && that.isSetFiles();
    if (this_present_files || that_present_files) {
      if (!(this_present_files && that_present_files))
        return false;
      if (!this.files.equals(that.files))
        return false;
    }

    boolean this_present_iteratorSettings = true && this.isSetIteratorSettings();
    boolean that_present_iteratorSettings = true && that.isSetIteratorSettings();
    if (this_present_iteratorSettings || that_present_iteratorSettings) {
      if (!(this_present_iteratorSettings && that_present_iteratorSettings))
        return false;
      if (!this.iteratorSettings.equals(that.iteratorSettings))
        return false;
    }

    boolean this_present_outputFile = true && this.isSetOutputFile();
    boolean that_present_outputFile = true && that.isSetOutputFile();
    if (this_present_outputFile || that_present_outputFile) {
      if (!(this_present_outputFile && that_present_outputFile))
        return false;
      if (!this.outputFile.equals(that.outputFile))
        return false;
    }

    boolean this_present_propagateDeletes = true;
    boolean that_present_propagateDeletes = true;
    if (this_present_propagateDeletes || that_present_propagateDeletes) {
      if (!(this_present_propagateDeletes && that_present_propagateDeletes))
        return false;
      if (this.propagateDeletes != that.propagateDeletes)
        return false;
    }

    boolean this_present_kind = true && this.isSetKind();
    boolean that_present_kind = true && that.isSetKind();
    if (this_present_kind || that_present_kind) {
      if (!(this_present_kind && that_present_kind))
        return false;
      if (!this.kind.equals(that.kind))
        return false;
    }

    boolean this_present_fateId = true && this.isSetFateId();
    boolean that_present_fateId = true && that.isSetFateId();
    if (this_present_fateId || that_present_fateId) {
      if (!(this_present_fateId && that_present_fateId))
        return false;
      if (!this.fateId.equals(that.fateId))
        return false;
    }

    boolean this_present_overrides = true && this.isSetOverrides();
    boolean that_present_overrides = true && that.isSetOverrides();
    if (this_present_overrides || that_present_overrides) {
      if (!(this_present_overrides && that_present_overrides))
        return false;
      if (!this.overrides.equals(that.overrides))
        return false;
    }

    return true;
  }