public class DocumentIdQuery
extends java.lang.Object
Constructor and Description |
---|
DocumentIdQuery() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
createDocidQuery(java.lang.String[] docidList)
Create an squery using some preset values for the query parameters, only
passing in the document ids to be searched.
|
static java.util.Hashtable |
createDocidQueryParams(java.lang.String[] docidList,
java.util.Hashtable params)
Create an squery parameters table using an already-initialized hashtable
|
static java.util.Hashtable |
getDefaultQueryParams()
Create a paramter list containing default parameters for a query
|
static void |
main(java.lang.String[] args)
Main method used for testing the class output
|
public static java.util.Hashtable createDocidQueryParams(java.lang.String[] docidList, java.util.Hashtable params)
docidList
- an array of document identifiers to search forparams
- the hashtable to add the query parameters to.public static java.lang.String createDocidQuery(java.lang.String[] docidList) throws edu.ucsb.nceas.utilities.PropertyNotFoundException
docidList
- an array of document identifiers to search foredu.ucsb.nceas.utilities.PropertyNotFoundException
public static java.util.Hashtable getDefaultQueryParams()
public static void main(java.lang.String[] args)
args
- no arguments used in this main methodCopyright © 2020 Regents of the University of California. All Rights Reserved.