Package mondrian.rolap.agg
Class SegmentLoader.RowList.Column
- java.lang.Object
-
- mondrian.rolap.agg.SegmentLoader.RowList.Column
-
- Direct Known Subclasses:
SegmentLoader.RowList.NativeColumn
,SegmentLoader.RowList.ObjectColumn
- Enclosing class:
- SegmentLoader.RowList
abstract static class SegmentLoader.RowList.Column extends Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int
ordinal
(package private) SqlStatement.Type
type
-
Constructor Summary
Constructors Modifier Constructor Description protected
Column(int ordinal, SqlStatement.Type type)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description (package private) static SegmentLoader.RowList.Column
forType(int ordinal, SqlStatement.Type type, int capacity)
protected abstract int
getCapacity()
double
getDouble(int row)
int
getInt(int row)
Object
getObject(int row)
abstract boolean
isNull(int row)
abstract void
populateFrom(int row, ResultSet resultSet)
abstract void
resize(int newSize)
void
setDouble(int row, double value)
void
setInt(int row, int value)
void
setLong(int row, long value)
void
setNull(int row, boolean b)
void
setObject(int row, Object value)
-
-
-
Field Detail
-
ordinal
final int ordinal
-
type
final SqlStatement.Type type
-
-
Constructor Detail
-
Column
protected Column(int ordinal, SqlStatement.Type type)
-
-
Method Detail
-
forType
static SegmentLoader.RowList.Column forType(int ordinal, SqlStatement.Type type, int capacity)
-
resize
public abstract void resize(int newSize)
-
setObject
public void setObject(int row, Object value)
-
setDouble
public void setDouble(int row, double value)
-
setInt
public void setInt(int row, int value)
-
setLong
public void setLong(int row, long value)
-
setNull
public void setNull(int row, boolean b)
-
populateFrom
public abstract void populateFrom(int row, ResultSet resultSet) throws SQLException
- Throws:
SQLException
-
getObject
public Object getObject(int row)
-
getInt
public int getInt(int row)
-
getDouble
public double getDouble(int row)
-
getCapacity
protected abstract int getCapacity()
-
isNull
public abstract boolean isNull(int row)
-
-