public boolean equals()

in flink-connector-hive/src/main/java/org/apache/hive/service/rpc/thrift/TSetClientInfoReq.java [288:307]


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

        boolean this_present_sessionHandle = true && this.isSetSessionHandle();
        boolean that_present_sessionHandle = true && that.isSetSessionHandle();
        if (this_present_sessionHandle || that_present_sessionHandle) {
            if (!(this_present_sessionHandle && that_present_sessionHandle)) return false;
            if (!this.sessionHandle.equals(that.sessionHandle)) return false;
        }

        boolean this_present_configuration = true && this.isSetConfiguration();
        boolean that_present_configuration = true && that.isSetConfiguration();
        if (this_present_configuration || that_present_configuration) {
            if (!(this_present_configuration && that_present_configuration)) return false;
            if (!this.configuration.equals(that.configuration)) return false;
        }

        return true;
    }