public abstract class SimpleGdbImplCommon extends SimpleGdb
dbName, NO_LIMIT, NO_TIMEOUT, QUERY_TIMEOUTMATCH_ID| Modifier and Type | Method and Description |
|---|---|
Map<Xref,String> |
freeAttributeSearch(String query,
String attrType,
int limit)
free text search for matching symbols.
|
Map<Xref,Set<String>> |
freeAttributeSearchEx(String query,
String attrType,
int limit) |
Set<Xref> |
freeSearch(String text,
int limit) |
Set<String> |
getAttributeSet() |
IDMapperCapabilities |
getCapabilities() |
List<Xref> |
getCrossRefsByAttribute(String attrName,
String attrValue) |
Iterable<Xref> |
getIterator() |
Iterable<Xref> |
getIterator(DataSource ds) |
boolean |
isFreeAttributeSearchSupported() |
Set<Xref> |
mapID(Xref idc,
DataSource... resultDs) |
boolean |
xrefExists(Xref xref) |
close, getConnection, getDbName, getGeneCount, getGeneCount, getLinkCount, isConnectedmapID, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAttributes, getAttributespublic boolean xrefExists(Xref xref) throws IDMapperException
IDMapperExceptionpublic Set<Xref> mapID(Xref idc, DataSource... resultDs) throws IDMapperException
IDMapperExceptionpublic List<Xref> getCrossRefsByAttribute(String attrName, String attrValue) throws IDMapperException
IDMapperExceptionpublic Set<Xref> freeSearch(String text, int limit) throws IDMapperException
IDMapperExceptionpublic IDMapperCapabilities getCapabilities()
public boolean isFreeAttributeSearchSupported()
public Map<Xref,String> freeAttributeSearch(String query, String attrType, int limit) throws IDMapperException
query - The text to search forattrType - the attribute to look for, e.g. 'Symbol' or 'Description'.limit - The number of results to limit the search toIDMapperException - if the mapping service is (temporarily) unavailablepublic Map<Xref,Set<String>> freeAttributeSearchEx(String query, String attrType, int limit) throws IDMapperException
IDMapperExceptionpublic Set<String> getAttributeSet() throws IDMapperException
IDMapperExceptionpublic Iterable<Xref> getIterator() throws IDMapperException
IDMapperExceptionpublic Iterable<Xref> getIterator(DataSource ds) throws IDMapperException
IDMapperExceptionCopyright © 2006–2020 BridgeDb project. All rights reserved.