public class DefaultCriteriaByExampleDataIterator extends Object implements DataIterator
Modifier and Type | Field and Description |
---|---|
protected org.hibernate.Session |
session |
protected org.hibernate.SessionFactory |
sessionFactory |
protected Object |
template |
protected org.hibernate.Transaction |
transaction |
Constructor and Description |
---|
DefaultCriteriaByExampleDataIterator(Object template,
org.hibernate.SessionFactory sessionFactory) |
Modifier and Type | Method and Description |
---|---|
void |
close()
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.
|
protected Iterator |
createIterator() |
boolean |
hasNext() |
Object |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
protected final Object template
protected final org.hibernate.SessionFactory sessionFactory
protected org.hibernate.Transaction transaction
protected org.hibernate.Session session
public DefaultCriteriaByExampleDataIterator(Object template, org.hibernate.SessionFactory sessionFactory)
public void close()
DataIterator
close
in interface DataIterator
protected Iterator createIterator()
Copyright © GigaSpaces.