GraphDbAccessor - style change

Summary: Not strictly neccessary, but it's been itching me. It took an hour.

Reviewers: buda, mislav.bradac

Reviewed By: mislav.bradac

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D648
This commit is contained in:
florijan
2017-08-09 15:36:01 +02:00
parent 47c1cd6e3d
commit 1d112e1141
55 changed files with 1245 additions and 1241 deletions

View File

@@ -116,13 +116,13 @@ class BaseEncoder {
const auto &labels = vertex.labels();
WriteTypeSize(labels.size(), MarkerList);
for (const auto &label : labels)
WriteString(vertex.db_accessor().label_name(label));
WriteString(vertex.db_accessor().LabelName(label));
// write properties
const auto &props = vertex.Properties();
WriteTypeSize(props.size(), MarkerMap);
for (const auto &prop : props) {
WriteString(vertex.db_accessor().property_name(prop.first));
WriteString(vertex.db_accessor().PropertyName(prop.first));
WriteTypedValue(prop.second);
}
}
@@ -136,13 +136,13 @@ class BaseEncoder {
WriteUInt(edge.to().temporary_id());
// write type
WriteString(edge.db_accessor().edge_type_name(edge.edge_type()));
WriteString(edge.db_accessor().EdgeTypeName(edge.EdgeType()));
// write properties
const auto &props = edge.Properties();
WriteTypeSize(props.size(), MarkerMap);
for (const auto &prop : props) {
WriteString(edge.db_accessor().property_name(prop.first));
WriteString(edge.db_accessor().PropertyName(prop.first));
WriteTypedValue(prop.second);
}
}