Interface GraphDataSummary.Builder

  • Method Details

    • numNodes

      GraphDataSummary.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

      GraphDataSummary.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

      GraphDataSummary.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

      GraphDataSummary.Builder numEdgeLabels(Long numEdgeLabels)

      The number of unique edge labels in the graph.

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

      GraphDataSummary.Builder nodeLabels(Collection<String> nodeLabels)

      A list of distinct node labels in the graph.

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

      GraphDataSummary.Builder nodeLabels(String... nodeLabels)

      A list of distinct node labels in the graph.

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

      GraphDataSummary.Builder edgeLabels(Collection<String> edgeLabels)

      A list of the edge labels in the graph.

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

      GraphDataSummary.Builder edgeLabels(String... edgeLabels)

      A list of the edge labels in the graph.

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

      GraphDataSummary.Builder numNodeProperties(Long numNodeProperties)

      The number of distinct node properties in the graph.

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

      GraphDataSummary.Builder numEdgeProperties(Long numEdgeProperties)

      The number of edge properties in the graph.

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

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

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

      Parameters:
      nodeProperties - 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.
    • nodeProperties

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

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

      Parameters:
      nodeProperties - 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.
    • edgeProperties

      GraphDataSummary.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

      GraphDataSummary.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

      GraphDataSummary.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

      GraphDataSummary.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

      GraphDataSummary.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

      GraphDataSummary.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

      GraphDataSummary.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

      GraphDataSummary.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

      GraphDataSummary.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

      GraphDataSummary.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: