Constructor and Description |
---|
ConeQuerier(String URL,
String id)
Build a cone querier using the full URL.
|
ConeQuerier(String baseURL,
String id,
double ra,
double dec,
double size)
Build a cone querier using the base URL and cone search
parameters.
|
Modifier and Type | Method and Description |
---|---|
void |
addCriterion(String name,
String op,
String value) |
static String |
checkURLEnd(String url)
Make sure that URLs can be appended to
|
static ConeQuerier |
factory(String id,
double ra,
double dec,
double size)
Create a ConeQuerier Object.
|
int |
getCount()
Get the number of rows returned
|
String[] |
getExtraNames()
Get the names of extra columns
|
ArrayList<String[]> |
getExtras()
Get the list of extra columns
|
String[] |
getIDs()
Get the specified IDs
|
double[][] |
getPositions()
Get the array of position
|
double |
getSize()
Get the size of the request
|
String |
getURL()
Get the URL used.
|
static void |
main(String[] args) |
void |
run()
Run the query
|
void |
setEntriesUsed(int n) |
void |
setOutput(PrintStream str) |
void |
updateHeader(nom.tam.fits.Header hdr) |
public ConeQuerier(String baseURL, String id, double ra, double dec, double size)
public void setEntriesUsed(int n)
public void setOutput(PrintStream str)
public double getSize()
public double[][] getPositions()
public String[] getIDs()
public int getCount()
public String getURL()
public String[] getExtraNames()
public static ConeQuerier factory(String id, double ra, double dec, double size)
id
- public void updateHeader(nom.tam.fits.Header hdr)