Class JELSelectorTable

  • All Implemented Interfaces:
    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:
    JELRowReader
    • Field Summary

      • Fields inherited from class uk.ac.starlink.table.WrapperStarTable

        baseTable
    • Constructor Summary

      Constructors 
      Constructor Description
      JELSelectorTable​(uk.ac.starlink.table.StarTable baseTable, java.lang.String expr)
      Construct a table given a base table and a selection expression.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getRowCount()  
      uk.ac.starlink.table.RowSequence getRowSequence()  
      boolean isRandom()  
      • Methods inherited from class uk.ac.starlink.table.WrapperStarTable

        checkedLongToInt, getBaseTable, getCell, getColumnAuxDataInfos, getColumnCount, getColumnInfo, getName, getParameterByName, getParameters, getRow, getURL, setName, setParameter, setURL, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • JELSelectorTable

        public JELSelectorTable​(uk.ac.starlink.table.StarTable baseTable,
                                java.lang.String expr)
                         throws gnu.jel.CompilationException
        Construct a table given a base table and a selection expression.
        Parameters:
        baseTable - base table
        expr - boolean algebraic expression describing inclusion test
        Throws:
        gnu.jel.CompilationException
    • Method Detail

      • isRandom

        public boolean isRandom()
        Specified by:
        isRandom in interface uk.ac.starlink.table.StarTable
        Overrides:
        isRandom in class uk.ac.starlink.table.WrapperStarTable
      • getRowCount

        public long getRowCount()
        Specified by:
        getRowCount in interface uk.ac.starlink.table.StarTable
        Overrides:
        getRowCount in class uk.ac.starlink.table.WrapperStarTable
      • getRowSequence

        public uk.ac.starlink.table.RowSequence getRowSequence()
                                                        throws java.io.IOException
        Specified by:
        getRowSequence in interface uk.ac.starlink.table.StarTable
        Overrides:
        getRowSequence in class uk.ac.starlink.table.WrapperStarTable
        Throws:
        java.io.IOException