public class FitsStarTable
extends uk.ac.starlink.table.RandomStarTable
This implementation uses the table handling in the nom.tam.fits package. I think that performance could be considerably improved by rewriting the table access from scratch. The reason for this is largely that the nom.tam.fits classes do a lot of wrapping of values in (perhaps multi-dimensional) arrays, which is not for our purposes necessary. Such a re-implementation would take a bit of effort unfortunately.
This class should only be used for TABLE extension (that is ASCII table)
HDUs.
The BintableStarTable class is much more efficient for BINTTABLE
extensions (binary table) HDUs.
| Constructor | Description |
|---|---|
FitsStarTable(nom.tam.fits.TableHDU thdu) |
Constructs a FitsStarTable object from a FITS TableHDU object.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object |
getCell(long lrow,
int icol) |
|
java.util.List |
getColumnAuxDataInfos() |
|
int |
getColumnCount() |
|
uk.ac.starlink.table.ColumnInfo |
getColumnInfo(int icol) |
|
java.lang.Object[] |
getRow(long lrow) |
|
long |
getRowCount() |
checkedLongToInt, getName, getParameterByName, getParameters, getURL, setName, setParameter, setParameters, setURLpublic FitsStarTable(nom.tam.fits.TableHDU thdu)
throws java.io.IOException
thdu - a TableHDU object containing datajava.io.IOExceptionpublic long getRowCount()
getRowCount in class uk.ac.starlink.table.RandomStarTablepublic int getColumnCount()
getColumnCount in class uk.ac.starlink.table.AbstractStarTablepublic uk.ac.starlink.table.ColumnInfo getColumnInfo(int icol)
getColumnInfo in class uk.ac.starlink.table.AbstractStarTablepublic java.util.List getColumnAuxDataInfos()
getColumnAuxDataInfos in class uk.ac.starlink.table.AbstractStarTablepublic java.lang.Object getCell(long lrow,
int icol)
throws java.io.IOException
getCell in class uk.ac.starlink.table.AbstractStarTablejava.io.IOExceptionpublic java.lang.Object[] getRow(long lrow)
throws java.io.IOException
getRow in class uk.ac.starlink.table.AbstractStarTablejava.io.IOExceptionCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.