public class ColumnRandomWrapperStarTable extends RandomWrapperStarTable
RowRandomWrapperStarTablebaseTable| Constructor and Description |
|---|
ColumnRandomWrapperStarTable(StarTable baseTable,
int nrow)
Constructs a new table to store a given number of rows.
|
| Modifier and Type | Method and 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.
|
getCell, getColumnCount, getColumnInfo, getRow, getRowSequence, getURL, isRandomcheckedLongToInt, getBaseTable, getColumnAuxDataInfos, getName, getParameterByName, getParameters, setName, setParameter, setURL, toStringpublic ColumnRandomWrapperStarTable(StarTable baseTable, int nrow) throws java.io.IOException
baseTable - base tablenrow - number of rows in this tablejava.io.IOExceptionpublic long getRowCount()
StarTablegetRowCount in interface StarTablegetRowCount in class RandomWrapperStarTableprotected void storeNextRow(java.lang.Object[] row)
RandomWrapperStarTableRandomWrapperStarTable.retrieveStoredRow(long).storeNextRow in class RandomWrapperStarTablerow - the row to storeprotected java.lang.Object[] retrieveStoredRow(long lrow)
RandomWrapperStarTableRandomWrapperStarTable.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 RandomWrapperStarTablelrow - the index of the row to retrieveRandomWrapperStarTable.storeNextRow(java.lang.Object[])