Package 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
-
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)
-
-
Field Summary
-
Fields inherited from class uk.ac.starlink.ttools.jel.StarTableJELRowReader
PARAM_PREFIX, UCD_PREFIX, UTYPE_PREFIX
-
Fields inherited from class uk.ac.starlink.ttools.jel.JELRowReader
COLUMN_ID_CHAR, NULL_QUERY_PREFIX, OBJECT_PREFIX
-
-
Constructor Summary
Constructors Constructor Description DummyJELRowReader(uk.ac.starlink.table.StarTable baseTable)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.ObjectgetCell(int icol)Throws UnsupportedOperationException.longgetCurrentRow()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, requiresRowIndex
-
Methods inherited from class uk.ac.starlink.ttools.jel.JELRowReader
evaluate, evaluateBoolean, 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, getTranslatedColumns, getTranslatedConstants, getTypeName, setFailOnNull, stripPrefix, translate
-
-
-
-
Method Detail
-
getCell
protected java.lang.Object getCell(int icol)
Throws UnsupportedOperationException.- Specified by:
getCellin classStarTableJELRowReader- Parameters:
icol- column index- Returns:
- contents of column icol at the current row
-
getCurrentRow
public long getCurrentRow()
Description copied from class:StarTableJELRowReaderReturns the index of the row on which evaluations are currently taking place.- Specified by:
getCurrentRowin classStarTableJELRowReader- Returns:
- row index (first row is 0)
-
-