Class HQLResultSet
- java.lang.Object
-
- org.pentaho.platform.plugin.services.connections.hql.HQLResultSet
-
- All Implemented Interfaces:
org.pentaho.commons.connection.IDisposable
,org.pentaho.commons.connection.IPeekable
,org.pentaho.commons.connection.IPentahoResultSet
public class HQLResultSet extends Object implements org.pentaho.commons.connection.IPentahoResultSet, org.pentaho.commons.connection.IPeekable
- Author:
- mdamour TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates
-
-
Constructor Summary
Constructors Constructor Description HQLResultSet(List list, String[] columnNames, org.hibernate.type.Type[] columnTypes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
beforeFirst()
void
close()
void
closeConnection()
void
dispose()
int
getColumnCount()
Returns the column count from the result set.Object[]
getDataColumn(int column)
Object[]
getDataRow(int row)
org.pentaho.commons.connection.IPentahoMetaData
getMetaData()
int
getRowCount()
Get a rowCount from the resultset.Object
getValueAt(int row, int column)
Returns the value of the specified row and the specified column from within the resultset.boolean
isScrollable()
org.pentaho.commons.connection.IPentahoResultSet
memoryCopy()
Object[]
next()
Object[]
peek()
void
setMetaData(org.pentaho.commons.connection.IPentahoMetaData metadata)
-
-
-
Field Detail
-
peekRow
protected Object[] peekRow
-
-
Method Detail
-
setMetaData
public void setMetaData(org.pentaho.commons.connection.IPentahoMetaData metadata)
-
getMetaData
public org.pentaho.commons.connection.IPentahoMetaData getMetaData()
- Specified by:
getMetaData
in interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
peek
public Object[] peek()
- Specified by:
peek
in interfaceorg.pentaho.commons.connection.IPeekable
-
next
public Object[] next()
- Specified by:
next
in interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
closeConnection
public void closeConnection()
- Specified by:
closeConnection
in interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
close
public void close()
- Specified by:
close
in interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
dispose
public void dispose()
- Specified by:
dispose
in interfaceorg.pentaho.commons.connection.IDisposable
-
isScrollable
public boolean isScrollable()
- Specified by:
isScrollable
in interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
getColumnCount
public int getColumnCount()
Returns the column count from the result set.- Specified by:
getColumnCount
in interfaceorg.pentaho.commons.connection.IPentahoResultSet
- Returns:
- the column count.
-
getRowCount
public int getRowCount()
Get a rowCount from the resultset. If the resultset- Specified by:
getRowCount
in interfaceorg.pentaho.commons.connection.IPentahoResultSet
- 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.- Specified by:
getValueAt
in interfaceorg.pentaho.commons.connection.IPentahoResultSet
- Parameters:
row
- the row index.column
- the column index.- Returns:
- the value.
-
memoryCopy
public org.pentaho.commons.connection.IPentahoResultSet memoryCopy()
- Specified by:
memoryCopy
in interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
beforeFirst
public void beforeFirst()
- Specified by:
beforeFirst
in interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
getDataColumn
public Object[] getDataColumn(int column)
- Specified by:
getDataColumn
in interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
getDataRow
public Object[] getDataRow(int row)
- Specified by:
getDataRow
in interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
-