uk.ac.starlink.vo
Class RegistryStarTable

java.lang.Object
  extended by uk.ac.starlink.table.AbstractStarTable
      extended by uk.ac.starlink.table.RandomStarTable
          extended by uk.ac.starlink.table.ColumnStarTable
              extended by 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

Field Summary
 
Fields inherited from class uk.ac.starlink.table.ColumnStarTable
columns
 
Constructor Summary
RegistryStarTable(RegistryQuery query)
          Constructor.
 
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.ColumnStarTable
addColumn, getCell, getColumnCount, getColumnData, getColumnInfo, makeTableWithRows, setCell, setColumn
 
Methods inherited from class uk.ac.starlink.table.RandomStarTable
getRowSequence, isRandom
 
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
 

Constructor Detail

RegistryStarTable

public RegistryStarTable(RegistryQuery query)
                  throws IOException
Constructor.

Parameters:
query - the query whose results are to be represented
Throws:
IOException
Method Detail

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.