|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.cone.DalConeSearcher
public class DalConeSearcher
Utility class to aid with implementation of ConeSearcher classes based on contact with remote Data Access Layer-type services. A new instance of this class should be used for each set of related calls to a given service.
Constructor Summary | |
---|---|
DalConeSearcher(String stdName,
String stdVers,
boolean believeEmpty)
Constructor. |
Method Summary | |
---|---|
protected StarTable |
getConsistentTable(StarTable table)
Takes a table which is the result of a query to the service handled by this searcher, and returns a table which has compatible column structure to any tables returned by previous calls to this method. |
protected String |
getInconsistentEmptyAdvice()
Returns implementation-specific advice to the user about how to swich off trusting the metadata of zero-row tables. |
int |
getUcd1DecIndex(StarTable table)
Returns the column index for a column in a given table identified with the UCD POS_EQ_DEC_MAIN. |
int |
getUcd1RaIndex(StarTable table)
Returns the column index for a column in a given table identified with the UCD POS_EQ_RA_MAIN. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DalConeSearcher(String stdName, String stdVers, boolean believeEmpty)
stdName
- name of the DAL standard (used in user messages)stdVers
- version of the DAL standard (used in user messages)believeEmpty
- whether empty tables are considered to
contain correct metadataMethod Detail |
---|
protected StarTable getConsistentTable(StarTable table) throws IOException
table
- candidate table
IOException
public int getUcd1RaIndex(StarTable table)
table
- table
public int getUcd1DecIndex(StarTable table)
table
- table
protected String getInconsistentEmptyAdvice()
believeEmpty==true
), but subsequent results
make it look like they shouldn't be.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |