Modifier and Type | Class and Description |
---|---|
private class |
ScrollableIterable.ScrollableIterator |
Modifier and Type | Field and Description |
---|---|
private Iterator<T> |
iterator |
private org.hibernate.ScrollableResults |
results |
Constructor and Description |
---|
ScrollableIterable(org.hibernate.ScrollableResults results) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
static <T> ScrollableIterable<T> |
fromCriteria(org.hibernate.Criteria c) |
static <T> ScrollableIterable<T> |
fromResults(org.hibernate.ScrollableResults sr) |
Iterator<T> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public ScrollableIterable(org.hibernate.ScrollableResults results)
public static <T> ScrollableIterable<T> fromResults(org.hibernate.ScrollableResults sr)
public static <T> ScrollableIterable<T> fromCriteria(org.hibernate.Criteria c)
public void close()
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2012-2015 52north.org. All Rights Reserved.