Interface RDFGraphSummary.Builder

  • Method Details

    • 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

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

      RDFGraphSummary.Builder subjectStructures(Consumer<SubjectStructure.Builder>... subjectStructures)

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

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

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

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