Class UploadConeTable
java.lang.Object
uk.ac.starlink.table.AbstractStarTable
uk.ac.starlink.ttools.cone.UploadConeTable
- All Implemented Interfaces:
Closeable, AutoCloseable, 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
ConstructorsConstructorDescriptionUploadConeTable(ConeQueryRowSequence coneSeq, RowMapper<?> rowMapper, String idName, String raName, String decName) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()intuk.ac.starlink.table.ColumnInfogetColumnInfo(int icol) longuk.ac.starlink.table.RowSequenceMethods inherited from class uk.ac.starlink.table.AbstractStarTable
checkedLongToInt, getCell, getColumnAuxDataInfos, getName, getParameters, getRow, getRowAccess, getRowSplittable, getURL, isRandom, setName, setParameters, setURLMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface uk.ac.starlink.table.StarTable
getParameterByName, setParameter
-
Constructor Details
-
UploadConeTable
public UploadConeTable(ConeQueryRowSequence coneSeq, RowMapper<?> rowMapper, String idName, String raName, 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 Details
-
getColumnCount
public int getColumnCount()- Specified by:
getColumnCountin interfaceuk.ac.starlink.table.StarTable- Specified by:
getColumnCountin classuk.ac.starlink.table.AbstractStarTable
-
getColumnInfo
public uk.ac.starlink.table.ColumnInfo getColumnInfo(int icol) - Specified by:
getColumnInfoin interfaceuk.ac.starlink.table.StarTable- Specified by:
getColumnInfoin classuk.ac.starlink.table.AbstractStarTable
-
getRowCount
public long getRowCount()- Specified by:
getRowCountin interfaceuk.ac.starlink.table.StarTable- Specified by:
getRowCountin classuk.ac.starlink.table.AbstractStarTable
-
getRowSequence
- Specified by:
getRowSequencein interfaceuk.ac.starlink.table.StarTable- Specified by:
getRowSequencein classuk.ac.starlink.table.AbstractStarTable- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceuk.ac.starlink.table.StarTable- Overrides:
closein classuk.ac.starlink.table.AbstractStarTable- Throws:
IOException
-