|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.cone.JdbcConer
public class JdbcConer
Coner implementation which works by performing SELECT statements over a JDBC database connection.
Constructor Summary | |
---|---|
JdbcConer()
Constructor. |
Method Summary | |
---|---|
void |
configureParams(Environment env,
Parameter srParam)
Provides this object with a chance to perform custom configuration on certain general cone search parameters. |
ConeSearcher |
createSearcher(Environment env,
boolean bestOnly)
Returns a searcher object which can perform the actual cone searches as configured by this object's parameters. |
Coverage |
getCoverage(Environment env)
Returns a coverage object suitable for use with the cone search service configured by this object's parameters. |
Parameter[] |
getParameters()
Returns any configuration parameters associated with this object. |
String |
getSkySystem()
Returns the empty string. |
boolean |
useDistanceFilter(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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JdbcConer()
Method Detail |
---|
public String getSkySystem()
getSkySystem
in interface Coner
public Parameter[] getParameters()
Coner
getParameters
in interface Coner
public void configureParams(Environment env, Parameter srParam)
Coner
configureParams
in interface Coner
env
- execution environmentsrParam
- search radius parameterpublic boolean useDistanceFilter(Environment env)
Coner
useDistanceFilter
in interface Coner
env
- execution environment
public ConeSearcher createSearcher(Environment env, boolean bestOnly) throws TaskException
Coner
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.
createSearcher
in interface Coner
env
- execution environmentbestOnly
- true iff only the best match will be used
TaskException
public Coverage getCoverage(Environment env)
Coner
getCoverage
in interface Coner
env
- execution environment
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |