HomeSoftware Heritage

Refactor export paths in the base Exporter class

Description

Refactor export paths in the base Exporter class

Previously, each exporter had to be given a custom init argument
containing the export path. This behavior is now shared in the base
Exporter class.

This required a change in the way GraphEdgesExporter behaved, since it
is no longer instanciated with an export path that already contains the
obj_type. Its behavior is now closer to ORCExporter, where a new
writer is created on the fly in the appropriate directory for each
object type.

Details

Provenance
seirlAuthored on Feb 12 2021, 9:42 PM
seirlPushed on Feb 12 2021, 9:54 PM
Differential Revision
D4762: Add ORC exporter
Parents
rDDATASET35253c89a722: ORC exporter: Add unit tests
Branches
Unknown
Tags
Unknown