Class QueryIterProcessBinding

All Implemented Interfaces:
Iterator<Binding>, org.apache.jena.atlas.io.Printable, org.apache.jena.atlas.iterator.IteratorCloseable<Binding>, org.apache.jena.atlas.lib.Closeable, QueryIterator, PrintSerializable
Direct Known Subclasses:
QueryIterAddTripleTerm, QueryIterAssign, QueryIterAssignVarValue, QueryIterFilterExpr

public abstract class QueryIterProcessBinding extends QueryIter1
An iterator that applies a condition. The condition may return a different binding.
  • Constructor Details

  • Method Details

    • accept

      public abstract Binding accept(Binding binding)
      Process the binding - return null for "not accept". Subclasses may return a different Binding to the argument and the result is the returned Binding.
    • moveToNextBinding

      public Binding moveToNextBinding()
      The next acceptable object in the iterator.
      Returns:
      The next acceptable object.