|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Coner
Defines a service which can perform cone search-like operations.
Method Summary | |
---|---|
void |
configureParams(uk.ac.starlink.task.Environment env,
uk.ac.starlink.task.Parameter srParam)
Provides this object with a chance to perform custom configuration on certain general cone search parameters. |
ConeSearcher |
createSearcher(uk.ac.starlink.task.Environment env,
boolean bestOnly)
Returns a searcher object which can perform the actual cone searches as configured by this object's parameters. |
Coverage |
getCoverage(uk.ac.starlink.task.Environment env)
Returns a coverage object suitable for use with the cone search service configured by this object's parameters. |
uk.ac.starlink.task.Parameter[] |
getParameters()
Returns any configuration parameters associated with this object. |
String |
getSkySystem()
Returns the name of the coordinate system used by this Coner. |
boolean |
useDistanceFilter(uk.ac.starlink.task.Environment env)
Indicates whether the result table generated by the created ConeSearcher object should be subjected to additional filtering to ensure that only rows in the specified search radius are included in the final output. |
Method Detail |
---|
uk.ac.starlink.task.Parameter[] getParameters()
String getSkySystem()
This string is used only for documentation purposes, for instance in prompt strings issued to the user.
void configureParams(uk.ac.starlink.task.Environment env, uk.ac.starlink.task.Parameter srParam) throws uk.ac.starlink.task.TaskException
env
- execution environmentsrParam
- search radius parameter
uk.ac.starlink.task.TaskException
boolean useDistanceFilter(uk.ac.starlink.task.Environment env) throws uk.ac.starlink.task.TaskException
env
- execution environment
uk.ac.starlink.task.TaskException
ConeSearcher createSearcher(uk.ac.starlink.task.Environment env, boolean bestOnly) throws uk.ac.starlink.task.TaskException
bestOnly
flag is set, then only the best match
is required. The implementation may use this as a hint if it helps
efficiency, but is not obliged to return single-row tables, since
extraneous rows will be filtered out later. Similarly any rows
which do not actually match the given criteria will be filtered out
later, so it is not an error to return too many rows.
env
- execution environmentbestOnly
- true iff only the best match will be used
uk.ac.starlink.task.TaskException
Coverage getCoverage(uk.ac.starlink.task.Environment env) throws uk.ac.starlink.task.TaskException
env
- execution environment
uk.ac.starlink.task.TaskException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |