public abstract class SelectorStarTable extends WrapperStarTable
isIncluded(uk.ac.starlink.table.RowSequence) method for each row of the base
table as it is iterated over.baseTable| Constructor and Description |
|---|
SelectorStarTable(StarTable baseTable)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getCell(int icol) |
java.lang.Object[] |
getRow() |
long |
getRowCount()
Returns -1 (length unknown).
|
RowSequence |
getRowSequence()
Returns an object which can iterate over all the rows in the table
sequentially.
|
abstract boolean |
isIncluded(RowSequence baseSeq)
Evaluated to determine whether rows of the base table are included
in this one.
|
boolean |
isRandom()
Returns false.
|
checkedLongToInt, getBaseTable, getCell, getColumnAuxDataInfos, getColumnCount, getColumnInfo, getName, getParameterByName, getParameters, getRow, getURL, setName, setParameter, setURL, toStringpublic SelectorStarTable(StarTable baseTable)
baseTable - table on which this is basedpublic abstract boolean isIncluded(RowSequence baseSeq) throws java.io.IOException
baseSeq - row sequence of the base tablejava.io.IOExceptionpublic boolean isRandom()
isRandom in interface StarTableisRandom in class WrapperStarTablepublic long getRowCount()
getRowCount in interface StarTablegetRowCount in class WrapperStarTablepublic java.lang.Object[] getRow()
public java.lang.Object getCell(int icol)
public RowSequence getRowSequence() throws java.io.IOException
StarTablegetRowSequence in interface StarTablegetRowSequence in class WrapperStarTablejava.io.IOException - if there is an error providing access