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

    boolean this_present_expr = true && this.isSetExpr();
    boolean that_present_expr = true && that.isSetExpr();
    if (this_present_expr || that_present_expr) {
      if (!(this_present_expr && that_present_expr))
        return false;
      if (!this.expr.equals(that.expr))
        return false;
    }

    boolean this_present_partArchiveLevel = true && this.isSetPartArchiveLevel();
    boolean that_present_partArchiveLevel = true && that.isSetPartArchiveLevel();
    if (this_present_partArchiveLevel || that_present_partArchiveLevel) {
      if (!(this_present_partArchiveLevel && that_present_partArchiveLevel))
        return false;
      if (this.partArchiveLevel != that.partArchiveLevel)
        return false;
    }

    return true;
  }
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsExpr.java