GigaSpaces XAP 7.0 API

com.gigaspaces.datasource.hibernate
Class HibernateDataIterator<T>

java.lang.Object
  extended by com.gigaspaces.datasource.hibernate.HibernateDataIterator<T>
All Implemented Interfaces:
DataIterator<T>, Iterator<T>

Deprecated. use org.openspaces.persistency.hibernate package instead

@Deprecated
public class HibernateDataIterator<T>
extends Object
implements DataIterator<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.

Since:
6.0
Version:
1.0

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

_iter

protected final Iterator _iter
Deprecated. 

_session

protected final org.hibernate.Session _session
Deprecated. 

_tx

protected final org.hibernate.Transaction _tx
Deprecated. 
Constructor Detail

HibernateDataIterator

public HibernateDataIterator(Iterator iter,
                             org.hibernate.Session session,
                             org.hibernate.Transaction tx)
Deprecated. 
Method Detail

hasNext

public boolean hasNext()
Deprecated. 
Specified by:
hasNext in interface Iterator<T>

next

public T next()
Deprecated. 
Specified by:
next in interface Iterator<T>

remove

public void remove()
Deprecated. 
Specified by:
remove in interface Iterator<T>

close

public void close()
Deprecated. 
Description copied from interface: DataIterator
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.

Specified by:
close in interface DataIterator<T>

GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.