Skip to content

Commit 2761e28

Browse files
Tobias Hafnervogti
authored andcommitted
Adjust path result
1 parent 6ee6f80 commit 2761e28

File tree

2 files changed

+4
-15
lines changed

2 files changed

+4
-15
lines changed

org/polypheny/prism/graph_frame.proto

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,15 @@ package org.polypheny.prism;
1717
/*
1818
* The GraphFrame represents the non-relational result of a query in the labeled property graph model.
1919
* If the query returns a relational result, such as when aggregations are used or specific properties are returned,
20-
* a relational frame is used. The GraphFrame is used for results where a set of nodes, edges, or paths is returned.
21-
* This selection is exclusive, meaning only one of the lists can be populated at a time. If a result produces multiple
22-
* frames (used to transmit large results), all results will be of the same type (relational vs. graph) and contain the
23-
* same element type (nodes, edges or paths).
20+
* a relational frame is used. The GraphFrame is used for results where a set of nodes and/or edges is returned.
21+
* If a result produces multiple frames (used to transmit large results), all results will be of the same type (relational vs. graph).
22+
* If the result contains paths, these are represented as a list of nodes and a list of edges. Thus both lists can be populated at once.
2423
*/
2524
message GraphFrame {
2625
// Field used to represent a set of nodes as part of a result. If this field is populated all others must not be set.
2726
repeated ProtoNode nodes = 1;
2827
// Field used to represent a set of edges as part of a result. If this field is populated all others must not be set.
2928
repeated ProtoEdge edges = 2;
30-
// Field used to represent a set of paths as part of a result. If this field is populated all others must not be set.
31-
repeated ProtoPath paths = 3;
3229
}
3330

3431

org/polypheny/prism/value.proto

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -322,12 +322,4 @@ message ProtoEdge {
322322
RIGHT_TO_LEFT = 2;
323323
NONE = 3;
324324
}
325-
}
326-
327-
/*
328-
* This message represents an edge in the labeled property graph model.
329-
* Paths cannot yet be returned by polypheny. This message thus is a placeholder to be implemented once the functionality is provided.
330-
*/
331-
message ProtoPath {
332-
333-
}
325+
}

0 commit comments

Comments
 (0)