Package mondrian.rolap.agg
Class SegmentLoader.RowList
java.lang.Object
mondrian.rolap.agg.SegmentLoader.RowList
- Enclosing class:
- SegmentLoader
Collection of rows, each with a set of columns of type Object, double, or int. Native types are not boxed.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
first()
Moves to before the first row.double
getDouble
(int columnIndex) int
getInt
(int columnIndex) getObject
(int columnIndex) Returns the object in the given column of the current row.getTypes()
boolean
isNull
(int columnIndex) void
last()
Moves to after the last row.boolean
next()
Moves forward one row, or returns false if at the last row.boolean
previous()
Moves backward one row, or returns false if at the first row.void
setNull
(int columnIndex, boolean b) int
size()
-
Method Details
-
size
public int size() -
createRow
- Throws:
SQLException
-
getTypes
-
first
public void first()Moves to before the first row. -
last
public void last()Moves to after the last row. -
next
public boolean next()Moves forward one row, or returns false if at the last row.- Returns:
- whether moved forward
-
previous
public boolean previous()Moves backward one row, or returns false if at the first row.- Returns:
- whether moved backward
-
getObject
Returns the object in the given column of the current row.- Parameters:
columnIndex
- Column index- Returns:
- Value of the column
-
getInt
public int getInt(int columnIndex) -
getDouble
public double getDouble(int columnIndex) -
isNull
public boolean isNull(int columnIndex) -
setNull
public void setNull(int columnIndex, boolean b)
-