owltools.cli
Class SolrCommandRunner

java.lang.Object
  extended by owltools.cli.CommandRunner
      extended by owltools.cli.GafCommandRunner
          extended by owltools.cli.TaxonCommandRunner
              extended by owltools.cli.SolrCommandRunner
Direct Known Subclasses:
SimCommandRunner

public class SolrCommandRunner
extends TaxonCommandRunner

Solr/GOlr loading.


Nested Class Summary
 
Nested classes/interfaces inherited from class owltools.cli.CommandRunner
CommandRunner.OptionException, CommandRunner.Opts
 
Field Summary
 
Fields inherited from class owltools.cli.GafCommandRunner
gafdoc
 
Fields inherited from class owltools.cli.CommandRunner
exitOnException, g, owlpp, pw, queryOntology, reasoner, reasonerName
 
Constructor Summary
SolrCommandRunner()
           
 
Method Summary
 void flexLoadOntologySolr(CommandRunner.Opts opts)
          TODO: Try experimental flexible loader.
 void loadGafSolr(CommandRunner.Opts opts)
          Requires the --gaf argument (or something else that fills the gafdoc object).
 void loadGafsSolr(CommandRunner.Opts opts)
          Used for loading a list of GAFs into GOlr.
 void loadOntologySolr(CommandRunner.Opts opts)
          Used for loading whatever ontology stuff we have into GOlr.
 void purgeSolr(CommandRunner.Opts opts)
          Manually purge the index to try again.
 void setSolrUrl(CommandRunner.Opts opts)
          Set an optional Solr URL to use with Solr options so they don't have to be specified separately for every option.
 
Methods inherited from class owltools.cli.TaxonCommandRunner
makeClassTaxonMatrix, makeTaxonSet
 
Methods inherited from class owltools.cli.GafCommandRunner
gaf, gaf2Owl, gafQuery, gafTermCounts, gafXpPredict, runGAFChecks, setGAFReportFile
 
Methods inherited from class owltools.cli.CommandRunner
exit, help, helpFooter, parseArgString, resolveClass, resolveEntity, resolveEntity, resolveEntityList, resolveObjectProperty, run, run, summarizeOntology
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SolrCommandRunner

public SolrCommandRunner()
Method Detail

setSolrUrl

public void setSolrUrl(CommandRunner.Opts opts)
Set an optional Solr URL to use with Solr options so they don't have to be specified separately for every option.

Parameters:
opts -

purgeSolr

public void purgeSolr(CommandRunner.Opts opts)
               throws Exception
Manually purge the index to try again. Since this cascade is currently ordered, can be used to purge before we load.

Parameters:
opts -
Throws:
Exception

loadOntologySolr

public void loadOntologySolr(CommandRunner.Opts opts)
                      throws Exception
Used for loading whatever ontology stuff we have into GOlr.

Parameters:
opts -
Throws:
Exception

flexLoadOntologySolr

public void flexLoadOntologySolr(CommandRunner.Opts opts)
                          throws Exception
TODO: Try experimental flexible loader.

Parameters:
opts -
Throws:
Exception

loadGafsSolr

public void loadGafsSolr(CommandRunner.Opts opts)
                  throws Exception
Used for loading a list of GAFs into GOlr.

Parameters:
opts -
Throws:
Exception

loadGafSolr

public void loadGafSolr(CommandRunner.Opts opts)
                 throws Exception
Requires the --gaf argument (or something else that fills the gafdoc object).

Parameters:
opts -
Throws:
Exception


Copyright © 2010-2012. All Rights Reserved.