uk.ac.starlink.ttools.jel
Class DummyJELRowReader
java.lang.Object
gnu.jel.DVMap
uk.ac.starlink.ttools.jel.JELRowReader
uk.ac.starlink.ttools.jel.StarTableJELRowReader
uk.ac.starlink.ttools.jel.DummyJELRowReader
- All Implemented Interfaces:
- gnu.jel.DVResolver
public class DummyJELRowReader
- extends StarTableJELRowReader
JELRowReader which can't actually read any rows. It's only good for
identifying columns, checking or evaluating JEL expressions in a
per-table (not per-row) context, etc.
- Since:
- 3 Mar 2005
- Author:
- Mark Taylor (Starlink)
Method Summary |
protected Object |
getCell(int icol)
Throws UnsupportedOperationException. |
long |
getCurrentRow()
Returns the index of the row on which evaluations are currently
taking place. |
Methods inherited from class uk.ac.starlink.ttools.jel.StarTableJELRowReader |
createDescribedValueConstant, getBooleanColumnValue, getByteColumnValue, getCharColumnValue, getColumnClass, getColumnIndexByName, getConstantByName, getDoubleColumnValue, getFloatColumnValue, getIntColumnValue, getLongColumnValue, getObjectColumnValue, getShortColumnValue, getSpecialByName, getTable, getUcdRegex, getUtypeRegex, isBlank |
Methods inherited from class uk.ac.starlink.ttools.jel.JELRowReader |
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, stripPrefix, translate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DummyJELRowReader
public DummyJELRowReader(StarTable baseTable)
- Constructor.
- Parameters:
baseTable
- table whose columns this reader will be based on
getCell
protected Object getCell(int icol)
- Throws UnsupportedOperationException.
- Specified by:
getCell
in class StarTableJELRowReader
- Parameters:
icol
- column index
- Returns:
- contents of column icol at the current row
getCurrentRow
public long getCurrentRow()
- Description copied from class:
StarTableJELRowReader
- Returns the index of the row on which evaluations are currently
taking place.
- Specified by:
getCurrentRow
in class StarTableJELRowReader
- Returns:
- row index (first row is 0)
Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.