Skip to content

DataLogReader should automatically map entry ID to entry metadata #8126

@DeltaDizzy

Description

@DeltaDizzy

("metadata" in this issue title and body refers to the Name, Type, and Metadata values associated with a given entry.)

Is your feature request related to a problem? Please describe.
Currently, programmatically working with DataLog files is frustrating due to DataLogReader and DataLogReaderThread presenting a very low-level API, forcing the programmer to work around format quirks such as the separation of metadata and data into different records. This makes keeping track of metadata when processing records difficult and time-consuming. Even if the programmer creates a map themselves, propogating this information can be non-trivial and is in any case a good candidate for standardization.

Describe the solution you'd like
The DataLogReader classes should automatically map the entry ID to a value containing all entry metadata.

Describe alternatives you've considered
I am unsure how this should handle changes in metadata over time (e.g. via SetMetadata records) and handle ID reuse, including how it should be presented to the user.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: featureBrand new functionality, features, pages, workflows, endpoints, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions