Interface Findable

  • All Known Implementing Classes:
    FindableCollection

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

      • find

        java.util.Iterator<Triple> find​(Node s,
                                        Node p,
                                        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​(Node s,
                         Node p,
                         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​(Node s,
                          Node p,
                          Node o)
        Return the number of triples matching the (s,p,o) pattern.