You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by GitBox <gi...@apache.org> on 2021/09/16 18:43:02 UTC

[GitHub] [ignite-3] ptupitsyn commented on a change in pull request #342: IGNITE-15430 .NET: Add Table API

ptupitsyn commented on a change in pull request #342:
URL: https://github.com/apache/ignite-3/pull/342#discussion_r710381755



##########
File path: modules/platforms/dotnet/Apache.Ignite/Table/IgniteTuple.cs
##########
@@ -76,5 +77,27 @@ public IgniteTuple(int capacity = 16)
 
         /// <inheritdoc/>
         public int GetOrdinal(string name) => _indexes.TryGetValue(name, out var index) ? index : -1;
+
+        /// <inheritdoc />
+        public override string ToString()
+        {
+            var sb = new StringBuilder();
+
+            sb.Append(nameof(IgniteTuple)).Append(" [");

Review comment:
       Why not? The end result is `IgniteTuple [foo=1, bar=2]`, I believe that's the format we use in [IgniteToStringBuilder](https://github.com/apache/ignite-3/blob/0de76810c8a610ec421b774f13152327efe8ea0d/modules/core/src/main/java/org/apache/ignite/internal/tostring/IgniteToStringBuilder.java#L1145).




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@ignite.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org