Class JELSelectorTable
java.lang.Object
uk.ac.starlink.table.WrapperStarTable
uk.ac.starlink.ttools.filter.JELSelectorTable
- All Implemented Interfaces:
Closeable, AutoCloseable, uk.ac.starlink.table.StarTable
public class JELSelectorTable
extends uk.ac.starlink.table.WrapperStarTable
Sequential table which selects rows on the basis of a JEL-interpreted
expression.
- See Also:
-
Field Summary
Fields inherited from class uk.ac.starlink.table.WrapperStarTable
baseTable -
Constructor Summary
ConstructorsConstructorDescriptionJELSelectorTable(uk.ac.starlink.table.StarTable baseTable, String expr) Construct a table given a base table and a selection expression. -
Method Summary
Methods inherited from class uk.ac.starlink.table.WrapperStarTable
checkedLongToInt, close, getBaseTable, getColumnAuxDataInfos, getColumnCount, getColumnInfo, getName, getParameterByName, getParameters, getURL, setName, setParameter, setURL, toString
-
Constructor Details
-
JELSelectorTable
public JELSelectorTable(uk.ac.starlink.table.StarTable baseTable, String expr) throws gnu.jel.CompilationException Construct a table given a base table and a selection expression.- Parameters:
baseTable- base tableexpr- boolean algebraic expression describing inclusion test- Throws:
gnu.jel.CompilationException
-
-
Method Details
-
isRandom
public boolean isRandom()- Specified by:
isRandomin interfaceuk.ac.starlink.table.StarTable- Overrides:
isRandomin classuk.ac.starlink.table.WrapperStarTable
-
getRowCount
public long getRowCount()- Specified by:
getRowCountin interfaceuk.ac.starlink.table.StarTable- Overrides:
getRowCountin classuk.ac.starlink.table.WrapperStarTable
-
getCell
- Specified by:
getCellin interfaceuk.ac.starlink.table.StarTable- Overrides:
getCellin classuk.ac.starlink.table.WrapperStarTable
-
getRow
- Specified by:
getRowin interfaceuk.ac.starlink.table.StarTable- Overrides:
getRowin classuk.ac.starlink.table.WrapperStarTable
-
getRowAccess
public uk.ac.starlink.table.RowAccess getRowAccess()- Specified by:
getRowAccessin interfaceuk.ac.starlink.table.StarTable- Overrides:
getRowAccessin classuk.ac.starlink.table.WrapperStarTable
-
getRowSequence
- Specified by:
getRowSequencein interfaceuk.ac.starlink.table.StarTable- Overrides:
getRowSequencein classuk.ac.starlink.table.WrapperStarTable- Throws:
IOException
-
getRowSplittable
- Specified by:
getRowSplittablein interfaceuk.ac.starlink.table.StarTable- Overrides:
getRowSplittablein classuk.ac.starlink.table.WrapperStarTable- Throws:
IOException
-