Class SafeTripleIterator

java.lang.Object
org.apache.jena.reasoner.rulesys.impl.SafeTripleIterator
All Implemented Interfaces:
Iterator<Triple>, org.apache.jena.atlas.iterator.IteratorCloseable<Triple>, org.apache.jena.atlas.lib.Closeable, ClosableIterator<Triple>

public class SafeTripleIterator extends 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.
  • Constructor Details

  • Method Details

    • 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 org.apache.jena.atlas.lib.Closeable
    • hasNext

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

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