예제 #1
0
        public override string ToString()
        {
            StringBuilder __sb    = new StringBuilder("ColumnChunk(");
            bool          __first = true;

            if (File_path != null && __isset.file_path)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("File_path: ");
                __sb.Append(File_path);
            }
            if (!__first)
            {
                __sb.Append(", ");
            }
            __sb.Append("File_offset: ");
            __sb.Append(File_offset);
            if (Meta_data != null && __isset.meta_data)
            {
                __sb.Append(", Meta_data: ");
                __sb.Append(Meta_data == null ? "<null>" : Meta_data.ToString());
            }
            if (__isset.offset_index_offset)
            {
                __sb.Append(", Offset_index_offset: ");
                __sb.Append(Offset_index_offset);
            }
            if (__isset.offset_index_length)
            {
                __sb.Append(", Offset_index_length: ");
                __sb.Append(Offset_index_length);
            }
            if (__isset.column_index_offset)
            {
                __sb.Append(", Column_index_offset: ");
                __sb.Append(Column_index_offset);
            }
            if (__isset.column_index_length)
            {
                __sb.Append(", Column_index_length: ");
                __sb.Append(Column_index_length);
            }
            if (Crypto_metadata != null && __isset.crypto_metadata)
            {
                __sb.Append(", Crypto_metadata: ");
                __sb.Append(Crypto_metadata == null ? "<null>" : Crypto_metadata.ToString());
            }
            if (Encrypted_column_metadata != null && __isset.encrypted_column_metadata)
            {
                __sb.Append(", Encrypted_column_metadata: ");
                __sb.Append(Encrypted_column_metadata);
            }
            __sb.Append(")");
            return(__sb.ToString());
        }
예제 #2
0
        public override string ToString()
        {
            var  sb      = new StringBuilder("ColumnChunk(");
            bool __first = true;

            if (File_path != null && __isset.file_path)
            {
                if (!__first)
                {
                    sb.Append(", ");
                }
                __first = false;
                sb.Append("File_path: ");
                sb.Append(File_path);
            }
            if (!__first)
            {
                sb.Append(", ");
            }
            sb.Append("File_offset: ");
            sb.Append(File_offset);
            if (Meta_data != null && __isset.meta_data)
            {
                sb.Append(", Meta_data: ");
                sb.Append(Meta_data == null ? "<null>" : Meta_data.ToString());
            }
            if (__isset.offset_index_offset)
            {
                sb.Append(", Offset_index_offset: ");
                sb.Append(Offset_index_offset);
            }
            if (__isset.offset_index_length)
            {
                sb.Append(", Offset_index_length: ");
                sb.Append(Offset_index_length);
            }
            if (__isset.column_index_offset)
            {
                sb.Append(", Column_index_offset: ");
                sb.Append(Column_index_offset);
            }
            if (__isset.column_index_length)
            {
                sb.Append(", Column_index_length: ");
                sb.Append(Column_index_length);
            }
            sb.Append(")");
            return(sb.ToString());
        }