public class RetrieveGolrAnnotations extends AbstractRetrieveGolr
| Modifier and Type | Class and Description |
|---|---|
static class |
RetrieveGolrAnnotations.GolrAnnotationDocument |
static class |
RetrieveGolrAnnotations.GolrAnnotationExtension |
| Constructor and Description |
|---|
RetrieveGolrAnnotations(String server) |
RetrieveGolrAnnotations(String server,
int retryCount,
boolean ignoreC16ParseErrors) |
defaultRandomWait, getJsonStringFromUri, getJsonStringFromUri, logRequest, logRequestError, logRetry, parseGolrResponse, randomWait, retryRequestpublic RetrieveGolrAnnotations(String server)
public RetrieveGolrAnnotations(String server, int retryCount, boolean ignoreC16ParseErrors)
protected boolean isIndentJson()
isIndentJson in class AbstractRetrieveGolrprotected List<String> getRelevantFields()
getRelevantFields in class AbstractRetrieveGolrpublic GafDocument convert(List<RetrieveGolrAnnotations.GolrAnnotationDocument> golrAnnotationDocuments) throws IOException
IOExceptionpublic void convert(List<RetrieveGolrAnnotations.GolrAnnotationDocument> golrAnnotationDocuments, Map<String,Bioentity> entities, GafDocument document) throws IOException, com.google.gson.JsonSyntaxException
IOExceptioncom.google.gson.JsonSyntaxExceptionprotected void handleAnnotationExtension(GeneAnnotation annotation, RetrieveGolrAnnotations.GolrAnnotationDocument document) throws com.google.gson.JsonSyntaxException
com.google.gson.JsonSyntaxExceptionpublic List<RetrieveGolrAnnotations.GolrAnnotationDocument> getGolrAnnotationsForGenes(List<String> ids) throws IOException
IOExceptionpublic List<RetrieveGolrAnnotations.GolrAnnotationDocument> getGolrAnnotationsForGene(String id) throws IOException
IOExceptionpublic List<RetrieveGolrAnnotations.GolrAnnotationDocument> getGolrAnnotationsForSynonym(String source, String synonym) throws IOException
IOExceptionpublic List<RetrieveGolrAnnotations.GolrAnnotationDocument> getGolrAnnotationsForSynonym(String source, List<String> synonyms) throws IOException
IOExceptionpublic List<RetrieveGolrAnnotations.GolrAnnotationDocument> getGolrAnnotations(List<String[]> tagvalues) throws IOException
IOExceptionCopyright © 2010–2015. All rights reserved.