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
Constructors -
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:FileBasedQueryListThis method returns a query at the given index.- Specified by:
getQueryin interfaceQueryList- Specified by:
getQueryin classFileBasedQueryList- Parameters:
index- Index of the query in the list- Returns:
- The query at the given index
- Throws:
IOException
-
getQueryStream
- Specified by:
getQueryStreamin interfaceQueryList- Specified by:
getQueryStreamin classFileBasedQueryList- Throws:
IOException
-