ServiceConeSearcher
, SiaConeSearcher
, SsaConeSearcher
public class DalConeSearcher
extends java.lang.Object
Constructor | Description |
---|---|
DalConeSearcher(java.lang.String stdName,
java.lang.String stdVers,
boolean believeEmpty) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
protected uk.ac.starlink.table.StarTable |
getConsistentTable(uk.ac.starlink.table.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 java.lang.String |
getInconsistentEmptyAdvice() |
Returns implementation-specific advice to the user about how to
swich off trusting the metadata of zero-row tables.
|
int |
getUcd1DecIndex(uk.ac.starlink.table.StarTable table) |
Returns the column index for a column in a given table identified
with the UCD POS_EQ_DEC_MAIN.
|
int |
getUcd1RaIndex(uk.ac.starlink.table.StarTable table) |
Returns the column index for a column in a given table identified
with the UCD POS_EQ_RA_MAIN.
|
public DalConeSearcher(java.lang.String stdName, java.lang.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 uk.ac.starlink.table.StarTable getConsistentTable(uk.ac.starlink.table.StarTable table) throws java.io.IOException
table
- candidate tablejava.io.IOException
public int getUcd1RaIndex(uk.ac.starlink.table.StarTable table)
table
- tablepublic int getUcd1DecIndex(uk.ac.starlink.table.StarTable table)
table
- tableprotected java.lang.String getInconsistentEmptyAdvice()
believeEmpty==true
), but subsequent results
make it look like they shouldn't be.Copyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.