public class StatelessScrollableDataIterator extends AbstractScrollableDataIterator
StatelessSession
.Modifier and Type | Field and Description |
---|---|
protected org.hibernate.StatelessSession |
session |
protected org.hibernate.Transaction |
transaction |
entityName, fetchSize, from, hQuery, perfromOrderById, sessionFactory, size, sqlQuery
Constructor and Description |
---|
StatelessScrollableDataIterator(SQLQuery sqlQuery,
org.hibernate.SessionFactory sessionFactory,
int fetchSize,
boolean performOrderById)
Constructs a scrollable iterator over the given GigaSpaces
SQLQuery . |
StatelessScrollableDataIterator(SQLQuery sqlQuery,
org.hibernate.SessionFactory sessionFactory,
int fetchSize,
boolean performOrderById,
int from,
int size)
Constructs a scrollable iterator over the given GigaSpaces
SQLQuery . |
StatelessScrollableDataIterator(String hQuery,
org.hibernate.SessionFactory sessionFactory,
int fetchSize)
Constructs a scrollable iterator over the given hibernate query string.
|
StatelessScrollableDataIterator(String entityName,
org.hibernate.SessionFactory sessionFactory,
int fetchSize,
boolean performOrderById)
Constructs a scrollable iterator over the given entity name.
|
StatelessScrollableDataIterator(String entityName,
org.hibernate.SessionFactory sessionFactory,
int fetchSize,
boolean performOrderById,
int from,
int size)
Constructs a scrollable iterator over the given entity name.
|
StatelessScrollableDataIterator(String hQuery,
org.hibernate.SessionFactory sessionFactory,
int fetchSize,
int from,
int size)
Constructs a scrollable iterator over the given hibernate query string.
|
Modifier and Type | Method and Description |
---|---|
protected void |
clear() |
protected org.hibernate.ScrollableResults |
createCursor() |
protected void |
doClose() |
close, hasNext, next, remove
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
protected org.hibernate.StatelessSession session
protected org.hibernate.Transaction transaction
public StatelessScrollableDataIterator(String entityName, org.hibernate.SessionFactory sessionFactory, int fetchSize, boolean performOrderById)
entityName
- The entity name to scroll oversessionFactory
- The session factory to use to construct the sessionfetchSize
- The fetch size of the scrollabale result setperformOrderById
- Should the query perform order by id or notpublic StatelessScrollableDataIterator(String entityName, org.hibernate.SessionFactory sessionFactory, int fetchSize, boolean performOrderById, int from, int size)
entityName
- The entity name to scroll oversessionFactory
- The session factory to use to constrcut the sessionfetchSize
- The fetch size of the scrollable result setperformOrderById
- Should the query perform order by id or notfrom
- The from index to scroll fromsize
- The size of data to scroll topublic StatelessScrollableDataIterator(SQLQuery sqlQuery, org.hibernate.SessionFactory sessionFactory, int fetchSize, boolean performOrderById)
SQLQuery
.sqlQuery
- The SQLQuery
to scroll oversessionFactory
- The session factory to use to construct the sessionfetchSize
- The fetch size of the scrollabale result setperformOrderById
- Should the query perform order by id or notpublic StatelessScrollableDataIterator(SQLQuery sqlQuery, org.hibernate.SessionFactory sessionFactory, int fetchSize, boolean performOrderById, int from, int size)
SQLQuery
.sqlQuery
- The SQLQuery
to scroll oversessionFactory
- The session factory to use to constrcut the sessionfetchSize
- The fetch size of the scrollable result setperformOrderById
- Should the query perform order by id or notfrom
- The from index to scroll fromsize
- The size of data to scroll topublic StatelessScrollableDataIterator(String hQuery, org.hibernate.SessionFactory sessionFactory, int fetchSize)
hQuery
- The hiberante query string to scroll oversessionFactory
- The session factory to use to construct the sessionfetchSize
- The fetch size of the scrollabale result setpublic StatelessScrollableDataIterator(String hQuery, org.hibernate.SessionFactory sessionFactory, int fetchSize, int from, int size)
hQuery
- The hiberante query string to scroll oversessionFactory
- The session factory to use to constrcut the sessionfetchSize
- The fetch size of the scrollable result setfrom
- The from index to scroll fromsize
- The size of data to scroll toprotected void doClose()
doClose
in class AbstractScrollableDataIterator
protected void clear()
clear
in class AbstractScrollableDataIterator
protected org.hibernate.ScrollableResults createCursor()
createCursor
in class AbstractScrollableDataIterator
Copyright © GigaSpaces.