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.WrapperStarTable
StarTable implementation which concatenates a list of compatible constituent tables in sequence. UnlikeConcatStarTable
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
-
-
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.Object
getCell(long irow, int icol)
java.lang.Object[]
getRow(long irow)
long
getRowCount()
uk.ac.starlink.table.RowSequence
getRowSequence()
boolean
isRandom()
-
-
-
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:
isRandom
in interfaceuk.ac.starlink.table.StarTable
- Overrides:
isRandom
in classuk.ac.starlink.table.WrapperStarTable
-
getCell
public java.lang.Object getCell(long irow, int icol)
- Specified by:
getCell
in interfaceuk.ac.starlink.table.StarTable
- Overrides:
getCell
in classuk.ac.starlink.table.WrapperStarTable
-
getRow
public java.lang.Object[] getRow(long irow)
- Specified by:
getRow
in interfaceuk.ac.starlink.table.StarTable
- Overrides:
getRow
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
-
getRowSequence
public uk.ac.starlink.table.RowSequence getRowSequence() throws java.io.IOException
- Specified by:
getRowSequence
in interfaceuk.ac.starlink.table.StarTable
- Overrides:
getRowSequence
in classuk.ac.starlink.table.WrapperStarTable
- Throws:
java.io.IOException
-
-