Class SeqConcatStarTable

java.lang.Object
uk.ac.starlink.table.WrapperStarTable
uk.ac.starlink.ttools.task.SeqConcatStarTable
All Implemented Interfaces:
Closeable, AutoCloseable, 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
  • Constructor Summary

    Constructors
    Constructor
    Description
    SeqConcatStarTable(uk.ac.starlink.table.StarTable meta, TableProducer[] tProds)
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    getCell(long irow, int icol)
     
    getRow(long irow)
     
    long
     
    uk.ac.starlink.table.RowSequence
     
    uk.ac.starlink.table.RowSplittable
     
    boolean
     

    Methods inherited from class uk.ac.starlink.table.WrapperStarTable

    checkedLongToInt, close, getBaseTable, getColumnAuxDataInfos, getColumnCount, getColumnInfo, getName, getParameterByName, getParameters, getRowAccess, getURL, setName, setParameter, setURL, toString

    Methods inherited from class java.lang.Object

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

    • 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 Details

    • 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 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 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 IOException
      Specified by:
      getRowSequence in interface uk.ac.starlink.table.StarTable
      Overrides:
      getRowSequence in class uk.ac.starlink.table.WrapperStarTable
      Throws:
      IOException
    • getRowSplittable

      public uk.ac.starlink.table.RowSplittable getRowSplittable() throws IOException
      Specified by:
      getRowSplittable in interface uk.ac.starlink.table.StarTable
      Overrides:
      getRowSplittable in class uk.ac.starlink.table.WrapperStarTable
      Throws:
      IOException