owltools.solrj
Class GafSolrDocumentLoader

java.lang.Object
  extended by owltools.solrj.AbstractSolrLoader
      extended by owltools.solrj.GafSolrDocumentLoader

public class GafSolrDocumentLoader
extends AbstractSolrLoader

A very specific class for the specific use case of loading in a GAF-like document into a Solr index. This method is very non-generic and GO-specific, and does not use the YAML configuration files to make things easy for mirroring a BBOP-JS constrained SOlr index.


Field Summary
 
Fields inherited from class owltools.solrj.AbstractSolrLoader
graph, gson, server
 
Constructor Summary
GafSolrDocumentLoader(String url)
           
 
Method Summary
 GafDocument getGafDocument()
           
 void load()
           
 void setEcoTools(EcoTools inEco)
           
 void setGafDocument(GafDocument gafDocument)
           
 void setPANTHERSet(PANTHERForest inPSet)
           
 void setTaxonTools(TaxonTools inTaxo)
           
 
Methods inherited from class owltools.solrj.AbstractSolrLoader
add, addAll, addAllAndCommit, addFieldUnique, addLabelField, addLabelFields, getGraph, incrementalAddAndCommit, setGraph
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GafSolrDocumentLoader

public GafSolrDocumentLoader(String url)
                      throws MalformedURLException
Throws:
MalformedURLException
Method Detail

getGafDocument

public GafDocument getGafDocument()

setGafDocument

public void setGafDocument(GafDocument gafDocument)

setEcoTools

public void setEcoTools(EcoTools inEco)

setTaxonTools

public void setTaxonTools(TaxonTools inTaxo)

setPANTHERSet

public void setPANTHERSet(PANTHERForest inPSet)

load

public void load()
          throws org.apache.solr.client.solrj.SolrServerException,
                 IOException
Specified by:
load in class AbstractSolrLoader
Throws:
org.apache.solr.client.solrj.SolrServerException
IOException


Copyright © 2010-2013. All Rights Reserved.