Package org.aksw.iguana.cc.query.list
Interface QueryList
- All Known Implementing Classes:
FileBasedQueryList
,FileCachingQueryList
,FileReadingQueryList
,StringListQueryList
public interface QueryList
The abstract class for a QueryList. A query list provides the queries to the QueryHandler.
- Author:
- frensing
-
Method Summary
Modifier and TypeMethodDescriptiongetQuery
(int index) This method returns a query at the given index.getQueryStream
(int index) int
hashCode()
This method returns the hashcode of the query list which is the hashcode of the query source.int
size()
This method returns the amount of queries in the query list.
-
Method Details
-
size
int size()This method returns the amount of queries in the query list.- Returns:
- The amount of queries in the query list
-
hashCode
int hashCode()This method returns the hashcode of the query list which is the hashcode of the query source. -
getQuery
This method returns a query at the given index.- Parameters:
index
- Index of the query in the list- Returns:
- The query at the given index
- Throws:
IOException
-
getQueryStream
- Throws:
IOException
-