Class PDS3Search


  • public class PDS3Search
    extends Object
    This class is used by the PDS data set view web interface to retrieve values for building the search parameter pull-down lists.
    Author:
    Hyun Lee
    • Constructor Detail

      • PDS3Search

        public PDS3Search​(String url)
        Constructor.
    • Method Detail

      • getDataSetList

        public org.apache.solr.common.SolrDocumentList getDataSetList()
                                                               throws org.apache.solr.client.solrj.SolrServerException,
                                                                      IOException
        Throws:
        org.apache.solr.client.solrj.SolrServerException
        IOException
      • getDataSet

        public org.apache.solr.common.SolrDocument getDataSet​(String identifier)
                                                       throws org.apache.solr.client.solrj.SolrServerException,
                                                              IOException
        Throws:
        org.apache.solr.client.solrj.SolrServerException
        IOException
      • getMission

        public org.apache.solr.common.SolrDocument getMission​(String identifier)
                                                       throws org.apache.solr.client.solrj.SolrServerException,
                                                              IOException
        Throws:
        org.apache.solr.client.solrj.SolrServerException
        IOException
      • getInstHost

        public org.apache.solr.common.SolrDocument getInstHost​(String identifier)
                                                        throws org.apache.solr.client.solrj.SolrServerException,
                                                               IOException
        Throws:
        org.apache.solr.client.solrj.SolrServerException
        IOException
      • getInst

        public List<org.apache.solr.common.SolrDocument> getInst​(String identifier)
                                                          throws org.apache.solr.client.solrj.SolrServerException,
                                                                 IOException
        Throws:
        org.apache.solr.client.solrj.SolrServerException
        IOException
      • getInst

        public org.apache.solr.common.SolrDocument getInst​(String instId,
                                                           String instHostId)
                                                    throws org.apache.solr.client.solrj.SolrServerException,
                                                           IOException
        Throws:
        org.apache.solr.client.solrj.SolrServerException
        IOException
      • getTarget

        public org.apache.solr.common.SolrDocument getTarget​(String identifier)
                                                      throws org.apache.solr.client.solrj.SolrServerException,
                                                             IOException
        Throws:
        org.apache.solr.client.solrj.SolrServerException
        IOException
      • getResource

        public org.apache.solr.common.SolrDocument getResource​(String identifier)
                                                        throws org.apache.solr.client.solrj.SolrServerException,
                                                               IOException
        Throws:
        org.apache.solr.client.solrj.SolrServerException
        IOException
      • getValues

        public List<String> getValues​(org.apache.solr.common.SolrDocument doc,
                                      String key)
      • getDoi

        public String getDoi​(String identifier)
                      throws IOException,
                             org.codehaus.jettison.json.JSONException
        Throws:
        IOException
        org.codehaus.jettison.json.JSONException
      • main

        public static void main​(String[] argv)
        Command line invocation.
        Parameters:
        argv - Command-line arguments.