Copyright © 2011 Citra Technologies. All Rights Reserved.

com.citra.pivot.olap.data
Interface TabularCursor

All Superinterfaces:
OlapCursor

public interface TabularCursor
extends OlapCursor

TabularCursor is a cursor that retrieves data in a tabular format.


Method Summary
 int getColumnCount()
          Returns the number of columns in the tabular set.
 String getColumnName(int index)
          Returns the name of a column in the tabular set, as this is defined by index.
 Object getValue(int index)
          Returns the value of the current row in the set, as this is defined by index.
 
Methods inherited from interface com.citra.pivot.olap.data.OlapCursor
getPosition, getPositionCount, next, reset, setPosition
 

Method Detail

getColumnCount

int getColumnCount()
Returns the number of columns in the tabular set.

Returns:
the number of columns

getColumnName

String getColumnName(int index)
Returns the name of a column in the tabular set, as this is defined by index.

Parameters:
index - the location of the column in the set
Returns:
the column's name

getValue

Object getValue(int index)
Returns the value of the current row in the set, as this is defined by index.

Parameters:
index - the location of the value in the set
Returns:
the cursor's current value at index

Copyright © 2011 Citra Technologies. All Rights Reserved.