public class CdfStarTable extends AbstractStarTable
| Constructor and Description |
|---|
CdfStarTable(uk.ac.bristol.star.cdf.CdfContent content,
CdfTableProfile profile)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getCell(long irow,
int icol)
The AbstractStarTable implementation of this method throws an
UnsupportedOperationException, since unless otherwise
provided there is no random access.
|
int |
getColumnCount()
Returns the number of columns in this table.
|
ColumnInfo |
getColumnInfo(int icol)
Returns the object describing the data in a given column.
|
RowAccess |
getRowAccess()
Returns an object which can provide random access to this
table's data, if random access is implemented.
|
long |
getRowCount()
Returns the number of rows in this table, if known.
|
RowSequence |
getRowSequence()
Returns an object which can iterate over all the rows in the table
sequentially.
|
boolean |
isRandom()
The AbstractStarTable implementation of this method
returns false.
|
checkedLongToInt, close, getColumnAuxDataInfos, getName, getParameters, getRow, getRowSplittable, getURL, setName, setParameters, setURLclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetParameterByName, setParameterpublic CdfStarTable(uk.ac.bristol.star.cdf.CdfContent content,
CdfTableProfile profile)
throws java.io.IOException
content - CDF data content objectprofile - parameterisation of how CDFs should get turned
into StarTablesjava.io.IOException - in case of errorpublic int getColumnCount()
StarTablegetColumnCount in interface StarTablegetColumnCount in class AbstractStarTablepublic long getRowCount()
StarTablegetRowCount in interface StarTablegetRowCount in class AbstractStarTablepublic ColumnInfo getColumnInfo(int icol)
StarTablegetColumnInfo in interface StarTablegetColumnInfo in class AbstractStarTableicol - the column for which header information is requiredpublic boolean isRandom()
AbstractStarTableisRandom in interface StarTableisRandom in class AbstractStarTablepublic java.lang.Object getCell(long irow,
int icol)
throws java.io.IOException
AbstractStarTablegetCell in interface StarTablegetCell in class AbstractStarTableirow - the index of the cell's rowicol - the index of the cell's columnjava.io.IOException - if there is an error reading the datapublic RowSequence getRowSequence() throws java.io.IOException
StarTablegetRowSequence in interface StarTablegetRowSequence in class AbstractStarTablejava.io.IOException - if there is an error providing accesspublic RowAccess getRowAccess() throws java.io.IOException
StarTablegetRowAccess in interface StarTablegetRowAccess in class AbstractStarTablejava.io.IOException - if there is an error setting up access