Package uk.ac.starlink.cdf
Class CdfStarTable
java.lang.Object
uk.ac.starlink.table.AbstractStarTable
uk.ac.starlink.cdf.CdfStarTable
- All Implemented Interfaces:
Closeable,AutoCloseable,uk.ac.starlink.table.StarTable
public class CdfStarTable
extends uk.ac.starlink.table.AbstractStarTable
StarTable implementation for CDF files.
- Since:
- 24 Jun 2013
- Author:
- Mark Taylor
-
Constructor Summary
ConstructorsConstructorDescriptionCdfStarTable(uk.ac.bristol.star.cdf.CdfContent content, CdfTableProfile profile) Constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetCell(long irow, int icol) intuk.ac.starlink.table.ColumnInfogetColumnInfo(int icol) uk.ac.starlink.table.RowAccesslonguk.ac.starlink.table.RowSequencebooleanisRandom()Methods inherited from class uk.ac.starlink.table.AbstractStarTable
checkedLongToInt, close, getColumnAuxDataInfos, getName, getParameters, getRow, getRowSplittable, getURL, setName, setParameters, setURLMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface uk.ac.starlink.table.StarTable
getParameterByName, setParameter
-
Constructor Details
-
CdfStarTable
public CdfStarTable(uk.ac.bristol.star.cdf.CdfContent content, CdfTableProfile profile) throws IOException Constructor.- Parameters:
content- CDF data content objectprofile- parameterisation of how CDFs should get turned into StarTables- Throws:
IOException- in case of error
-
-
Method Details
-
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
- Specified by:
getCellin interfaceuk.ac.starlink.table.StarTable- Overrides:
getCellin classuk.ac.starlink.table.AbstractStarTable- Throws:
IOException
-
getRowSequence
- Specified by:
getRowSequencein interfaceuk.ac.starlink.table.StarTable- Specified by:
getRowSequencein classuk.ac.starlink.table.AbstractStarTable- Throws:
IOException
-
getRowAccess
- Specified by:
getRowAccessin interfaceuk.ac.starlink.table.StarTable- Overrides:
getRowAccessin classuk.ac.starlink.table.AbstractStarTable- Throws:
IOException
-