Interface TripleBoundary


  • public interface TripleBoundary
    An interface for expressing a stopping condition on triples, such as in sub-graph extraction.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean stopAt​(Triple t)
      Answer true if this triple is a stopping triple, and whatever search is using this interface should proceed no further.
    • Field Detail

      • stopNowhere

        static final TripleBoundary stopNowhere
        A TripleBoundary without limits - stopAt always returns false.
      • stopAtAnonObject

        static final TripleBoundary stopAtAnonObject
        A TripleBoundary that stops at triples with anonymous objects.
    • Method Detail

      • stopAt

        boolean stopAt​(Triple t)
        Answer true if this triple is a stopping triple, and whatever search is using this interface should proceed no further.