public class DalConeSearcher extends Object
Constructor and Description |
---|
DalConeSearcher(String stdName,
String stdVers,
boolean believeEmpty)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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 metadataprotected StarTable getConsistentTable(StarTable table) throws IOException
table
- candidate tableIOException
public int getUcd1RaIndex(StarTable table)
table
- tablepublic int getUcd1DecIndex(StarTable table)
table
- tableprotected String getInconsistentEmptyAdvice()
believeEmpty==true
), but subsequent results
make it look like they shouldn't be.Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.