public interface TupleSequence
Different typed access methods are provided for retrieving the result of each column. It is up to the caller to keep track of which is the right one to use. It's done this way so that we can return primitive values.
Modifier and Type | Method and Description |
---|---|
boolean |
getBooleanValue(int icol)
Returns the value of a given column as a boolean.
|
double |
getDoubleValue(int icol)
Returns the value of a given column as a double.
|
int |
getIntValue(int icol)
Returns the value of a given column as an integer.
|
java.lang.Object |
getObjectValue(int icol)
Returns the value of a given column as an object.
|
long |
getRowIndex()
Returns the row index for the underlying data set.
|
boolean |
next()
Move to the next item in the sequence.
|
boolean next()
long getRowIndex()
java.lang.Object getObjectValue(int icol)
next()
.icol
- column indexicol
in the current row,
presumed of object typedouble getDoubleValue(int icol)
icol
- column indexicol
in the current row,
presumed of numeric typeint getIntValue(int icol)
icol
- column indexicol
in the current row,
presumed of numeric typeboolean getBooleanValue(int icol)
icol
- column indexicol
in the current row,
presumed of boolean typeCopyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.