in csharp/src/Drivers/Apache/Thrift/Service/Rpc/Thrift/TExecuteStatementReq.cs [723:744]
public override bool Equals(object that)
{
if (!(that is TExecuteStatementReq other)) return false;
if (ReferenceEquals(this, other)) return true;
return global::System.Object.Equals(SessionHandle, other.SessionHandle)
&& global::System.Object.Equals(Statement, other.Statement)
&& ((__isset.confOverlay == other.__isset.confOverlay) && ((!__isset.confOverlay) || (TCollections.Equals(ConfOverlay, other.ConfOverlay))))
&& ((__isset.runAsync == other.__isset.runAsync) && ((!__isset.runAsync) || (global::System.Object.Equals(RunAsync, other.RunAsync))))
&& ((__isset.getDirectResults == other.__isset.getDirectResults) && ((!__isset.getDirectResults) || (global::System.Object.Equals(GetDirectResults, other.GetDirectResults))))
&& ((__isset.queryTimeout == other.__isset.queryTimeout) && ((!__isset.queryTimeout) || (global::System.Object.Equals(QueryTimeout, other.QueryTimeout))))
&& ((__isset.canReadArrowResult == other.__isset.canReadArrowResult) && ((!__isset.canReadArrowResult) || (global::System.Object.Equals(CanReadArrowResult, other.CanReadArrowResult))))
&& ((__isset.canDownloadResult == other.__isset.canDownloadResult) && ((!__isset.canDownloadResult) || (global::System.Object.Equals(CanDownloadResult, other.CanDownloadResult))))
&& ((__isset.canDecompressLZ4Result == other.__isset.canDecompressLZ4Result) && ((!__isset.canDecompressLZ4Result) || (global::System.Object.Equals(CanDecompressLZ4Result, other.CanDecompressLZ4Result))))
&& ((__isset.maxBytesPerFile == other.__isset.maxBytesPerFile) && ((!__isset.maxBytesPerFile) || (global::System.Object.Equals(MaxBytesPerFile, other.MaxBytesPerFile))))
&& ((__isset.useArrowNativeTypes == other.__isset.useArrowNativeTypes) && ((!__isset.useArrowNativeTypes) || (global::System.Object.Equals(UseArrowNativeTypes, other.UseArrowNativeTypes))))
&& ((__isset.resultRowLimit == other.__isset.resultRowLimit) && ((!__isset.resultRowLimit) || (global::System.Object.Equals(ResultRowLimit, other.ResultRowLimit))))
&& ((__isset.@parameters == other.__isset.@parameters) && ((!__isset.@parameters) || (global::System.Object.Equals(Parameters, other.Parameters))))
&& ((__isset.maxBytesPerBatch == other.__isset.maxBytesPerBatch) && ((!__isset.maxBytesPerBatch) || (global::System.Object.Equals(MaxBytesPerBatch, other.MaxBytesPerBatch))))
&& ((__isset.statementConf == other.__isset.statementConf) && ((!__isset.statementConf) || (global::System.Object.Equals(StatementConf, other.StatementConf))))
&& ((__isset.resultPersistenceMode == other.__isset.resultPersistenceMode) && ((!__isset.resultPersistenceMode) || (global::System.Object.Equals(ResultPersistenceMode, other.ResultPersistenceMode))))
&& ((__isset.enforceResultPersistenceMode == other.__isset.enforceResultPersistenceMode) && ((!__isset.enforceResultPersistenceMode) || (global::System.Object.Equals(EnforceResultPersistenceMode, other.EnforceResultPersistenceMode))));
}