Package uk.ac.starlink.ttools.cone
Class UploadConeTable
- java.lang.Object
-
- uk.ac.starlink.table.AbstractStarTable
-
- uk.ac.starlink.ttools.cone.UploadConeTable
-
- All Implemented Interfaces:
uk.ac.starlink.table.StarTable
public class UploadConeTable extends uk.ac.starlink.table.AbstractStarTable
Table suitable for uploading based on a sequence of positional queries and an RowMapper. The resulting table contains just three columns: ID, RA, Dec.This is a one-shot sequential table - only one row sequence may be taken out from it.
- Since:
- 4 Oct 2014
- Author:
- Mark Taylor
-
-
Constructor Summary
Constructors Constructor Description UploadConeTable(ConeQueryRowSequence coneSeq, RowMapper<?> rowMapper, java.lang.String idName, java.lang.String raName, java.lang.String decName)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getColumnCount()
uk.ac.starlink.table.ColumnInfo
getColumnInfo(int icol)
long
getRowCount()
uk.ac.starlink.table.RowSequence
getRowSequence()
-
-
-
Constructor Detail
-
UploadConeTable
public UploadConeTable(ConeQueryRowSequence coneSeq, RowMapper<?> rowMapper, java.lang.String idName, java.lang.String raName, java.lang.String decName)
Constructor.- Parameters:
coneSeq
- sequence of positional queriesrowMapper
- maps index of query to an identifier objectidName
- column name for uploaded ID columnraName
- column name for uploaded RA columndecName
- column name for uploaded Dec column
-
-
Method Detail
-
getColumnCount
public int getColumnCount()
- Specified by:
getColumnCount
in interfaceuk.ac.starlink.table.StarTable
- Specified by:
getColumnCount
in classuk.ac.starlink.table.AbstractStarTable
-
getColumnInfo
public uk.ac.starlink.table.ColumnInfo getColumnInfo(int icol)
- Specified by:
getColumnInfo
in interfaceuk.ac.starlink.table.StarTable
- Specified by:
getColumnInfo
in classuk.ac.starlink.table.AbstractStarTable
-
getRowCount
public long getRowCount()
- Specified by:
getRowCount
in interfaceuk.ac.starlink.table.StarTable
- Specified by:
getRowCount
in classuk.ac.starlink.table.AbstractStarTable
-
getRowSequence
public uk.ac.starlink.table.RowSequence getRowSequence() throws java.io.IOException
- Specified by:
getRowSequence
in interfaceuk.ac.starlink.table.StarTable
- Specified by:
getRowSequence
in classuk.ac.starlink.table.AbstractStarTable
- Throws:
java.io.IOException
-
-