smollerGraph
0.20.2
A small graph database, from scratch
Loading...
Searching...
No Matches
export.h
Go to the documentation of this file.
1
#ifndef SMOLLERGRAPH_EXPORT_H_
2
#define SMOLLERGRAPH_EXPORT_H_
3
4
#include <string>
5
6
#include "absl/status/status.h"
7
#include "
smollergraph/graph.h
"
8
9
namespace
smollergraph
{
10
11
// Writes the graph into the folder at `path`, for programs outside the
12
// database to read, such as a script that trains a model: nodes.jsonl, a line
13
// of JSON for each node, with its id, name, label and properties, and
14
// relationships.csv, a line for each relationship, with the ids of the nodes
15
// it joins and its type.
16
absl::Status
Export
(
const
Graph& graph,
const
std::string&
path
);
17
18
}
// namespace smollergraph
19
20
#endif
// SMOLLERGRAPH_EXPORT_H_
graph.h
smollergraph
Definition
api.h:11
smollergraph::Export
absl::Status Export(const Graph &graph, const std::string &path)
Writes the graph into the folder at path, for programs outside the database to read,...
Definition
export.cc:15
path
Path path
Definition
plan.cc:115
include
smollergraph
export.h
Generated by
1.9.8