Class SeqConcatStarTable

  • All Implemented Interfaces:
    uk.ac.starlink.table.StarTable

    public class SeqConcatStarTable
    extends uk.ac.starlink.table.WrapperStarTable
    StarTable implementation which concatenates a list of compatible constituent tables in sequence. Unlike ConcatStarTable it does not attempt to provide random access or to cache tables that it's obtained before. This is particularly suitable for catting an enormous number of tables together.
    Since:
    4 Oct 2006
    Author:
    Mark Taylor
    • Field Summary

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

        baseTable
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getCell​(long irow, int icol)  
      java.lang.Object[] getRow​(long irow)  
      long getRowCount()  
      uk.ac.starlink.table.RowSequence getRowSequence()  
      boolean isRandom()  
      • Methods inherited from class uk.ac.starlink.table.WrapperStarTable

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

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

      • SeqConcatStarTable

        public SeqConcatStarTable​(uk.ac.starlink.table.StarTable meta,
                                  TableProducer[] tProds)
        Constructor.
        Parameters:
        meta - table providing metadata
        tProds - array of table producers which provide the tables to join
    • 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
      • getCell

        public java.lang.Object getCell​(long irow,
                                        int icol)
        Specified by:
        getCell in interface uk.ac.starlink.table.StarTable
        Overrides:
        getCell in class uk.ac.starlink.table.WrapperStarTable
      • getRow

        public java.lang.Object[] getRow​(long irow)
        Specified by:
        getRow in interface uk.ac.starlink.table.StarTable
        Overrides:
        getRow 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