|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gnu.jel.DVMap | +--uk.ac.starlink.ttools.JELRowReader | +--uk.ac.starlink.ttools.RandomJELRowReader
Implements JELRowReader for a random access table.
Field Summary |
Fields inherited from class uk.ac.starlink.ttools.JELRowReader |
COLUMN_ID_CHAR, NULL_QUERY_PREFIX |
Constructor Summary | |
RandomJELRowReader(StarTable table)
Constructs a new row reader for a random-access table. |
Method Summary | |
Object |
evaluateAtRow(gnu.jel.CompiledExpression compEx,
long lrow)
Evaluates a given compiled expression at a given row. |
Object |
getCell(int icol)
Returns the cell at a given column in the current row. |
long |
getCurrentRow()
Returns the current row for evaluations. |
void |
setCurrentRow(long lrow)
Sets the current row for evaluations. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RandomJELRowReader(StarTable table)
table
- table objectMethod Detail |
public long getCurrentRow()
getCurrentRow
in class JELRowReader
public void setCurrentRow(long lrow)
lrow
- current rowpublic Object evaluateAtRow(gnu.jel.CompiledExpression compEx, long lrow) throws Throwable
compEx
- compiled expression
Throwable
public Object getCell(int icol) throws IOException
getCell
in class JELRowReader
icol
- column index
IOException
|
Copyright © 2004 CLRC: Central Laboratory of the Research Councils. All rights reserved. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |