Package uk.ac.starlink.ttools.task
Class SeqConcatStarTable
- java.lang.Object
-
- uk.ac.starlink.table.WrapperStarTable
-
- uk.ac.starlink.ttools.task.SeqConcatStarTable
-
- All Implemented Interfaces:
uk.ac.starlink.table.StarTable
public class SeqConcatStarTable extends uk.ac.starlink.table.WrapperStarTableStarTable implementation which concatenates a list of compatible constituent tables in sequence. UnlikeConcatStarTableit 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
-
-
Constructor Summary
Constructors Constructor Description SeqConcatStarTable(uk.ac.starlink.table.StarTable meta, TableProducer[] tProds)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetCell(long irow, int icol)java.lang.Object[]getRow(long irow)longgetRowCount()uk.ac.starlink.table.RowSequencegetRowSequence()booleanisRandom()
-
-
-
Constructor Detail
-
SeqConcatStarTable
public SeqConcatStarTable(uk.ac.starlink.table.StarTable meta, TableProducer[] tProds)Constructor.- Parameters:
meta- table providing metadatatProds- array of table producers which provide the tables to join
-
-
Method Detail
-
isRandom
public boolean isRandom()
- Specified by:
isRandomin interfaceuk.ac.starlink.table.StarTable- Overrides:
isRandomin classuk.ac.starlink.table.WrapperStarTable
-
getCell
public java.lang.Object getCell(long irow, int icol)- Specified by:
getCellin interfaceuk.ac.starlink.table.StarTable- Overrides:
getCellin classuk.ac.starlink.table.WrapperStarTable
-
getRow
public java.lang.Object[] getRow(long irow)
- Specified by:
getRowin interfaceuk.ac.starlink.table.StarTable- Overrides:
getRowin classuk.ac.starlink.table.WrapperStarTable
-
getRowCount
public long getRowCount()
- Specified by:
getRowCountin interfaceuk.ac.starlink.table.StarTable- Overrides:
getRowCountin classuk.ac.starlink.table.WrapperStarTable
-
getRowSequence
public uk.ac.starlink.table.RowSequence getRowSequence() throws java.io.IOException- Specified by:
getRowSequencein interfaceuk.ac.starlink.table.StarTable- Overrides:
getRowSequencein classuk.ac.starlink.table.WrapperStarTable- Throws:
java.io.IOException
-
-