Class QuerySelector
java.lang.Object
org.aksw.iguana.cc.query.selector.QuerySelector
- Direct Known Subclasses:
LinearQuerySelector
,RandomQuerySelector
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.
It is used by the QueryHandler to get the next query.
- Author:
- frensing
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract int
abstract int
This method gives the next query index that should be used.
-
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()
-