public class RandomJELRowReader extends StarTableJELRowReader
PARAM_PREFIX, UCD_PREFIX, UTYPE_PREFIX
COLUMN_ID_CHAR, NULL_QUERY_PREFIX, OBJECT_PREFIX
Constructor and Description |
---|
RandomJELRowReader(uk.ac.starlink.table.StarTable table)
Constructs a new row reader for a random-access table.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
evaluateAtRow(gnu.jel.CompiledExpression compEx,
long lrow)
Evaluates a given compiled expression at a given row.
|
java.lang.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.
|
createDescribedValueConstant, getBooleanColumnValue, getByteColumnValue, getCharColumnValue, getColumnClass, getColumnIndexByName, getConstantByName, getDoubleColumnValue, getFloatColumnValue, getIntColumnValue, getLongColumnValue, getObjectColumnValue, getShortColumnValue, getSpecialByName, getTable, getUcdRegex, getUtypeRegex, isBlank
evaluate, 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, getTypeName, setFailOnNull, stripPrefix, translate
public RandomJELRowReader(uk.ac.starlink.table.StarTable table)
table
- table objectpublic long getCurrentRow()
getCurrentRow
in class StarTableJELRowReader
public void setCurrentRow(long lrow)
lrow
- current rowpublic java.lang.Object evaluateAtRow(gnu.jel.CompiledExpression compEx, long lrow) throws java.lang.Throwable
compEx
- compiled expressionjava.lang.Throwable
public java.lang.Object getCell(int icol) throws java.io.IOException
getCell
in class StarTableJELRowReader
icol
- column indexjava.io.IOException
Copyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.