biocypher.output.write.graph._arangodb._ArangoDBBatchWriter

class biocypher.output.write.graph._arangodb._ArangoDBBatchWriter(*args, **kwargs)

Class for writing node and edge representations to disk using the format specified by ArangoDB for the use of “arangoimport”. Output files are similar to Neo4j, but with a different header format.

__init__(*args, **kwargs)

Constructor.

Check the version of Neo4j and adds a command scope if version >= 5.

Returns:

An instance of the writer.

Return type:

_Neo4jBatchWriter

Methods

__init__(*args, **kwargs)

Constructor.

get_import_call()

Function to return the import call detailing folder and individual node and edge headers and data files, as well as delimiters and database name.

write_edges(edges[, batch_size])

Wrapper for writing edges and their headers.

write_import_call()

Function to write the import call detailing folder and individual node and edge headers and data files, as well as delimiters and database name, to the export folder as txt.

write_nodes(nodes[, batch_size, force])

Wrapper for writing nodes and their headers.

Attributes

import_call_file_prefix

Property for output directory path.