Neo4jCsvExporter

object Neo4jCsvExporter extends Exporter
trait Exporter
class Object
trait Matchable
class Any

Type members

Classlikes

case class CountAndFiles(count: Int, files: Seq[Path])

Value members

Concrete methods

override def runExport(graph: Graph, outputRootDirectory: Path): ExportResult

Exports OverflowDB Graph to neo4j csv files see https://neo4j.com/docs/operations-manual/current/tools/neo4j-admin/neo4j-admin-import/

Exports OverflowDB Graph to neo4j csv files see https://neo4j.com/docs/operations-manual/current/tools/neo4j-admin/neo4j-admin-import/

For both nodes and relationships, we first write the data file and to derive the property types from their runtime types. We will write columns for all declared properties, because we only know which ones are actually in use after traversing all elements.

Warning: list properties are not natively supported by graphml... For our purposes we fake it by encoding it as a ; separated string - if you import this into a different database, you'll need to parse that separately. In comparison, Tinkerpop just bails out if you try to export a list property to graphml.

Definition Classes

Inherited methods

def runExport(graph: Graph, outputFile: String): ExportResult
Inherited from:
Exporter