Interface GraphSuccessorFunction


public interface GraphSuccessorFunction
An interface for traversal of all of a node's successors w.r.t. an RDF Graph.
Author:
raven
  • Method Summary

    Modifier and Type
    Method
    Description
    Stream<org.apache.jena.graph.Node>
    apply(org.apache.jena.graph.Graph graph, org.apache.jena.graph.Node node)
     
    create(org.apache.jena.graph.Node predicate, boolean isForward)
    Create a function that yields for a given Graph and Node a Stream of successors based on a predicate and direction.
  • Method Details

    • apply

      Stream<org.apache.jena.graph.Node> apply(org.apache.jena.graph.Graph graph, org.apache.jena.graph.Node node)
    • create

      static GraphSuccessorFunction create(org.apache.jena.graph.Node predicate, boolean isForward)
      Create a function that yields for a given Graph and Node a Stream of successors based on a predicate and direction.
      Parameters:
      predicate -
      isForward -
      Returns: