uk.ac.starlink.ttools.jel
Class DummyJELRowReader

java.lang.Object
  extended by gnu.jel.DVMap
      extended by uk.ac.starlink.ttools.jel.JELRowReader
          extended by uk.ac.starlink.ttools.jel.StarTableJELRowReader
              extended by 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 JEL expressions, 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
 
Constructor Summary
DummyJELRowReader(uk.ac.starlink.table.StarTable baseTable)
          Constructor.
 
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
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, 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
 

Constructor Detail

DummyJELRowReader

public DummyJELRowReader(uk.ac.starlink.table.StarTable baseTable)
Constructor.

Parameters:
baseTable - table whose columns this reader will be based on
Method Detail

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 © 2009 Central Laboratory of the Research Councils. All Rights Reserved.