|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserDataReader
Reader that can interrogate a row sequence to return the coordinate and mask values specified by a DataSpec. It is applied to a RowSequence obtained from the DataSpec's source table.
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
Method Summary | |
---|---|
boolean |
getMaskFlag(RowSequence rseq,
long irow)
Returns the mask flag for the current position in a row sequence. |
Object[] |
getUserCoordValues(RowSequence rseq,
long irow,
int icoord)
Returns a user coordinate value array for a given coordinate at the current position in a row sequence. |
Method Detail |
---|
boolean getMaskFlag(RowSequence rseq, long irow) throws IOException
rseq
- row sequence positioned at the row of interestirow
- row index of the row of interest
IOException
Object[] getUserCoordValues(RowSequence rseq, long irow, int icoord) throws IOException
rseq
- row sequence positioned at the row of interestirow
- row index of the row of interesticoord
- coordinate index to read
IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |