public class JELColumnSupplement extends Object implements ColumnSupplement
| Constructor and Description |
|---|
JELColumnSupplement(StarTable inTable,
String[] exprs,
ColumnInfo[] colInfos)
Constructs a multiple-column JEL column supplement.
|
JELColumnSupplement(StarTable inTable,
String expr,
ColumnInfo colInfo)
Constructs a single-column JEL column supplement.
|
| Modifier and Type | Method and Description |
|---|---|
SupplementData |
createSupplementData(RowData rdata)
Returns a new accessor for the values in the columns defined by
this object.
|
Object |
getCell(long irow,
int icol)
Random access read of a cell defined by this object.
|
int |
getColumnCount()
Returns the number of columns defined by this object.
|
ColumnInfo |
getColumnInfo(int icol)
Returns the column metadata object for a given column.
|
Object[] |
getRow(long irow)
Random access read of a row defined by this object.
|
public JELColumnSupplement(StarTable inTable, String[] exprs, ColumnInfo[] colInfos) throws IOException
inTable - table providing JEL contextexprs - JEL expressions for columnscolInfos - metadata for columns
(data types may be changed to match expression output);
if null, names are generated automaticallyIOException - with a helpful message if one of the expressions
cannot be compiledpublic JELColumnSupplement(StarTable inTable, String expr, ColumnInfo colInfo) throws IOException
inTable - table providing JEL contextexpr - JEL expression for columncolInfo - metadata for column
(data type may be changed to match expression output);
if null, name is generated automaticallyIOExceptionpublic int getColumnCount()
ColumnSupplementgetColumnCount in interface ColumnSupplementpublic ColumnInfo getColumnInfo(int icol)
ColumnSupplementgetColumnInfo in interface ColumnSupplementicol - column index within this objectpublic Object getCell(long irow, int icol) throws IOException
ColumnSupplementgetCell in interface ColumnSupplementirow - row indexicol - column indexIOExceptionpublic Object[] getRow(long irow) throws IOException
ColumnSupplementgetRow in interface ColumnSupplementirow - row indexIOExceptionpublic SupplementData createSupplementData(RowData rdata) throws IOException
ColumnSupplementcreateSupplementData in interface ColumnSupplementrdata - row accessor providing data from the host tableIOExceptionCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.