public class ConstantStarTable extends RandomStarTable
| Constructor and Description |
|---|
ConstantStarTable(ColumnInfo[] infos,
Object[] cells,
long nrow)
Constructs a new constant star table.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getCell(long lrow,
int icol)
Implementations of this method must be safe for concurrent calls
from multiple threads.
|
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()
Implementations must supply a non-negative return value.
|
boolean |
isRandom()
Returns true.
|
getRowAccess, getRowSequencecheckedLongToInt, close, getColumnAuxDataInfos, getName, getParameters, getRow, getRowSplittable, getURL, setName, setParameters, setURLclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetParameterByName, setParameterpublic ConstantStarTable(ColumnInfo[] infos, Object[] cells, long nrow)
infos - array of column metadata objects (one for each column)cells - row data - the same for every rownrow - number of rows in this tablepublic int getColumnCount()
StarTablegetColumnCount in interface StarTablegetColumnCount in class AbstractStarTablepublic ColumnInfo getColumnInfo(int icol)
StarTablegetColumnInfo in interface StarTablegetColumnInfo in class AbstractStarTableicol - the column for which header information is requiredicolpublic long getRowCount()
RandomStarTablegetRowCount in interface StarTablegetRowCount in class RandomStarTablepublic boolean isRandom()
RandomStarTableisRandom in interface StarTableisRandom in class RandomStarTablepublic Object getCell(long lrow, int icol)
RandomStarTablegetCell in interface StarTablegetCell in class RandomStarTablelrow - the index of the cell's rowicol - the index of the cell's columnCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.