Interface ResultSetPeekable

All Superinterfaces:
Iterator<QuerySolution>, ResultSet
All Known Implementing Classes:
RDFInput, ResultSetMem, ResultSetPeeking

public interface ResultSetPeekable extends ResultSet
Interfaces for result sets that allow peeking ahead
  • Method Details

    • peek

      Peek at the next query solution
      Returns:
      Next solution if available
      Throws:
      NoSuchElementException - Thrown if attempting to peek when there are no further elements
    • peekBinding

      Binding peekBinding()
      Peek at the next binding
      Returns:
      Next binding if available
      Throws:
      NoSuchElementException - Thrown if attempting to peek when there are no further elements