public interface DataStore
| Modifier and Type | Method and Description |
|---|---|
FiniteAlphabet |
getAlphabet()
The alphabet of symbol lists that can be searched against this
DataStore.
|
void |
search(java.lang.String id,
SymbolList symList,
SearchListener listener)
Search the DataStore with a symbol list.
|
java.lang.String |
seqNameForID(int id)
Resolve an ID to a sequence name.
|
FiniteAlphabet getAlphabet()
void search(java.lang.String id,
SymbolList symList,
SearchListener listener)
throws IllegalAlphabetException,
SearchException
id - the ID to report the symbol list by e.g. 'test' or 'foo1'symList - the symbol list to search withlistener - the listener to inform of hitsIllegalAlphabetException - if the symbol list is of a type that
is not compatible with this data storeSearchExceptionjava.lang.String seqNameForID(int id)
throws java.lang.IndexOutOfBoundsException,
SearchException
id - the int number of the sequence name to resolvejava.lang.IndexOutOfBoundsException - if id is negative or too largeSearchException