public class JRHibernateIterateDataSource extends JRHibernateAbstractDataSource implements JRRewindableDataSource
org.hibernate.Query.iterate().JRHibernateAbstractDataSource.FieldReader, JRHibernateAbstractDataSource.IdentityFieldReader, JRHibernateAbstractDataSource.IndexFieldReader, JRHibernateAbstractDataSource.IndexPropertyFieldReader, JRHibernateAbstractDataSource.PropertyFieldReaderqueryExecuter| Constructor and Description |
|---|
JRHibernateIterateDataSource(JRHibernateQueryExecuter queryExecuter,
boolean useFieldDescription) |
| Modifier and Type | Method and Description |
|---|---|
void |
moveFirst()
Moves back to the first element in the data source.
|
boolean |
next()
Tries to position the cursor on the next element in the data source.
|
assignReaders, getFieldMapping, getFieldReader, getFieldReaderSingleReturn, getFieldValue, setCurrentRowValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFieldValuepublic JRHibernateIterateDataSource(JRHibernateQueryExecuter queryExecuter, boolean useFieldDescription)
public boolean next()
throws JRException
JRDataSourcenext in interface JRDataSourceJRException - if any error occurs while trying to move to the next elementpublic void moveFirst()
JRRewindableDataSourcemoveFirst in interface JRRewindableDataSourceCopyright © 2015. All rights reserved.