Package uk.ac.starlink.ttools.filter
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:
isRandom
in interfaceuk.ac.starlink.table.StarTable
- Overrides:
isRandom
in classuk.ac.starlink.table.WrapperStarTable
-
getRowCount
public long getRowCount()- Specified by:
getRowCount
in interfaceuk.ac.starlink.table.StarTable
- Overrides:
getRowCount
in classuk.ac.starlink.table.WrapperStarTable
-
getCell
- Specified by:
getCell
in interfaceuk.ac.starlink.table.StarTable
- Overrides:
getCell
in classuk.ac.starlink.table.WrapperStarTable
-
getRow
- Specified by:
getRow
in interfaceuk.ac.starlink.table.StarTable
- Overrides:
getRow
in classuk.ac.starlink.table.WrapperStarTable
-
getRowAccess
public uk.ac.starlink.table.RowAccess getRowAccess()- Specified by:
getRowAccess
in interfaceuk.ac.starlink.table.StarTable
- Overrides:
getRowAccess
in classuk.ac.starlink.table.WrapperStarTable
-
getRowSequence
- Specified by:
getRowSequence
in interfaceuk.ac.starlink.table.StarTable
- Overrides:
getRowSequence
in classuk.ac.starlink.table.WrapperStarTable
- Throws:
IOException
-
getRowSplittable
- Specified by:
getRowSplittable
in interfaceuk.ac.starlink.table.StarTable
- Overrides:
getRowSplittable
in classuk.ac.starlink.table.WrapperStarTable
- Throws:
IOException
-