StarTable
public class ColumnRandomWrapperStarTable extends RandomWrapperStarTable
RowRandomWrapperStarTable
baseTable
Constructor | Description |
---|---|
ColumnRandomWrapperStarTable(StarTable baseTable,
int nrow) |
Constructs a new table to store a given number of rows.
|
Modifier and Type | Method | Description |
---|---|---|
long |
getRowCount() |
Returns the number of rows in this table, if known.
|
protected java.lang.Object[] |
retrieveStoredRow(long lrow) |
Retrieves the row stored by the lrow'th invocation of
RandomWrapperStarTable.storeNextRow(java.lang.Object[]) . |
protected void |
storeNextRow(java.lang.Object[] row) |
Stores the next row encountered in the base table's row sequence.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCell, getColumnCount, getColumnInfo, getRow, getRowSequence, getURL, isRandom
checkedLongToInt, getBaseTable, getColumnAuxDataInfos, getName, getParameterByName, getParameters, setName, setParameter, setURL, toString
public ColumnRandomWrapperStarTable(StarTable baseTable, int nrow) throws java.io.IOException
baseTable
- base tablenrow
- number of rows in this tablejava.io.IOException
public long getRowCount()
StarTable
getRowCount
in interface StarTable
getRowCount
in class RandomWrapperStarTable
protected void storeNextRow(java.lang.Object[] row)
RandomWrapperStarTable
RandomWrapperStarTable.retrieveStoredRow(long)
.storeNextRow
in class RandomWrapperStarTable
row
- the row to storeprotected java.lang.Object[] retrieveStoredRow(long lrow)
RandomWrapperStarTable
RandomWrapperStarTable.storeNextRow(java.lang.Object[])
. This method will not be called with a
value of lrow greater than or equal to the number of times
storeNextRow has been called already.retrieveStoredRow
in class RandomWrapperStarTable
lrow
- the index of the row to retrieveRandomWrapperStarTable.storeNextRow(java.lang.Object[])
Copyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.