|
GigaSpaces XAP 10.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openspaces.persistency.hibernate.iterator.AbstractScrollableDataIterator
org.openspaces.persistency.hibernate.iterator.StatelessScrollableDataIterator
public class StatelessScrollableDataIterator
A stateless scrollable result based on Hibernate StatelessSession.
| Field Summary | |
|---|---|
protected org.hibernate.StatelessSession |
session
|
protected org.hibernate.Transaction |
transaction
|
| Fields inherited from class org.openspaces.persistency.hibernate.iterator.AbstractScrollableDataIterator |
|---|
entityName, fetchSize, from, hQuery, perfromOrderById, sessionFactory, size, sqlQuery |
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
protected void |
clear()
|
protected org.hibernate.ScrollableResults |
createCursor()
|
protected void |
doClose()
|
| Methods inherited from class org.openspaces.persistency.hibernate.iterator.AbstractScrollableDataIterator |
|---|
close, hasNext, next, remove |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.hibernate.StatelessSession session
protected org.hibernate.Transaction transaction
| Constructor Detail |
|---|
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 not
public 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 to
public 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 not
public 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 to
public 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 set
public 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 to| Method Detail |
|---|
protected void doClose()
doClose in class AbstractScrollableDataIteratorprotected void clear()
clear in class AbstractScrollableDataIteratorprotected org.hibernate.ScrollableResults createCursor()
createCursor in class AbstractScrollableDataIterator
|
GigaSpaces XAP 10.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||