public class TopcatJELRowReader
extends uk.ac.starlink.ttools.jel.RandomJELRowReader
| Modifier and Type | Field and Description |
|---|---|
static char |
SUBSET_ID_CHAR
Prefix identifying a unique subset identifier.
|
| Constructor and Description |
|---|
TopcatJELRowReader(uk.ac.starlink.table.StarTable table,
RowSubset[] subsets,
int[] subsetIds)
Constructs a new row reader for a random-access table.
|
| Modifier and Type | Method and Description |
|---|---|
protected uk.ac.starlink.ttools.jel.Constant |
createDescribedValueConstant(uk.ac.starlink.table.DescribedValue dval)
Returns a constant which is evaluated at runtime.
|
boolean |
getBooleanProperty(short isub)
Returns the actual subset value for the current row and a given
column.
|
java.lang.String |
getTypeName(java.lang.String name)
Overrides superclass implementation to recognise row subsets
by name or _ID.
|
java.lang.Object |
translate(java.lang.String name)
Overrides superclass implementation to recognise subsets as well as
the other special objects.
|
evaluateAtRow, getCell, getCurrentRow, setCurrentRowgetBooleanColumnValue, getByteColumnValue, getCharColumnValue, getColumnClass, getColumnIndexByName, getConstantByName, getDoubleColumnValue, getFloatColumnValue, getIntColumnValue, getLongColumnValue, getObjectColumnValue, getShortColumnValue, getSpecialByName, getTable, getUcdRegex, getUtypeRegex, isBlankevaluate, 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, setFailOnNull, stripPrefixpublic static final char SUBSET_ID_CHAR
public TopcatJELRowReader(uk.ac.starlink.table.StarTable table,
RowSubset[] subsets,
int[] subsetIds)
table - table objectsubsets - array of RowSubset objects which
this reader will recognise (may be null)subsetIds - array of integer identifiers by which the
subsets array will be identified;
must be the same length as subsetsjava.lang.IllegalArgumentException - if table.isRandom()
returns falsepublic java.lang.String getTypeName(java.lang.String name)
getTypeName in class uk.ac.starlink.ttools.jel.JELRowReadername - the variable namepublic java.lang.Object translate(java.lang.String name)
translate in class uk.ac.starlink.ttools.jel.JELRowReadername - the name of the variable-like object to evaluatepublic boolean getBooleanProperty(short isub)
isub - index of the subset to evaluate at the current rowprotected uk.ac.starlink.ttools.jel.Constant createDescribedValueConstant(uk.ac.starlink.table.DescribedValue dval)
createDescribedValueConstant in class uk.ac.starlink.ttools.jel.StarTableJELRowReaderCopyright ? 2003-2017 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.