public class EmptyStarTable extends WrapperStarTable
baseTable| Constructor and Description |
|---|
EmptyStarTable()
Creates a new empty table with no columns, no rows and no parameters.
|
EmptyStarTable(StarTable baseTable)
Creates a new empty table with metadata taken from an existing one.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getCell(long lrow,
int icol)
Returns the contents of a given table cell.
|
java.lang.Object[] |
getRow(long lrow)
Returns the contents of a given table row.
|
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.
|
boolean |
isRandom()
Indicates whether random access is provided by this table.
|
checkedLongToInt, getBaseTable, getColumnAuxDataInfos, getColumnCount, getColumnInfo, getName, getParameterByName, getParameters, getURL, setName, setParameter, setURL, toStringpublic EmptyStarTable(StarTable baseTable)
baseTable - base tablepublic EmptyStarTable()
public boolean isRandom()
StarTableStarTable.getRow(long)
and StarTable.getCell(long, int) methods be used.isRandom in interface StarTableisRandom in class WrapperStarTablepublic long getRowCount()
StarTablegetRowCount in interface StarTablegetRowCount in class WrapperStarTablepublic java.lang.Object getCell(long lrow,
int icol)
StarTablegetCell in interface StarTablegetCell in class WrapperStarTablelrow - the index of the cell's rowicol - the index of the cell's columnpublic java.lang.Object[] getRow(long lrow)
StarTablegetRow in interface StarTablegetRow in class WrapperStarTablelrow - the index of the row to retrievepublic RowSequence getRowSequence()
StarTablegetRowSequence in interface StarTablegetRowSequence in class WrapperStarTable