org.pentaho.platform.plugin.services.connections.hql
Class HQLResultSet
java.lang.Object
org.pentaho.platform.plugin.services.connections.hql.HQLResultSet
public class HQLResultSet
- extends Object
- Author:
- mdamour
TODO To change the template for this generated type comment go to Window -
Preferences - Java - Code Style - Code Templates
HQLResultSet
public HQLResultSet(List list,
String[] columnNames,
Type[] columnTypes)
setMetaData
public void setMetaData(IPentahoMetaData metadata)
getMetaData
public IPentahoMetaData getMetaData()
next
public Object[] next()
rewindNext
public void rewindNext()
closeConnection
public void closeConnection()
close
public void close()
dispose
public void dispose()
isScrollable
public boolean isScrollable()
getColumnCount
public int getColumnCount()
- Returns the column count from the result set.
- Returns:
- the column count.
getRowCount
public int getRowCount()
- Get a rowCount from the resultset. If the resultset
- Returns:
- the row count.
getValueAt
public Object getValueAt(int row,
int column)
- Returns the value of the specified row and the specified column from
within the resultset.
- Parameters:
row
- the row index.column
- the column index.
- Returns:
- the value.
memoryCopy
public IPentahoResultSet memoryCopy()
beforeFirst
public void beforeFirst()
getDataColumn
public Object[] getDataColumn(int column)
getDataRow
public Object[] getDataRow(int row)