예제 #1
0
        public override int GetHashCode()
        {
            int hashcode = 157;

            unchecked {
                if (isset.col_name)
                {
                    hashcode = (hashcode * 397) + Col_name.GetHashCode();
                }
                if (isset.col_type)
                {
                    hashcode = (hashcode * 397) + Col_type.GetHashCode();
                }
                if (isset.is_reserved_keyword)
                {
                    hashcode = (hashcode * 397) + Is_reserved_keyword.GetHashCode();
                }
                if (isset.src_name)
                {
                    hashcode = (hashcode * 397) + Src_name.GetHashCode();
                }
                if (isset.is_system)
                {
                    hashcode = (hashcode * 397) + Is_system.GetHashCode();
                }
                if (isset.is_physical)
                {
                    hashcode = (hashcode * 397) + Is_physical.GetHashCode();
                }
                if (isset.col_id)
                {
                    hashcode = (hashcode * 397) + Col_id.GetHashCode();
                }
            }
            return(hashcode);
        }
예제 #2
0
    public override int GetHashCode()
    {
        int hashcode = 157;

        unchecked {
            if (__isset.cid)
            {
                hashcode = (hashcode * 397) + Cid.GetHashCode();
            }
            if ((Col_name != null) && __isset.col_name)
            {
                hashcode = (hashcode * 397) + Col_name.GetHashCode();
            }
            if ((Col_tags != null) && __isset.col_tags)
            {
                hashcode = (hashcode * 397) + TCollections.GetHashCode(Col_tags);
            }
            if (__isset.col_seq)
            {
                hashcode = (hashcode * 397) + Col_seq.GetHashCode();
            }
            if (__isset.col_type)
            {
                hashcode = (hashcode * 397) + Col_type.GetHashCode();
            }
            if (__isset.cell_versions)
            {
                hashcode = (hashcode * 397) + Cell_versions.GetHashCode();
            }
            if (__isset.cell_ttl)
            {
                hashcode = (hashcode * 397) + Cell_ttl.GetHashCode();
            }
            if (__isset.blk_encoding)
            {
                hashcode = (hashcode * 397) + Blk_encoding.GetHashCode();
            }
            if (__isset.blk_size)
            {
                hashcode = (hashcode * 397) + Blk_size.GetHashCode();
            }
            if (__isset.blk_cells)
            {
                hashcode = (hashcode * 397) + Blk_cells.GetHashCode();
            }
            if (__isset.cs_replication)
            {
                hashcode = (hashcode * 397) + Cs_replication.GetHashCode();
            }
            if (__isset.cs_size)
            {
                hashcode = (hashcode * 397) + Cs_size.GetHashCode();
            }
            if (__isset.cs_max)
            {
                hashcode = (hashcode * 397) + Cs_max.GetHashCode();
            }
            if (__isset.log_rollout_ratio)
            {
                hashcode = (hashcode * 397) + Log_rollout_ratio.GetHashCode();
            }
            if (__isset.log_compact_cointervaling)
            {
                hashcode = (hashcode * 397) + Log_compact_cointervaling.GetHashCode();
            }
            if (__isset.log_fragment_preload)
            {
                hashcode = (hashcode * 397) + Log_fragment_preload.GetHashCode();
            }
            if (__isset.compact_percent)
            {
                hashcode = (hashcode * 397) + Compact_percent.GetHashCode();
            }
            if (__isset.revision)
            {
                hashcode = (hashcode * 397) + Revision.GetHashCode();
            }
        }
        return(hashcode);
    }