Interface GraphDataSummary.Builder

    • Method Detail

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