Interface IndexIterator

  • All Known Implementing Classes:
    FTIndexIterator

    public interface IndexIterator
    Iterator for returning index results.
    Author:
    BaseX Team 2005-24, BSD License, Christian Gruen
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static IndexIterator EMPTY
      Empty iterator.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean more()
      Returns true if more results can be returned.
      int pre()
      Returns the next pre value.
      int size()
      Returns an approximate number of index results.
    • Method Detail

      • more

        boolean more()
        Returns true if more results can be returned.
        Returns:
        result of check
      • pre

        int pre()
        Returns the next pre value.
        Returns:
        pre value
      • size

        int size()
        Returns an approximate number of index results.
        Returns:
        approximate number of results