|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.birt.chart.internal.datafeed.ResultSetDataSet
Maintains a subset of a resultset by defining a selective list of columns and a row range to be extracted from a full resultset. An instance of this class is provided to a custom data set processor that is capable of converting the resultset subset content into the expected chart dataset format.
Constructor Summary | |
ResultSetDataSet(java.util.List lst,
int dataType)
Creates the resultset using a given list. |
|
ResultSetDataSet(ResultSetWrapper rsw,
int[] iaColumnIndexes,
long lStartRow,
long lEndRow)
The constructor that creates an instance of a resultset subset by extracting appropriate columns and a row range from a resultset |
Method Summary | |
int |
getColumnCount()
|
int |
getDataType()
Returns the data type associated with a single column resultset subset. |
int |
getDataType(int columnIndex)
Returns the data type of a given column associated with a multi-column resultset subset. |
long |
getSize()
Returns the number of rows associated with this resultset subset instance |
boolean |
hasNext()
Indicates whether another row of data is available without actually moving the cursor |
java.lang.Object[] |
next()
Returns a row of data and advances the resultset subset cursor |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ResultSetDataSet(ResultSetWrapper rsw, int[] iaColumnIndexes, long lStartRow, long lEndRow)
lStartRow
- lEndRow
- public ResultSetDataSet(java.util.List lst, int dataType)
lst
- Method Detail |
public boolean hasNext()
IResultSetDataSet
hasNext
in interface IResultSetDataSet
public java.lang.Object[] next()
IResultSetDataSet
next
in interface IResultSetDataSet
public int getDataType()
IResultSetDataSet
getDataType
in interface IResultSetDataSet
public int getDataType(int columnIndex)
IResultSetDataSet
getDataType
in interface IResultSetDataSet
public int getColumnCount()
getColumnCount
in interface IResultSetDataSet
public long getSize()
IResultSetDataSet
getSize
in interface IResultSetDataSet
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |