Interface Findable

All Known Implementing Classes:
FindableCollection

public interface Findable
Minimal interface to find by pattern
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    contains(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o)
    Return whether any triple matches the (s,p,o) pattern.
    default int
    count(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o)
    Return the number of triples matching the (s,p,o) pattern.
    Iterator<org.apache.jena.graph.Triple>
    find(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o)
    Return an iterator over all triples matching the (s,p,o) pattern.
  • Method Details

    • find

      Iterator<org.apache.jena.graph.Triple> find(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o)
      Return an iterator over all triples matching the (s,p,o) pattern. Each element of (s,p,o) can be concrete, or the wildcard Node.ANY.
    • contains

      boolean contains(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o)
      Return whether any triple matches the (s,p,o) pattern. Each element of (s,p,o) can be concrete, or the wildcard Node.ANY.
    • count

      default int count(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o)
      Return the number of triples matching the (s,p,o) pattern.