示例#1
0
        public override int GetHashCode()
        {
            int hashcode = 157;

            unchecked {
                if (isset.serialized_rows)
                {
                    hashcode = (hashcode * 397) + Serialized_rows.GetHashCode();
                }
                if (isset.execution_finished)
                {
                    hashcode = (hashcode * 397) + Execution_finished.GetHashCode();
                }
                if (isset.merge_type)
                {
                    hashcode = (hashcode * 397) + Merge_type.GetHashCode();
                }
                if (isset.sharded)
                {
                    hashcode = (hashcode * 397) + Sharded.GetHashCode();
                }
                if (isset.row_desc)
                {
                    hashcode = (hashcode * 397) + Row_desc.GetHashCode();
                }
                if (isset.node_id)
                {
                    hashcode = (hashcode * 397) + Node_id.GetHashCode();
                }
            }
            return(hashcode);
        }
示例#2
0
        public override int GetHashCode()
        {
            int hashcode = 157;

            unchecked {
                if (isset.row_desc)
                {
                    hashcode = (hashcode * 397) + Row_desc.GetHashCode();
                }
                if (isset.fragment_size)
                {
                    hashcode = (hashcode * 397) + Fragment_size.GetHashCode();
                }
                if (isset.page_size)
                {
                    hashcode = (hashcode * 397) + Page_size.GetHashCode();
                }
                if (isset.max_rows)
                {
                    hashcode = (hashcode * 397) + Max_rows.GetHashCode();
                }
                if (isset.view_sql)
                {
                    hashcode = (hashcode * 397) + View_sql.GetHashCode();
                }
                if (isset.shard_count)
                {
                    hashcode = (hashcode * 397) + Shard_count.GetHashCode();
                }
                if (isset.key_metainfo)
                {
                    hashcode = (hashcode * 397) + Key_metainfo.GetHashCode();
                }
                if (isset.is_temporary)
                {
                    hashcode = (hashcode * 397) + Is_temporary.GetHashCode();
                }
                if (isset.partition_detail)
                {
                    hashcode = (hashcode * 397) + Partition_detail.GetHashCode();
                }
            }
            return(hashcode);
        }
示例#3
0
        public override int GetHashCode()
        {
            int hashcode = 157;

            unchecked {
                if (isset.row_desc)
                {
                    hashcode = (hashcode * 397) + Row_desc.GetHashCode();
                }
                if (isset.rows)
                {
                    hashcode = (hashcode * 397) + TCollections.GetHashCode(Rows);
                }
                if (isset.columns)
                {
                    hashcode = (hashcode * 397) + TCollections.GetHashCode(Columns);
                }
                if (isset.is_columnar)
                {
                    hashcode = (hashcode * 397) + Is_columnar.GetHashCode();
                }
            }
            return(hashcode);
        }