public class BasePds4StarTable extends Pds4StarTable
DESCRIPTION_INFO| Constructor and Description |
|---|
BasePds4StarTable(BaseTable table,
URI contextUri)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getCell(long lrow,
int icol)
The
AbstractStarTable implementation of this method
throws an UnsupportedOperationException,
since unless otherwise provided there is no random access. |
int |
getColumnCount()
Returns the number of columns in this table.
|
ColumnInfo |
getColumnInfo(int icol)
Returns the object describing the data in a given column.
|
Object[] |
getRow(long lrow)
The
AbstractStarTable implementation of this method
constructs a row by repeated invocation of AbstractStarTable.getCell(long, int). |
RowAccess |
getRowAccess()
Returns an object which can provide random access to this
table's data, if random access is implemented.
|
RowSequence |
getRowSequence()
Returns an object which can iterate over all the rows in the table
sequentially.
|
boolean |
isRandom()
The
AbstractStarTable implementation of this method
returns false. |
getRowCountcheckedLongToInt, close, getColumnAuxDataInfos, getName, getParameters, getRowSplittable, getURL, setName, setParameters, setURLclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetParameterByName, setParameterpublic BasePds4StarTable(BaseTable table, URI contextUri) throws IOException
table - table object on which this table is basedcontextUri - parent URI for the PDS4 labelIOExceptionpublic int getColumnCount()
StarTablegetColumnCount in interface StarTablegetColumnCount in class AbstractStarTablepublic ColumnInfo getColumnInfo(int icol)
StarTablegetColumnInfo in interface StarTablegetColumnInfo in class AbstractStarTableicol - the column for which header information is requiredicolpublic RowSequence getRowSequence() throws IOException
StarTablegetRowSequence in interface StarTablegetRowSequence in class AbstractStarTableIOException - if there is an error providing accesspublic boolean isRandom()
AbstractStarTableAbstractStarTable implementation of this method
returns false.isRandom in interface StarTableisRandom in class AbstractStarTabletrue if table random access methods are availablepublic Object[] getRow(long lrow) throws IOException
AbstractStarTableAbstractStarTable implementation of this method
constructs a row by repeated invocation of AbstractStarTable.getCell(long, int).getRow in interface StarTablegetRow in class AbstractStarTablelrow - the index of the row to retrieveirowIOException - if there is an error reading the datapublic Object getCell(long lrow, int icol) throws IOException
AbstractStarTableAbstractStarTable implementation of this method
throws an UnsupportedOperationException,
since unless otherwise provided there is no random access.getCell in interface StarTablegetCell in class AbstractStarTablelrow - the index of the cell's rowicol - the index of the cell's columnIOException - if there is an error reading the datapublic RowAccess getRowAccess() throws IOException
StarTablegetRowAccess in interface StarTablegetRowAccess in class AbstractStarTableIOException - if there is an error setting up accessCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.