Interface RDFGraphSummary.Builder

    • Method Detail

      • numDistinctSubjects

        RDFGraphSummary.Builder numDistinctSubjects​(Long numDistinctSubjects)

        The number of distinct subjects in the graph.

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

        RDFGraphSummary.Builder numDistinctPredicates​(Long numDistinctPredicates)

        The number of distinct predicates in the graph.

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

        RDFGraphSummary.Builder numQuads​(Long numQuads)

        The number of quads in the graph.

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

        RDFGraphSummary.Builder numClasses​(Long numClasses)

        The number of classes in the graph.

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

        RDFGraphSummary.Builder classes​(Collection<String> classes)

        A list of the classes in the graph.

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

        RDFGraphSummary.Builder classes​(String... classes)

        A list of the classes in the graph.

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

        RDFGraphSummary.Builder predicates​(Collection<? extends Map<String,​Long>> predicates)

        "A list of predicates in the graph, along with the predicate counts.

        Parameters:
        predicates - "A list of predicates in the graph, along with the predicate counts.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • predicates

        RDFGraphSummary.Builder predicates​(Map<String,​Long>... predicates)

        "A list of predicates in the graph, along with the predicate counts.

        Parameters:
        predicates - "A list of predicates in the graph, along with the predicate counts.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subjectStructures

        RDFGraphSummary.Builder subjectStructures​(Collection<SubjectStructure> subjectStructures)

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

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

        RDFGraphSummary.Builder subjectStructures​(SubjectStructure... subjectStructures)

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

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