Interface PropertygraphSummary.Builder

  • Method Details

    • numNodes

      PropertygraphSummary.Builder numNodes(Long numNodes)

      The number of nodes in the graph.

      Parameters:
      numNodes - The number of nodes in the graph.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • numEdges

      PropertygraphSummary.Builder numEdges(Long numEdges)

      The number of edges in the graph.

      Parameters:
      numEdges - The number of edges in the graph.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • numNodeLabels

      PropertygraphSummary.Builder numNodeLabels(Long numNodeLabels)

      The number of distinct node labels in the graph.

      Parameters:
      numNodeLabels - The number of distinct node labels in the graph.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • numEdgeLabels

      PropertygraphSummary.Builder numEdgeLabels(Long numEdgeLabels)

      The number of distinct edge labels in the graph.

      Parameters:
      numEdgeLabels - The number of distinct edge labels in the graph.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nodeLabels

      A list of the distinct node labels in the graph.

      Parameters:
      nodeLabels - A list of the distinct node labels in the graph.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nodeLabels

      PropertygraphSummary.Builder nodeLabels(String... nodeLabels)

      A list of the distinct node labels in the graph.

      Parameters:
      nodeLabels - A list of the distinct node labels in the graph.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • edgeLabels

      A list of the distinct edge labels in the graph.

      Parameters:
      edgeLabels - A list of the distinct edge labels in the graph.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • edgeLabels

      PropertygraphSummary.Builder edgeLabels(String... edgeLabels)

      A list of the distinct edge labels in the graph.

      Parameters:
      edgeLabels - A list of the distinct edge labels in the graph.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • numNodeProperties

      PropertygraphSummary.Builder numNodeProperties(Long numNodeProperties)

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

      Parameters:
      numNodeProperties - A list of the distinct node properties in the graph, along with the count of nodes where each property is used.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • numEdgeProperties

      PropertygraphSummary.Builder numEdgeProperties(Long numEdgeProperties)

      The number of distinct edge properties in the graph.

      Parameters:
      numEdgeProperties - The number of distinct edge properties in the graph.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nodeProperties

      PropertygraphSummary.Builder nodeProperties(Collection<? extends Map<String,Long>> nodeProperties)

      The number of distinct node properties in the graph.

      Parameters:
      nodeProperties - The number of distinct node properties in the graph.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nodeProperties

      PropertygraphSummary.Builder nodeProperties(Map<String,Long>... nodeProperties)

      The number of distinct node properties in the graph.

      Parameters:
      nodeProperties - The number of distinct node properties in the graph.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • edgeProperties

      PropertygraphSummary.Builder edgeProperties(Collection<? extends Map<String,Long>> edgeProperties)

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

      Parameters:
      edgeProperties - A list of the distinct edge properties in the graph, along with the count of edges where each property is used.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • edgeProperties

      PropertygraphSummary.Builder edgeProperties(Map<String,Long>... edgeProperties)

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

      Parameters:
      edgeProperties - A list of the distinct edge properties in the graph, along with the count of edges where each property is used.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • totalNodePropertyValues

      PropertygraphSummary.Builder totalNodePropertyValues(Long totalNodePropertyValues)

      The total number of usages of all node properties.

      Parameters:
      totalNodePropertyValues - The total number of usages of all node properties.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • totalEdgePropertyValues

      PropertygraphSummary.Builder totalEdgePropertyValues(Long totalEdgePropertyValues)

      The total number of usages of all edge properties.

      Parameters:
      totalEdgePropertyValues - The total number of usages of all edge properties.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nodeStructures

      PropertygraphSummary.Builder nodeStructures(Collection<NodeStructure> nodeStructures)

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

      Parameters:
      nodeStructures - This field is only present when the requested mode is DETAILED. It contains a list of node structures.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nodeStructures

      PropertygraphSummary.Builder nodeStructures(NodeStructure... nodeStructures)

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

      Parameters:
      nodeStructures - This field is only present when the requested mode is DETAILED. It contains a list of node structures.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nodeStructures

      PropertygraphSummary.Builder nodeStructures(Consumer<NodeStructure.Builder>... nodeStructures)

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

      This is a convenience method that creates an instance of the NodeStructure.Builder avoiding the need to create one manually via NodeStructure.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to nodeStructures(List<NodeStructure>).

      Parameters:
      nodeStructures - a consumer that will call methods on NodeStructure.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • edgeStructures

      PropertygraphSummary.Builder edgeStructures(Collection<EdgeStructure> edgeStructures)

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

      Parameters:
      edgeStructures - This field is only present when the requested mode is DETAILED. It contains a list of edge structures.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • edgeStructures

      PropertygraphSummary.Builder edgeStructures(EdgeStructure... edgeStructures)

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

      Parameters:
      edgeStructures - This field is only present when the requested mode is DETAILED. It contains a list of edge structures.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • edgeStructures

      PropertygraphSummary.Builder edgeStructures(Consumer<EdgeStructure.Builder>... edgeStructures)

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

      This is a convenience method that creates an instance of the EdgeStructure.Builder avoiding the need to create one manually via EdgeStructure.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to edgeStructures(List<EdgeStructure>).

      Parameters:
      edgeStructures - a consumer that will call methods on EdgeStructure.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: