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, retryRequest
public RetrieveGolrAnnotations(String server)
public RetrieveGolrAnnotations(String server, int retryCount, boolean ignoreC16ParseErrors)
protected boolean isIndentJson()
isIndentJson
in class AbstractRetrieveGolr
protected List<String> getRelevantFields()
getRelevantFields
in class AbstractRetrieveGolr
public GafDocument convert(List<RetrieveGolrAnnotations.GolrAnnotationDocument> golrAnnotationDocuments) throws IOException
IOException
public void convert(List<RetrieveGolrAnnotations.GolrAnnotationDocument> golrAnnotationDocuments, Map<String,Bioentity> entities, GafDocument document) throws IOException, com.google.gson.JsonSyntaxException
IOException
com.google.gson.JsonSyntaxException
protected void handleAnnotationExtension(GeneAnnotation annotation, RetrieveGolrAnnotations.GolrAnnotationDocument document) throws com.google.gson.JsonSyntaxException
com.google.gson.JsonSyntaxException
public List<RetrieveGolrAnnotations.GolrAnnotationDocument> getGolrAnnotationsForGenes(List<String> ids) throws IOException
IOException
public List<RetrieveGolrAnnotations.GolrAnnotationDocument> getGolrAnnotationsForGene(String id) throws IOException
IOException
public List<RetrieveGolrAnnotations.GolrAnnotationDocument> getGolrAnnotationsForSynonym(String source, String synonym) throws IOException
IOException
public List<RetrieveGolrAnnotations.GolrAnnotationDocument> getGolrAnnotationsForSynonym(String source, List<String> synonyms) throws IOException
IOException
public List<RetrieveGolrAnnotations.GolrAnnotationDocument> getGolrAnnotations(List<String[]> tagvalues) throws IOException
IOException
Copyright © 2010–2015. All rights reserved.