Class QuerySelector

java.lang.Object
org.aksw.iguana.cc.query.selector.QuerySelector
Direct Known Subclasses:
LinearQuerySelector, RandomQuerySelector

public abstract class QuerySelector extends Object
The QuerySelector provides a method to retrieve the index of a query, that should be executed next.
It is used by the QueryHandler to get the next query.
Author:
frensing
  • Field Details

    • index

      protected int index
    • size

      protected final int size
  • Constructor Details

    • QuerySelector

      public QuerySelector(int size)
  • Method Details

    • getNextIndex

      public abstract int getNextIndex()
      This method gives the next query index that should be used.
      Returns:
      the next query index
    • getCurrentIndex

      public abstract int getCurrentIndex()