Rework CSV loaders
Closed this issue · 0 comments
szarnyasg commented
I already reworked CSV loaders significantly in c1f0721.
However, if we make the assumption that CSVs should "bring their own numeric ids" (which is sort of realistic), the whole loader can be simplified a lot. Instead of passing source and target vertex types to the loader and storing them in CsvEdge
objects, we can pass this information directly to the Indexer
. Of course, this requires us to rework the API, e.g. introduce an addEdge(edge, sourceVertexLabel, targetVertexLabel)
method, but these are easily doable.