2626import java .util .stream .Stream ;
2727import java .util .stream .StreamSupport ;
2828import org .neo4j .graphdb .*;
29+ import org .neo4j .procedure .Description ;
2930
3031public class Tables4LabelsProfile {
3132 Map <OrderedLabels , PropertyContainerProfile > labelMap ;
@@ -37,12 +38,25 @@ public class Tables4LabelsProfile {
3738 * DAO class that the stored procedure returns
3839 */
3940 public class NodeTypePropertiesEntry {
41+ @ Description ("The type of the node." )
4042 public String nodeType ;
43+
44+ @ Description ("The labels on the node." )
4145 public List <String > nodeLabels ;
46+
47+ @ Description ("The name of the property." )
4248 public String propertyName ;
49+
50+ @ Description ("The types this property has." )
4351 public List <String > propertyTypes ;
52+
53+ @ Description ("Whether or not this property exists on all nodes of the given type." )
4454 public boolean mandatory ;
55+
56+ @ Description ("The number of times this property was observed." )
4557 public long propertyObservations ;
58+
59+ @ Description ("The number of times the label was seen." )
4660 public long totalObservations ;
4761
4862 public NodeTypePropertiesEntry (
@@ -64,13 +78,28 @@ public NodeTypePropertiesEntry(
6478 }
6579
6680 public class RelTypePropertiesEntry {
81+ @ Description ("The type of the relationship." )
6782 public String relType ;
83+
84+ @ Description ("The labels belonging to the start node." )
6885 public List <String > sourceNodeLabels ;
86+
87+ @ Description ("The labels belonging to the end node." )
6988 public List <String > targetNodeLabels ;
89+
90+ @ Description ("The name of the property." )
7091 public String propertyName ;
92+
93+ @ Description ("The types this property has." )
7194 public List <String > propertyTypes ;
95+
96+ @ Description ("Whether or not this property exists on all nodes of the given type." )
7297 public boolean mandatory ;
98+
99+ @ Description ("The number of times this property was observed." )
73100 public long propertyObservations ;
101+
102+ @ Description ("The number of times the label was seen." )
74103 public long totalObservations ;
75104
76105 public RelTypePropertiesEntry (
0 commit comments