public class WrapperTupleSequence extends java.lang.Object implements TupleSequence
Constructor and Description |
---|
WrapperTupleSequence(TupleSequence base)
Constructor.
|
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.
|
public WrapperTupleSequence(TupleSequence base)
base
- sequence to which all methods are delegatedpublic boolean next()
TupleSequence
next
in interface TupleSequence
public long getRowIndex()
TupleSequence
getRowIndex
in interface TupleSequence
public boolean getBooleanValue(int icol)
TupleSequence
getBooleanValue
in interface TupleSequence
icol
- column indexicol
in the current row,
presumed of boolean typepublic int getIntValue(int icol)
TupleSequence
getIntValue
in interface TupleSequence
icol
- column indexicol
in the current row,
presumed of numeric typepublic double getDoubleValue(int icol)
TupleSequence
getDoubleValue
in interface TupleSequence
icol
- column indexicol
in the current row,
presumed of numeric typepublic java.lang.Object getObjectValue(int icol)
TupleSequence
TupleSequence.next()
.getObjectValue
in interface TupleSequence
icol
- column indexicol
in the current row,
presumed of object typeCopyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.