Skip to content

Allow to return the number of triples added from Graph.addN #833

@mwatts15

Description

@mwatts15

Some triple stores can tell you whether the triple you requested to add actually resulted in a new entry in the store. Knowing this information is helpful for debugging, informing users, and optimization (e.g., sizing buffers). It would be helpful to return such information from the addN method especially since, as a bulk operation, the only way to determine this information otherwise would be iterating over the entries twice, once to get the number that would be added and then to actually add.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions