Package uk.ac.starlink.vo
Interface RegistryQuery
- All Known Implementing Classes:
RegTapRegistryQuery
,Ri1RegistryQuery
public interface RegistryQuery
Describes a query on a registry.
- Since:
- 4 Jan 2005
- Author:
- Mark Taylor (Starlink)
-
Method Summary
Modifier and TypeMethodDescriptionuk.ac.starlink.table.DescribedValue[]
Returns a set of DescribedValue objects which characterise this query.Executes the query described by this object and returns an Iterator overRegResource
objects.Executes the query described by this object and returns the result as an array ofRegResource
s.Returns the registry URL.getText()
Returns the query text.
-
Method Details
-
getQueryIterator
Executes the query described by this object and returns an Iterator overRegResource
objects. Note that the iterator'snext
method may throw the unchecked exceptionRegistryQueryException
with a cause indicating the underlying error in case of a registry access problem.- Returns:
- iterator over
RegResource
s - Throws:
IOException
-
getQueryResources
Executes the query described by this object and returns the result as an array ofRegResource
s.- Returns:
- resource list
- Throws:
IOException
-
getText
String getText()Returns the query text.- Returns:
- query
-
getRegistry
URL getRegistry()Returns the registry URL.- Returns:
- url
-
getMetadata
uk.ac.starlink.table.DescribedValue[] getMetadata()Returns a set of DescribedValue objects which characterise this query. These would be suitable for use in the parameter list of aStarTable
resulting from the execution of this query.
-