|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgnu.jel.DVMap
uk.ac.starlink.ttools.jel.JELRowReader
uk.ac.starlink.ttools.jel.StarTableJELRowReader
uk.ac.starlink.ttools.jel.RandomJELRowReader
public class RandomJELRowReader
Implements JELRowReader for a random access table.
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 | |
---|---|
RandomJELRowReader(uk.ac.starlink.table.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 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 java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RandomJELRowReader(uk.ac.starlink.table.StarTable table)
table
- table objectMethod Detail |
---|
public long getCurrentRow()
getCurrentRow
in class StarTableJELRowReader
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 StarTableJELRowReader
icol
- column index
IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |