Package uk.ac.starlink.cdf
Class CdfStarTable
- java.lang.Object
-
- uk.ac.starlink.table.AbstractStarTable
-
- uk.ac.starlink.cdf.CdfStarTable
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,uk.ac.starlink.table.StarTable
public class CdfStarTable extends uk.ac.starlink.table.AbstractStarTableStarTable implementation for CDF files.- Since:
- 24 Jun 2013
- Author:
- Mark Taylor
-
-
Constructor Summary
Constructors Constructor Description CdfStarTable(uk.ac.bristol.star.cdf.CdfContent content, CdfTableProfile profile)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetCell(long irow, int icol)intgetColumnCount()uk.ac.starlink.table.ColumnInfogetColumnInfo(int icol)uk.ac.starlink.table.RowAccessgetRowAccess()longgetRowCount()uk.ac.starlink.table.RowSequencegetRowSequence()booleanisRandom()-
Methods inherited from class uk.ac.starlink.table.AbstractStarTable
checkedLongToInt, close, getColumnAuxDataInfos, getName, getParameters, getRow, getRowSplittable, getURL, setName, setParameters, setURL
-
-
-
-
Constructor Detail
-
CdfStarTable
public CdfStarTable(uk.ac.bristol.star.cdf.CdfContent content, CdfTableProfile profile) throws java.io.IOExceptionConstructor.- Parameters:
content- CDF data content objectprofile- parameterisation of how CDFs should get turned into StarTables- Throws:
java.io.IOException- in case of error
-
-
Method Detail
-
getColumnCount
public int getColumnCount()
- Specified by:
getColumnCountin interfaceuk.ac.starlink.table.StarTable- Specified by:
getColumnCountin 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
-
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
-
isRandom
public boolean isRandom()
- Specified by:
isRandomin interfaceuk.ac.starlink.table.StarTable- Overrides:
isRandomin classuk.ac.starlink.table.AbstractStarTable
-
getCell
public java.lang.Object getCell(long irow, int icol) throws java.io.IOException- Specified by:
getCellin interfaceuk.ac.starlink.table.StarTable- Overrides:
getCellin classuk.ac.starlink.table.AbstractStarTable- Throws:
java.io.IOException
-
getRowSequence
public uk.ac.starlink.table.RowSequence getRowSequence() throws java.io.IOException- Specified by:
getRowSequencein interfaceuk.ac.starlink.table.StarTable- Specified by:
getRowSequencein classuk.ac.starlink.table.AbstractStarTable- Throws:
java.io.IOException
-
getRowAccess
public uk.ac.starlink.table.RowAccess getRowAccess() throws java.io.IOException- Specified by:
getRowAccessin interfaceuk.ac.starlink.table.StarTable- Overrides:
getRowAccessin classuk.ac.starlink.table.AbstractStarTable- Throws:
java.io.IOException
-
-