public abstract class ConeServiceType extends Object
Modifier and Type | Field and Description |
---|---|
static ConeServiceType |
CONE
Simple cone search type.
|
static ConeServiceType |
SIA
Alias for SIA1.
|
static ConeServiceType |
SIA1
Simple Image Access v1 type.
|
static ConeServiceType |
SIA2
Simple Image Access v2 type.
|
static ConeServiceType |
SSA
Simple Spectral Access type.
|
Modifier | Constructor and Description |
---|---|
protected |
ConeServiceType(String name)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
configureRadiusParam(Parameter<Double> srParam)
Provides this object with a chance to perform custom configuration
on general cone search parameters.
|
abstract ConeSearcher |
createMultiSearcher(Environment env,
ConeSearchConer conerTask,
String url,
boolean believeEmpty,
StarTableFactory tfact,
ContentCoding coding)
Constructs a ConeSearcher instance suitable for this service type.
|
abstract ConeSearcher |
createSingleSearcher(Environment env,
TableCone coneTask,
String url,
StarTableFactory tfact,
ContentCoding coding)
Constructs a ConeSearcher instance suitable for single cone searches
using this service type.
|
static ConeServiceType[] |
getAllTypes()
Returns a list of instances of this class that may include aliases.
|
abstract Coverage |
getCoverage(URL url,
int nside)
Returns a coverage footprint for use with the service specified.
|
abstract String |
getDescription()
Returns XML description of this service type.
|
static ConeServiceType[] |
getDistinctTypes()
Returns a list of distinct instances of this class.
|
abstract String |
getFormatDescription()
Returns XML documentation of the use of the format parameter
for this service type.
|
String |
toString() |
abstract boolean |
useDistanceFilter()
Indicates whether the result table should be subjected
to additional filtering to ensure that only rows in the
specified search radius are included in the final output.
|
public static final ConeServiceType CONE
public static final ConeServiceType SSA
public static final ConeServiceType SIA1
public static final ConeServiceType SIA2
public static final ConeServiceType SIA
protected ConeServiceType(String name)
name
- informal, short namepublic abstract String getDescription()
public abstract String getFormatDescription()
public abstract void configureRadiusParam(Parameter<Double> srParam)
srParam
- search radius parameterpublic abstract ConeSearcher createSingleSearcher(Environment env, TableCone coneTask, String url, StarTableFactory tfact, ContentCoding coding) throws TaskException
env
- execution environmentconeTask
- task instanceurl
- service URLtfact
- table factorycoding
- controls HTTP-level byte stream compression;
implementations may choose to ignore this hintTaskException
public abstract ConeSearcher createMultiSearcher(Environment env, ConeSearchConer conerTask, String url, boolean believeEmpty, StarTableFactory tfact, ContentCoding coding) throws TaskException
env
- execution environmentconerTask
- task instanceurl
- service URLbelieveEmpty
- whether to take seriously metadata from
zero-length tablestfact
- table factorycoding
- controls HTTP-level byte stream compression;
implementations may choose to ignore this hintTaskException
public abstract boolean useDistanceFilter()
public abstract Coverage getCoverage(URL url, int nside)
url
- cone search service URLnside
- MOC nside parameterpublic static ConeServiceType[] getDistinctTypes()
public static ConeServiceType[] getAllTypes()
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.