[prev in list] [next in list] [prev in thread] [next in thread] 

List:       avro-dev
Subject:    [jira] [Created] (AVRO-2782) C# implmenetation of GenericRecord Doesn't have
From:       "Yaniv Rubinpur (Jira)" <jira () apache ! org>
Date:       2020-03-26 17:17:00
Message-ID: JIRA.13294252.1585243001000.3262.1585243020105 () Atlassian ! JIRA
[Download RAW message or body]

Yaniv Rubinpur created AVRO-2782:
------------------------------------

             Summary: C# implmenetation of GenericRecord Doesn't have 
                 Key: AVRO-2782
                 URL: https://issues.apache.org/jira/browse/AVRO-2782
             Project: Apache Avro
          Issue Type: Improvement
          Components: csharp
            Reporter: Yaniv Rubinpur


GenericRecord in C# can only be accessed by field name and not by field index (Java \
version support access by index). Accessing a dictionary for each field is costly.

In Java There is: Record.put(int i, Object v). In C# GenericRecord there is only:  \
Add(string fieldName, object fieldValue) (and string indexer).

  

And there is no way to extend GenericRecord to support indexed access.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic