Package io.jmix.reports.libintegration
Class JpqlDataLoader.JpqlRowIterator
java.lang.Object
io.jmix.reports.libintegration.JpqlDataLoader.JpqlRowIterator
- Enclosing class:
JpqlDataLoader
protected class JpqlDataLoader.JpqlRowIterator
extends Object
implements Iterator<Map<String,Object>>
Lazy iterator over an EclipseLink CursoredStream; wraps entities into EntityMap, scalars via OutputValue.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.eclipse.persistence.queries.CursoredStreamprotected final jakarta.persistence.EntityManagerprotected @Nullable BooleanEntity-vs-scalar shape, decided once from the first row like the batchJpqlDataLoader.loadData(io.jmix.reports.yarg.structure.ReportQuery, io.jmix.reports.yarg.structure.BandData, java.util.Map<java.lang.String, java.lang.Object>).protected final List<AbstractDbDataLoader.OutputValue> protected long -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJpqlRowIterator(org.eclipse.persistence.queries.CursoredStream cursor, jakarta.persistence.EntityManager entityManager, List<AbstractDbDataLoader.OutputValue> outputParameters) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Field Details
-
cursor
protected final org.eclipse.persistence.queries.CursoredStream cursor -
entityManager
protected final jakarta.persistence.EntityManager entityManager -
outputParameters
-
rowsRead
protected long rowsRead -
entityRows
Entity-vs-scalar shape, decided once from the first row like the batchJpqlDataLoader.loadData(io.jmix.reports.yarg.structure.ReportQuery, io.jmix.reports.yarg.structure.BandData, java.util.Map<java.lang.String, java.lang.Object>).
-
-
Constructor Details
-
JpqlRowIterator
protected JpqlRowIterator(org.eclipse.persistence.queries.CursoredStream cursor, jakarta.persistence.EntityManager entityManager, List<AbstractDbDataLoader.OutputValue> outputParameters)
-
-
Method Details