mondrian.rolap.agg
Class SegmentLoader.RowList.Column

java.lang.Object
  extended by 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
(package private)  int ordinal
           
(package private)  SqlStatement.Type type
           
 
Constructor Summary
protected SegmentLoader.RowList.Column(int ordinal, SqlStatement.Type type)
           
 
Method Summary
(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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ordinal

final int ordinal

type

final SqlStatement.Type type
Constructor Detail

SegmentLoader.RowList.Column

protected SegmentLoader.RowList.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)

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads