Class SafeTripleIterator

  • All Implemented Interfaces:
    java.util.Iterator<Triple>, Closeable, ClosableIterator<Triple>

    public class SafeTripleIterator
    extends java.lang.Object
    implements ClosableIterator<Triple>
    Wrapper around triple searches using in the back chainer to attempt a restart in the case of a failure such as cross-transaction query.
    • Method Detail

      • close

        public void close()
        Description copied from interface: ClosableIterator
        Close the iterator. Other operations on this iterator may now throw an exception. A ClosableIterator may be closed as many times as desired - the subsequent calls do nothing.
        Specified by:
        close in interface ClosableIterator<Triple>
        Specified by:
        close in interface Closeable
      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<Triple>
      • next

        public Triple next()
        Specified by:
        next in interface java.util.Iterator<Triple>