|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.splat.vo.SplatRegistryQuery
public class SplatRegistryQuery
Registry Query implementation that uses TAP to access a Relational Registry.
Field Summary | |
---|---|
static uk.ac.starlink.table.ValueInfo |
ADQL_INFO
Description of metadata item describing query text. |
static String |
AIP_REG
TAP endpoint for GAVO registry hosted at AIP. |
static String |
ARI_REG
TAP endpoint for GAVO registry hosted at ARI Heidelberg. |
static String |
GAVO_REG
TAP endpoint for high-availablity GAVO registry (DNS pointer). |
static String |
INAF_REG
TAP endpoint for INAF registry (not sure if this is permanent). |
static String[] |
REGISTRIES
List of known registry TAP endpoints. |
static uk.ac.starlink.table.ValueInfo |
REGISTRY_INFO
Description of metadata item describing registry location. |
static String |
REGTAP
|
static uk.ac.starlink.table.ValueInfo |
REGTYPE_INFO
Description of metadata item describing registry location. |
static String[] |
REGTYPES
possible registry types |
static String |
RI1
|
Constructor Summary | |
---|---|
SplatRegistryQuery(String regurl,
String protocol)
Constructs a query which will return RegResource lists for registry resource records with two optional restrictions: (a) restricted to a given service type, and (b) restricted by some free-form ADQL. |
Method Summary | |
---|---|
uk.ac.starlink.table.DescribedValue[] |
getMetadata()
|
Iterator |
getQueryIterator()
|
uk.ac.starlink.vo.RegResource[] |
getQueryResources()
|
URL |
getRegistry()
|
static String[] |
getSearchableRegistries(String regUrl)
Queries a given registry for searchable registries suitable for use with this class. |
String |
getText()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String RI1
public static final String REGTAP
public static final String[] REGTYPES
public static final String GAVO_REG
public static final String ARI_REG
public static final String AIP_REG
public static final String INAF_REG
public static final String[] REGISTRIES
public static final uk.ac.starlink.table.ValueInfo REGTYPE_INFO
public static final uk.ac.starlink.table.ValueInfo REGISTRY_INFO
public static final uk.ac.starlink.table.ValueInfo ADQL_INFO
Constructor Detail |
---|
public SplatRegistryQuery(String regurl, String protocol)
adqlWhere
text has to be written
with some knowledge of the internals of this class, for instance
what columns are available.
tapurl
- TAP endpoint for service hosting relational registrystandardId
- required value of RR standard_id
field,
or null if not resricted by serviceadqlWhere
- text to be ANDed with existing ADQL WHERE clause,
or null for no further restrictionMethod Detail |
---|
public uk.ac.starlink.table.DescribedValue[] getMetadata()
getMetadata
in interface uk.ac.starlink.vo.RegistryQuery
public URL getRegistry()
getRegistry
in interface uk.ac.starlink.vo.RegistryQuery
public String getText()
getText
in interface uk.ac.starlink.vo.RegistryQuery
public uk.ac.starlink.vo.RegResource[] getQueryResources() throws IOException
getQueryResources
in interface uk.ac.starlink.vo.RegistryQuery
IOException
public Iterator getQueryIterator() throws IOException
getQueryIterator
in interface uk.ac.starlink.vo.RegistryQuery
IOException
public static String[] getSearchableRegistries(String regUrl) throws IOException
regUrl
- TAP endpoint for bootstrap relational registry
IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |