Class FileReadingQueryList
java.lang.Object
org.aksw.iguana.cc.query.list.FileBasedQueryList
org.aksw.iguana.cc.query.list.impl.FileReadingQueryList
- All Implemented Interfaces:
QueryList
A query list which reads the queries directly from a file.
- Author:
- frensing
-
Field Summary
Fields inherited from class org.aksw.iguana.cc.query.list.FileBasedQueryList
querySource
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetQuery
(int index) This method returns a query at the given index.getQueryStream
(int index) Methods inherited from class org.aksw.iguana.cc.query.list.FileBasedQueryList
hashCode, size
-
Constructor Details
-
FileReadingQueryList
-
-
Method Details
-
getQuery
Description copied from class:FileBasedQueryList
This method returns a query at the given index.- Specified by:
getQuery
in interfaceQueryList
- Specified by:
getQuery
in classFileBasedQueryList
- Parameters:
index
- Index of the query in the list- Returns:
- The query at the given index
- Throws:
IOException
-
getQueryStream
- Specified by:
getQueryStream
in interfaceQueryList
- Specified by:
getQueryStream
in classFileBasedQueryList
- Throws:
IOException
-