public class UnitColumnSupplement extends java.lang.Object implements ColumnSupplement
Constructor and Description |
---|
UnitColumnSupplement(uk.ac.starlink.table.StarTable table)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
SupplementSequence |
createSequence(uk.ac.starlink.table.RowSequence rseq)
Returns a new iterator over the values in the columns defined by
this object.
|
java.lang.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.
|
uk.ac.starlink.table.ColumnInfo |
getColumnInfo(int icol)
Returns the column metadata object for a given column.
|
java.lang.Object[] |
getRow(long irow)
Random access read of a row defined by this object.
|
public UnitColumnSupplement(uk.ac.starlink.table.StarTable table)
table
- base tablepublic int getColumnCount()
ColumnSupplement
getColumnCount
in interface ColumnSupplement
public uk.ac.starlink.table.ColumnInfo getColumnInfo(int icol)
ColumnSupplement
getColumnInfo
in interface ColumnSupplement
icol
- column index within this objectpublic java.lang.Object getCell(long irow, int icol) throws java.io.IOException
ColumnSupplement
getCell
in interface ColumnSupplement
irow
- row indexicol
- column indexjava.io.IOException
public java.lang.Object[] getRow(long irow) throws java.io.IOException
ColumnSupplement
getRow
in interface ColumnSupplement
irow
- row indexjava.io.IOException
public SupplementSequence createSequence(uk.ac.starlink.table.RowSequence rseq) throws java.io.IOException
ColumnSupplement
createSequence
in interface ColumnSupplement
rseq
- row sequence providing data from the host tablejava.io.IOException
Copyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.