Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-2782

C# implmenetation of GenericRecord Doesn't have

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.10.0
    • csharp
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              YanivRu Yaniv Rubinpur
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: