com.facetmap
Interface SelectedResourceIterator

All Known Implementing Classes:
ResourceIteratorFacade, SqlSelection.IdIterator

public interface SelectedResourceIterator

Provide a stream of Resource objects included in a Selection. This class is similar to java.util.Iterator, but different in these respects:

  • next() can throw InternalException when resolving a Resource
  • there's no remove() method (result set is read-only)
  • Resource is the compiled return type of next()

  • Method Summary
     boolean hasNext()
               
     Resource next()
               
     

    Method Detail

    hasNext

    boolean hasNext()

    next

    Resource next()
                  throws InternalException
    Throws:
    InternalException