Package org.aksw.jenax.util.traversal
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 TypeMethodDescriptionStream<org.apache.jena.graph.Node>apply(org.apache.jena.graph.Graph graph, org.apache.jena.graph.Node node) static GraphSuccessorFunctioncreate(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
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:
-