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.
|
RowAccess |
getRowAccess()
Returns an object which can provide random access to this
table's data, if random access is implemented.
|
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.
|
RowSplittable |
getRowSplittable()
Returns a default splittable which relies on table random access
if available, or otherwise provides only sequential access (no splits).
|
checkedLongToInt, close, getCell, getColumnAuxDataInfos, getName, getParameters, getRow, getURL, isRandom, setName, setParameters, setURLclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetParameterByName, setParameterpublic 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 requiredicolpublic int getColumnCount()
StarTablegetColumnCount in interface StarTablegetColumnCount in class AbstractStarTablepublic RowSequence getRowSequence()
StarTablegetRowSequence in interface StarTablegetRowSequence in class AbstractStarTablepublic RowAccess getRowAccess()
StarTablegetRowAccess in interface StarTablegetRowAccess in class AbstractStarTablepublic RowSplittable getRowSplittable()
AbstractStarTableIt is often possible to provide a better implementation than this.
getRowSplittable in interface StarTablegetRowSplittable in class AbstractStarTableTables.getDefaultRowSplittable(this)RowRunnerpublic long getRowCount()
StarTablegetRowCount in interface StarTablegetRowCount in class AbstractStarTableCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.