public abstract class RandomJELRowReader extends StarTableJELRowReader
evaluateAtRow(gnu.jel.CompiledExpression, long)
;
factory methods are provided to implement this in different ways
according to the requirements of multi-threaded usage.PARAM_PREFIX, UCD_PREFIX, UTYPE_PREFIX
COLUMN_ID_CHAR, NULL_QUERY_PREFIX, OBJECT_PREFIX
Modifier | Constructor and Description |
---|---|
protected |
RandomJELRowReader(StarTable table)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static RandomJELRowReader |
createAccessReader(StarTable table)
Convenience method that obtains and uses a RowAccess from a given table.
|
static RandomJELRowReader |
createAccessReader(StarTable table,
RowAccess racc)
Returns an instance that uses a RowAccess object from the table
for supplying data values.
|
static RandomJELRowReader |
createConcurrentReader(StarTable table)
Returns an instance that uses the threadsafe random access methods
of the supplied table.
|
abstract Object |
evaluateAtRow(gnu.jel.CompiledExpression compEx,
long lrow)
Evaluates a given compiled expression at a given row.
|
createDescribedValueConstant, getBooleanColumnValue, getByteColumnValue, getCell, getCharColumnValue, getColumnClass, getColumnIndexByName, getConstantByName, getCurrentRow, getDescribedValueByName, getDoubleColumnValue, getFloatColumnValue, getIntColumnValue, getLongColumnValue, getObjectColumnValue, getShortColumnValue, getSpecialByName, getTable, getUcdRegex, getUtypeRegex, isBlank, requiresRowIndex, valueDouble, valueInt, valueLong, valueObject, valueString
evaluate, evaluateBoolean, 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, getTranslatedColumns, getTranslatedConstants, getTypeName, setFailOnNull, stripPrefix, translate
protected RandomJELRowReader(StarTable table)
table
- table objectpublic abstract Object evaluateAtRow(gnu.jel.CompiledExpression compEx, long lrow) throws Throwable
compEx
- compiled expressionlrow
- row indexThrowable
public static RandomJELRowReader createConcurrentReader(StarTable table)
table
- supplies datapublic static RandomJELRowReader createAccessReader(StarTable table, RowAccess racc)
table
- table objectracc
- row access previously obtained from tablepublic static RandomJELRowReader createAccessReader(StarTable table) throws IOException
table
- table objectcreateAccessReader(table,table.getRowAccess())
IOException
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.