uk.ac.starlink.vo
Class RegistryStarTable
java.lang.Object
uk.ac.starlink.table.AbstractStarTable
uk.ac.starlink.table.RandomStarTable
uk.ac.starlink.table.ColumnStarTable
uk.ac.starlink.vo.RegistryStarTable
- All Implemented Interfaces:
- StarTable
public class RegistryStarTable
- extends ColumnStarTable
Table representing the flattened results of a registry query.
Each row represents an Interface of a Capability of a VOResource,
or, in the case that a VOResource has no Capabilities, just a VOResource.
Only selected attributes (the most useful?) of these structures are
represented here as columns.
If you want a more detailed representation of a VOResource object,
which is hierarchical, you will need to examine the VOResource objects
themselves.
- Since:
- 19 Dec 2008
- Author:
- Mark Taylor
Method Summary |
long |
getRowCount()
Gets the number of rows in the table (which must be applicable to
all the columns). |
Methods inherited from class uk.ac.starlink.table.AbstractStarTable |
checkedLongToInt, getColumnAuxDataInfos, getName, getParameterByName, getParameters, getRow, getURL, setName, setParameter, setParameters, setURL |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegistryStarTable
public RegistryStarTable(RegistryQuery query)
throws IOException
- Constructor.
- Parameters:
query
- the query whose results are to be represented
- Throws:
IOException
getRowCount
public long getRowCount()
- Description copied from class:
ColumnStarTable
- Gets the number of rows in the table (which must be applicable to
all the columns). Since this is a RandomStarTable the
return value must be non-negative.
- Specified by:
getRowCount
in interface StarTable
- Specified by:
getRowCount
in class ColumnStarTable
- Returns:
- number of rows
Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.