ConeSearcherpublic class SiaConeSearcher extends DalConeSearcher implements ConeSearcher
| Constructor | Description |
|---|---|
SiaConeSearcher(java.lang.String serviceUrl,
java.lang.String imgFormat,
boolean believeEmpty,
uk.ac.starlink.table.StarTableFactory tfact,
uk.ac.starlink.util.ContentCoding coding) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
Called when this searcher is no longer required.
|
int |
getDecIndex(uk.ac.starlink.table.StarTable result) |
Returns the index of a column giving the declination in the
returned table.
|
int |
getRaIndex(uk.ac.starlink.table.StarTable result) |
Returns the index of a column giving the right ascension in the
returned table.
|
uk.ac.starlink.table.StarTable |
performSearch(double ra,
double dec,
double sr) |
Returns a table consisting of all the objects within a given search
radius of a specified point on the sky.
|
getConsistentTable, getInconsistentEmptyAdvice, getUcd1DecIndex, getUcd1RaIndexpublic SiaConeSearcher(java.lang.String serviceUrl,
java.lang.String imgFormat,
boolean believeEmpty,
uk.ac.starlink.table.StarTableFactory tfact,
uk.ac.starlink.util.ContentCoding coding)
serviceUrl - base URL for SIA serviceimgFormat - value of SIA FORMAT parameter
("image/fits" is often a good choice)believeEmpty - whether empty tables are considered to
contain correct metadatatfact - table factorycoding - controls HTTP-level byte stream encodingpublic uk.ac.starlink.table.StarTable performSearch(double ra,
double dec,
double sr)
throws java.io.IOException
ConeSearcherperformSearch in interface ConeSearcherra - right ascension in degrees of search region centredec - declination in degrees of search region centresr - search radius in degreesjava.io.IOExceptionpublic int getRaIndex(uk.ac.starlink.table.StarTable result)
ConeSearchergetRaIndex in interface ConeSearcherresult - table returned by performSearchpublic int getDecIndex(uk.ac.starlink.table.StarTable result)
ConeSearchergetDecIndex in interface ConeSearcherresult - table returned by performSearchpublic void close()
ConeSearcherclose in interface ConeSearcherCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.