public class UploadConeTable extends AbstractStarTable
This is a one-shot sequential table - only one row sequence may be taken out from it.
Constructor and Description |
---|
UploadConeTable(ConeQueryRowSequence coneSeq,
RowMapper<?> rowMapper,
String idName,
String raName,
String decName)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
The
AbstractStarTable implementation of this method
does nothing. |
int |
getColumnCount()
Returns the number of columns in this table.
|
ColumnInfo |
getColumnInfo(int icol)
Returns the object describing the data in a given column.
|
long |
getRowCount()
Returns the number of rows in this table, if known.
|
RowSequence |
getRowSequence()
Returns an object which can iterate over all the rows in the table
sequentially.
|
checkedLongToInt, getCell, getColumnAuxDataInfos, getName, getParameters, getRow, getRowAccess, getRowSplittable, getURL, isRandom, setName, setParameters, setURL
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getParameterByName, setParameter
public UploadConeTable(ConeQueryRowSequence coneSeq, RowMapper<?> rowMapper, String idName, String raName, String decName)
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 columnpublic int getColumnCount()
StarTable
getColumnCount
in interface StarTable
getColumnCount
in class AbstractStarTable
public ColumnInfo getColumnInfo(int icol)
StarTable
getColumnInfo
in interface StarTable
getColumnInfo
in class AbstractStarTable
icol
- the column for which header information is requiredicol
public long getRowCount()
StarTable
getRowCount
in interface StarTable
getRowCount
in class AbstractStarTable
public RowSequence getRowSequence() throws IOException
StarTable
getRowSequence
in interface StarTable
getRowSequence
in class AbstractStarTable
IOException
- if there is an error providing accesspublic void close() throws IOException
AbstractStarTable
AbstractStarTable
implementation of this method
does nothing.close
in interface Closeable
close
in interface AutoCloseable
close
in interface StarTable
close
in class AbstractStarTable
IOException
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.