gov.nasa.pds.dsview.registry
Class PDS3Search

java.lang.Object
  extended by gov.nasa.pds.dsview.registry.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 Summary
PDS3Search(String url)
          Constructor.
 
Method Summary
 org.apache.solr.common.SolrDocument getDataSet(String identifier)
           
 org.apache.solr.common.SolrDocumentList getDataSetList()
           
 List<org.apache.solr.common.SolrDocument> getInst(String identifier)
           
 org.apache.solr.common.SolrDocument getInst(String instId, String instHostId)
           
 org.apache.solr.common.SolrDocument getInstHost(String identifier)
           
 org.apache.solr.common.SolrDocument getMission(String identifier)
           
 org.apache.solr.common.SolrDocument getResource(String identifier)
           
 org.apache.solr.common.SolrDocument getTarget(String identifier)
           
 List<String> getValues(org.apache.solr.common.SolrDocument doc, String key)
           
static void main(String[] argv)
          Command line invocation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDS3Search

public PDS3Search(String url)
Constructor.

Method Detail

getDataSetList

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

getDataSet

public org.apache.solr.common.SolrDocument getDataSet(String identifier)
                                               throws MalformedURLException,
                                                      org.apache.solr.client.solrj.SolrServerException
Throws:
MalformedURLException
org.apache.solr.client.solrj.SolrServerException

getMission

public org.apache.solr.common.SolrDocument getMission(String identifier)
                                               throws MalformedURLException,
                                                      org.apache.solr.client.solrj.SolrServerException
Throws:
MalformedURLException
org.apache.solr.client.solrj.SolrServerException

getInstHost

public org.apache.solr.common.SolrDocument getInstHost(String identifier)
                                                throws MalformedURLException,
                                                       org.apache.solr.client.solrj.SolrServerException
Throws:
MalformedURLException
org.apache.solr.client.solrj.SolrServerException

getInst

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

getInst

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

getTarget

public org.apache.solr.common.SolrDocument getTarget(String identifier)
                                              throws MalformedURLException,
                                                     org.apache.solr.client.solrj.SolrServerException
Throws:
MalformedURLException
org.apache.solr.client.solrj.SolrServerException

getResource

public org.apache.solr.common.SolrDocument getResource(String identifier)
                                                throws MalformedURLException,
                                                       org.apache.solr.client.solrj.SolrServerException
Throws:
MalformedURLException
org.apache.solr.client.solrj.SolrServerException

getValues

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

main

public static void main(String[] argv)
Command line invocation.

Parameters:
argv - Command-line arguments.


Copyright © 2010–2015 Planetary Data System. All rights reserved.