public class UnitColumnSupplement extends Object implements ColumnSupplement
Constructor and Description |
---|
UnitColumnSupplement(StarTable table)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
SupplementData |
createSupplementData(RowData rdata)
Returns a new accessor for the values in the columns defined by
this object.
|
Object |
getCell(long irow,
int icol)
Random access read of a cell defined by this object.
|
int |
getColumnCount()
Returns the number of columns defined by this object.
|
ColumnInfo |
getColumnInfo(int icol)
Returns the column metadata object for a given column.
|
Object[] |
getRow(long irow)
Random access read of a row defined by this object.
|
public UnitColumnSupplement(StarTable table)
table
- base tablepublic int getColumnCount()
ColumnSupplement
getColumnCount
in interface ColumnSupplement
public ColumnInfo getColumnInfo(int icol)
ColumnSupplement
getColumnInfo
in interface ColumnSupplement
icol
- column index within this objectpublic Object getCell(long irow, int icol) throws IOException
ColumnSupplement
getCell
in interface ColumnSupplement
irow
- row indexicol
- column indexIOException
public Object[] getRow(long irow) throws IOException
ColumnSupplement
getRow
in interface ColumnSupplement
irow
- row indexIOException
public SupplementData createSupplementData(RowData rdata) throws IOException
ColumnSupplement
createSupplementData
in interface ColumnSupplement
rdata
- row accessor providing data from the host tableIOException
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.