|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.birt.chart.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()
Returns the columns count for current resultset dataset. |
int |
getDataType()
Returns a data type (for internal usage) associated with a single 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 final boolean hasNext()
public final java.lang.Object[] next()
public final int getDataType()
public final int getColumnCount()
public final long getSize()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |