public interface UserDataReader
Note this object is applied to an external RowSequence which must be advanced externally, rather than owning and advancing its own RowSequence. This is because multiple instances of this class may share the same RowSequence.
The read methods are sequential and must be presented with RowSequence and row index values appropriate for a given row in the table. Despite the presence of the row index parameters, they are not random-access methods, but the row index may be needed alongside the correctly positioned row sequence.
Instances of this object are not expected to be usable from multiple concurrent threads.
DataSpec
Modifier and Type | Method | Description |
---|---|---|
boolean |
getMaskFlag(uk.ac.starlink.table.RowSequence rseq,
long irow) |
Returns the mask flag for the current position in a row sequence.
|
java.lang.Object[] |
getUserCoordValues(uk.ac.starlink.table.RowSequence rseq,
long irow,
int icoord) |
Returns a user coordinate value array for a given coordinate at
the current position in a row sequence.
|
boolean getMaskFlag(uk.ac.starlink.table.RowSequence rseq, long irow) throws java.io.IOException
rseq
- row sequence positioned at the row of interestirow
- row index of the row of interestjava.io.IOException
java.lang.Object[] getUserCoordValues(uk.ac.starlink.table.RowSequence rseq, long irow, int icoord) throws java.io.IOException
rseq
- row sequence positioned at the row of interestirow
- row index of the row of interesticoord
- coordinate index to readjava.io.IOException
Copyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.