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
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionHQLResultSet(List list, String[] columnNames, org.hibernate.type.Type[] columnTypes) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclose()voidvoiddispose()intReturns the column count from the result set.Object[]getDataColumn(int column) Object[]getDataRow(int row) org.pentaho.commons.connection.IPentahoMetaDataintGet a rowCount from the resultset.getValueAt(int row, int column) Returns the value of the specified row and the specified column from within the resultset.booleanorg.pentaho.commons.connection.IPentahoResultSetObject[]next()Object[]peek()voidsetMetaData(org.pentaho.commons.connection.IPentahoMetaData metadata)
-
Field Details
-
peekRow
-
-
Constructor Details
-
HQLResultSet
-
-
Method Details
-
setMetaData
public void setMetaData(org.pentaho.commons.connection.IPentahoMetaData metadata) -
getMetaData
public org.pentaho.commons.connection.IPentahoMetaData getMetaData()- Specified by:
getMetaDatain interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
peek
- Specified by:
peekin interfaceorg.pentaho.commons.connection.IPeekable
-
next
- Specified by:
nextin interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
closeConnection
public void closeConnection()- Specified by:
closeConnectionin interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
close
public void close()- Specified by:
closein interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
dispose
public void dispose()- Specified by:
disposein interfaceorg.pentaho.commons.connection.IDisposable
-
isScrollable
public boolean isScrollable()- Specified by:
isScrollablein interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
getColumnCount
public int getColumnCount()Returns the column count from the result set.- Specified by:
getColumnCountin interfaceorg.pentaho.commons.connection.IPentahoResultSet- Returns:
- the column count.
-
getRowCount
public int getRowCount()Get a rowCount from the resultset. If the resultset- Specified by:
getRowCountin interfaceorg.pentaho.commons.connection.IPentahoResultSet- Returns:
- the row count.
-
getValueAt
Returns the value of the specified row and the specified column from within the resultset.- Specified by:
getValueAtin 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:
memoryCopyin interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
beforeFirst
public void beforeFirst()- Specified by:
beforeFirstin interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
getDataColumn
- Specified by:
getDataColumnin interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
getDataRow
- Specified by:
getDataRowin interfaceorg.pentaho.commons.connection.IPentahoResultSet
-