@@ -3,6 +3,7 @@ Messages related to graph frames as used to represent results form the labeled p
3
3
*/
4
4
5
5
syntax = "proto3" ;
6
+ import "org/polypheny/prism/value.proto" ;
6
7
7
8
option java_multiple_files = true ;
8
9
option java_package = "org.polypheny.prism" ;
@@ -14,10 +15,20 @@ option csharp_namespace = "Polypheny.Prism";
14
15
package org.polypheny.prism ;
15
16
16
17
/*
17
- The GraphFrame message is a placeholder intended to represent graph frames as part of the labeled property graph model.
18
- As of now, the graph model is not fully implemented, making this message void of fields.
19
- It acts as a provision for future developments where fields related to the graph model will be added.
20
- Currently, this message does not contain any fields. It is reserved for future use when the graph model is more completely realized.
21
- */
18
+ * The GraphFrame represents the non-relational result of a query in the labeled property graph model.
19
+ * 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).
24
+ */
22
25
message GraphFrame {
26
+ // Field used to represent a set of nodes as part of a result. If this field is populated all others must not be set.
27
+ repeated ProtoNode nodes = 1 ;
28
+ // Field used to represent a set of edges as part of a result. If this field is populated all others must not be set.
29
+ 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 ;
23
32
}
33
+
34
+
0 commit comments