public abstract class TableHDU extends BasicHDU
BITPIX_BYTE, BITPIX_DOUBLE, BITPIX_FLOAT, BITPIX_INT, BITPIX_LONG, BITPIX_SHORT, isPrimary, myData, myHeader| Modifier and Type | Method and Description |
|---|---|
abstract int |
addColumn(Object data) |
int |
addRow(Object[] newRow) |
int |
findColumn(String colName) |
Object |
getColumn(int col) |
Object |
getColumn(String colName) |
String |
getColumnFormat(int index)
Get the FITS type of a column in the table.
|
String |
getColumnName(int index)
Get the name of a column in the table.
|
Object |
getElement(int row,
int col) |
int |
getNCols()
Get the number of columns for this table
|
int |
getNRows()
Get the number of rows for this table
|
Object[] |
getRow(int row) |
void |
setColumn(int col,
Object newCol) |
void |
setColumn(String colName,
Object newCol) |
void |
setColumnName(int index,
String name,
String comment) |
void |
setCurrentColumn(int col) |
void |
setElement(int row,
int col,
Object element) |
void |
setRow(int row,
Object[] newRow) |
addValue, addValue, addValue, addValue, getAuthor, getAxes, getBitPix, getBlankValue, getBScale, getBUnit, getBZero, getCreationDate, getData, getDummyHDU, getEpoch, getEquinox, getFileOffset, getGroupCount, getHeader, getInstrument, getKernel, getMaximumValue, getMinimumValue, getObject, getObservationDate, getObserver, getOrigin, getParameterCount, getReference, getSize, getTelescope, getTrimmedString, info, isHeader, read, readData, rewrite, rewriteable, skipData, skipData, writepublic Object[] getRow(int row) throws FitsException
FitsExceptionpublic Object getColumn(String colName) throws FitsException
FitsExceptionpublic Object getColumn(int col) throws FitsException
FitsExceptionpublic Object getElement(int row, int col) throws FitsException
FitsExceptionpublic void setRow(int row,
Object[] newRow)
throws FitsException
FitsExceptionpublic void setColumn(String colName, Object newCol) throws FitsException
FitsExceptionpublic void setColumn(int col,
Object newCol)
throws FitsException
FitsExceptionpublic void setElement(int row,
int col,
Object element)
throws FitsException
FitsExceptionpublic int addRow(Object[] newRow) throws FitsException
FitsExceptionpublic int findColumn(String colName)
public abstract int addColumn(Object data) throws FitsException
FitsExceptionpublic int getNCols()
public int getNRows()
public String getColumnName(int index)
index - The 0-based column index.FitsException - if an invalid index was requested.public void setColumnName(int index,
String name,
String comment)
throws FitsException
FitsExceptionpublic String getColumnFormat(int index) throws FitsException
FitsException - if an invalid index was requested.public void setCurrentColumn(int col)
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.