StarTable
public class EmptyStarTable extends WrapperStarTable
baseTable
Constructor | 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 | 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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
checkedLongToInt, getBaseTable, getColumnAuxDataInfos, getColumnCount, getColumnInfo, getName, getParameterByName, getParameters, getURL, setName, setParameter, setURL, toString
public EmptyStarTable(StarTable baseTable)
baseTable
- base tablepublic EmptyStarTable()
public boolean isRandom()
StarTable
StarTable.getRow(long)
and StarTable.getCell(long, int)
methods be used.isRandom
in interface StarTable
isRandom
in class WrapperStarTable
public long getRowCount()
StarTable
getRowCount
in interface StarTable
getRowCount
in class WrapperStarTable
public java.lang.Object getCell(long lrow, int icol)
StarTable
getCell
in interface StarTable
getCell
in class WrapperStarTable
lrow
- the index of the cell's rowicol
- the index of the cell's columnpublic java.lang.Object[] getRow(long lrow)
StarTable
getRow
in interface StarTable
getRow
in class WrapperStarTable
lrow
- the index of the row to retrievepublic RowSequence getRowSequence()
StarTable
getRowSequence
in interface StarTable
getRowSequence
in class WrapperStarTable
Copyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.