public class Ri1RegistryQuery extends Object implements RegistryQuery
| Modifier and Type | Field and Description | 
|---|---|
static String | 
AG_REG
Endpoint for primary AstroGrid registry. 
 | 
static String | 
AG_REG2
Endpoint for secondary AstroGrid registry. 
 | 
static String | 
EUROVO_REG
Endpoint for Euro-VO registry. 
 | 
static int | 
RECORD_BUFFER_SIZE
Default maximum number of registry entries retrieved at once. 
 | 
static String[] | 
REGISTRIES
List of likely registries. 
 | 
static ValueInfo | 
REGISTRY_INFO
Description of metadata item describing registry location. 
 | 
static ValueInfo | 
TEXT_INFO
Description of metadata item describing query text. 
 | 
static String | 
VAO_REG
Endpoint for VAO registry. 
 | 
| Constructor and Description | 
|---|
Ri1RegistryQuery(SoapClient soapClient,
                String text)
Constructs a new query object from a SOAP client and a query. 
 | 
Ri1RegistryQuery(String endpoint,
                String text)
Constructs a new query object from a registry URL and a query. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static String | 
getAdqlWhere(Capability cap)
Returns an ADQL 1.0 WHERE clause which can be used to search
 for capabilities of the given type in the registry. 
 | 
DescribedValue[] | 
getMetadata()
Returns a set of DescribedValue objects which characterise this query. 
 | 
Iterator<RegResource> | 
getQueryIterator()
Executes the query described by this object and returns an 
 Iterator over  
RegResource objects. | 
RegResource[] | 
getQueryResources()
Executes the query described by this object and returns the result as
 an array of  
RegResources. | 
URL | 
getRegistry()
Returns the registry URL. 
 | 
static String[] | 
getSearchableRegistries(String regUrl)
Searches the given registry access URL to find a list of full searchable
 registry access URLs. 
 | 
String | 
getText()
Returns the query text. 
 | 
String | 
toString()  | 
public static int RECORD_BUFFER_SIZE
public static final ValueInfo REGISTRY_INFO
public static final ValueInfo TEXT_INFO
public static final String AG_REG
public static final String AG_REG2
public static final String VAO_REG
public static final String EUROVO_REG
public static final String[] REGISTRIES
public Ri1RegistryQuery(SoapClient soapClient, String text)
soapClient - SOAP clienttext - ADQL WHERE clause for the registry querypublic Iterator<RegResource> getQueryIterator() throws IOException
RegistryQueryRegResource objects.
 Note that the iterator's next method may throw the
 unchecked exception 
 RegistryQueryException with a cause
 indicating the underlying error in case of a registry access problem.getQueryIterator in interface RegistryQueryRegResourcesIOExceptionpublic RegResource[] getQueryResources() throws IOException
RegistryQueryRegResources.getQueryResources in interface RegistryQueryIOExceptionpublic String getText()
RegistryQuerygetText in interface RegistryQuerypublic URL getRegistry()
RegistryQuerygetRegistry in interface RegistryQuerypublic DescribedValue[] getMetadata()
RegistryQueryStarTable resulting from the execution
 of this query.getMetadata in interface RegistryQuerypublic static String[] getSearchableRegistries(String regUrl) throws IOException
regUrl - registry to start withIOExceptionpublic static String getAdqlWhere(Capability cap)
cap - standard capabilityCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.