Module Values.PropertygraphSummarySource

The graph summary API returns a read-only list of node and edge labels and property keys, along with counts of nodes, edges, and properties. See Graph summary response for a property graph (PG).

Sourcetype nonrec t = {
  1. numNodes : Long.t option;
    (*

    The number of nodes in the graph.

    *)
  2. numEdges : Long.t option;
    (*

    The number of edges in the graph.

    *)
  3. numNodeLabels : Long.t option;
    (*

    The number of distinct node labels in the graph.

    *)
  4. numEdgeLabels : Long.t option;
    (*

    The number of distinct edge labels in the graph.

    *)
  5. nodeLabels : NodeLabels.t option;
    (*

    A list of the distinct node labels in the graph.

    *)
  6. edgeLabels : EdgeLabels.t option;
    (*

    A list of the distinct edge labels in the graph.

    *)
  7. numNodeProperties : Long.t option;
    (*

    A list of the distinct node properties in the graph, along with the count of nodes where each property is used.

    *)
  8. numEdgeProperties : Long.t option;
    (*

    The number of distinct edge properties in the graph.

    *)
  9. nodeProperties : LongValuedMapList.t option;
    (*

    The number of distinct node properties in the graph.

    *)
  10. edgeProperties : LongValuedMapList.t option;
    (*

    A list of the distinct edge properties in the graph, along with the count of edges where each property is used.

    *)
  11. totalNodePropertyValues : Long.t option;
    (*

    The total number of usages of all node properties.

    *)
  12. totalEdgePropertyValues : Long.t option;
    (*

    The total number of usages of all edge properties.

    *)
  13. nodeStructures : NodeStructures.t option;
    (*

    This field is only present when the requested mode is DETAILED. It contains a list of node structures.

    *)
  14. edgeStructures : EdgeStructures.t option;
    (*

    This field is only present when the requested mode is DETAILED. It contains a list of edge structures.

    *)
}
Sourceval make : ?numNodes:??? -> ?numEdges:??? -> ?numNodeLabels:??? -> ?numEdgeLabels:??? -> ?nodeLabels:??? -> ?edgeLabels:??? -> ?numNodeProperties:??? -> ?numEdgeProperties:??? -> ?nodeProperties:??? -> ?edgeProperties:??? -> ?totalNodePropertyValues:??? -> ?totalEdgePropertyValues:??? -> ?nodeStructures:??? -> ?edgeStructures:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Map of ([> `String of String_.t ] * [> `Long of Long.t ]) list | `String of String_.t | `Structure of (string * [> `List of [> `String of String_.t ] list | `Long of Long.t ]) list ] list | `Long of Long.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t