Package org.intermine.api.query
Interface QueryStore
-
- All Known Implementing Classes:
MemoryQueryStore
public interface QueryStore
- Author:
- Alex
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getQuery(java.lang.String key)
java.lang.String
putQuery(java.lang.String xml)
-
-
-
Method Detail
-
putQuery
java.lang.String putQuery(java.lang.String xml) throws BadQueryException
- Parameters:
xml
- query xml- Returns:
- query ID
- Throws:
BadQueryException
- if query is bad
-
getQuery
java.lang.String getQuery(java.lang.String key) throws KeyFormatException, NotPresentException
- Parameters:
key
- key- Returns:
- query
- Throws:
KeyFormatException
- key is wrong formatNotPresentException
- key doesn't exist
-
-