|
GigaSpaces XAP 7.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.gigaspaces.datasource.hibernate.HibernateDataIterator<T>
@Deprecated public class HibernateDataIterator<T>
This class used to fetch data from the database using an iterator. This allows the space to load only the necessary data a query is called or when there are multiple candidates for a match.
| Field Summary | |
|---|---|
protected Iterator |
_iter
Deprecated. |
protected org.hibernate.Session |
_session
Deprecated. |
protected org.hibernate.Transaction |
_tx
Deprecated. |
| Constructor Summary | |
|---|---|
HibernateDataIterator(Iterator iter,
org.hibernate.Session session,
org.hibernate.Transaction tx)
Deprecated. |
|
| Method Summary | |
|---|---|
void |
close()
Deprecated. Clean up after any resources associated with this iterator The iterator can be closed even if the iterator wasn't iterated over all of its elements. |
boolean |
hasNext()
Deprecated. |
T |
next()
Deprecated. |
void |
remove()
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final Iterator _iter
protected final org.hibernate.Session _session
protected final org.hibernate.Transaction _tx
| Constructor Detail |
|---|
public HibernateDataIterator(Iterator iter,
org.hibernate.Session session,
org.hibernate.Transaction tx)
| Method Detail |
|---|
public boolean hasNext()
hasNext in interface Iterator<T>public T next()
next in interface Iterator<T>public void remove()
remove in interface Iterator<T>public void close()
DataIterator
close in interface DataIterator<T>
|
GigaSpaces XAP 7.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||