public class MetadataStarTable extends AbstractStarTable
TableSink.acceptMetadata(uk.ac.starlink.table.StarTable).| Constructor and Description |
|---|
MetadataStarTable(ColumnInfo[] colInfos)
Constructs a metadata table with given column metadata
and an indeterminate number of rows.
|
MetadataStarTable(ColumnInfo[] colInfos,
long rowCount)
Constructs a metadata table with given column metadata
and a given number of rows.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getColumnCount()
Returns the number of columns in this table.
|
ColumnInfo |
getColumnInfo(int icol)
Returns the object describing the data in a given column.
|
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.
|
checkedLongToInt, getCell, getColumnAuxDataInfos, getName, getParameterByName, getParameters, getRow, getURL, isRandom, setName, setParameter, setParameters, setURLpublic MetadataStarTable(ColumnInfo[] colInfos)
colInfos - metadata items for each columnpublic MetadataStarTable(ColumnInfo[] colInfos, long rowCount)
colInfos - metadata items for each columnrowCount - row count, may be -1 to indicate unknownpublic ColumnInfo getColumnInfo(int icol)
StarTablegetColumnInfo in interface StarTablegetColumnInfo in class AbstractStarTableicol - the column for which header information is requiredpublic int getColumnCount()
StarTablegetColumnCount in interface StarTablegetColumnCount in class AbstractStarTablepublic RowSequence getRowSequence()
StarTablegetRowSequence in interface StarTablegetRowSequence in class AbstractStarTablepublic long getRowCount()
StarTablegetRowCount in interface StarTablegetRowCount in class AbstractStarTable