public class ServiceConeSearcher extends DalConeSearcher implements ConeSearcher
| Constructor and Description | 
|---|
ServiceConeSearcher(ConeSearch csearch,
                   int verb,
                   boolean believeEmpty,
                   StarTableFactory tfact)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
close()
Called when this searcher is no longer required. 
 | 
int | 
getDecIndex(StarTable result)
Returns the index of a column giving the declination in the
 returned table. 
 | 
int | 
getRaIndex(StarTable result)
Returns the index of a column giving the right ascension in the 
 returned 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 ServiceConeSearcher(ConeSearch csearch, int verb, boolean believeEmpty, StarTableFactory tfact)
csearch - cone search service specification objectverb - verbosity parameterbelieveEmpty - whether empty tables are considered to
          contain correct metadatatfact - table factorypublic StarTable performSearch(double ra, double dec, double sr) throws IOException
ConeSearcherperformSearch in interface ConeSearcherra - right ascension in degrees of search region centredec - declination in degrees of search region centresr - search radius in degreesIOExceptionpublic int getRaIndex(StarTable result)
ConeSearchergetRaIndex in interface ConeSearcherresult - table returned by performSearchpublic int getDecIndex(StarTable result)
ConeSearchergetDecIndex in interface ConeSearcherresult - table returned by performSearchpublic void close()
ConeSearcherclose in interface ConeSearcherCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.