Class 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)
  • Constructor Details

    • DummyJELRowReader

      public DummyJELRowReader(uk.ac.starlink.table.StarTable baseTable)
      Constructor.
      Parameters:
      baseTable - table whose columns this reader will be based on
  • Method Details

    • 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)