public class SequentialJELRowReader extends StarTableJELRowReader implements uk.ac.starlink.table.RowSequence
RowSequence
,
and this object should be treated in the same way as a row sequence
taken out on its table, that is iteration should proceed using the
next and close methods.PARAM_PREFIX, UCD_PREFIX, UTYPE_PREFIX
COLUMN_ID_CHAR, NULL_QUERY_PREFIX, OBJECT_PREFIX
Constructor and Description |
---|
SequentialJELRowReader(uk.ac.starlink.table.StarTable table)
Constructs a new row reader for sequential access.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
java.lang.Object |
getCell(int icol)
Returns the value for a given column in this reader's table at
the current row.
|
long |
getCurrentRow()
Returns the index of the row on which evaluations are currently
taking place.
|
java.lang.Object[] |
getRow() |
boolean |
next() |
createDescribedValueConstant, getBooleanColumnValue, getByteColumnValue, getCharColumnValue, getColumnClass, getColumnIndexByName, getConstantByName, getDoubleColumnValue, getFloatColumnValue, getIntColumnValue, getLongColumnValue, getObjectColumnValue, getShortColumnValue, getSpecialByName, getTable, getUcdRegex, getUtypeRegex, isBlank
evaluate, evaluateDouble, foundNull, getBooleanArrayProperty, getBooleanProperty, getBooleanProperty, getBooleanValue, getByteArrayProperty, getByteProperty, getByteValue, getCharArrayProperty, getCharProperty, getCharValue, getColumnIndex, getDateArrayProperty, getDoubleArrayProperty, getDoubleProperty, getDoubleValue, getFloatArrayProperty, getFloatProperty, getFloatValue, getIntArrayProperty, getIntProperty, getIntValue, getLongArrayProperty, getLongProperty, getLongValue, getNumberProperty, getObjectArrayProperty, getObjectProperty, getShortArrayProperty, getShortProperty, getShortValue, getStringArrayProperty, getStringProperty, getTypeName, setFailOnNull, stripPrefix, translate
public SequentialJELRowReader(uk.ac.starlink.table.StarTable table) throws java.io.IOException
table
- table to readjava.io.IOException
public java.lang.Object getCell(int icol) throws java.io.IOException
StarTableJELRowReader
getCell
in interface uk.ac.starlink.table.RowSequence
getCell
in class StarTableJELRowReader
icol
- column indexjava.io.IOException
public java.lang.Object[] getRow() throws java.io.IOException
getRow
in interface uk.ac.starlink.table.RowSequence
java.io.IOException
public boolean next() throws java.io.IOException
next
in interface uk.ac.starlink.table.RowSequence
java.io.IOException
public long getCurrentRow()
StarTableJELRowReader
getCurrentRow
in class StarTableJELRowReader
public void close() throws java.io.IOException
close
in interface uk.ac.starlink.table.RowSequence
java.io.IOException
Copyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.