public static interface ResultsStream.QueryBuilder<T>
ResultsStream with customized fetching strategy.| Modifier and Type | Method and Description |
|---|---|
ResultsStream<T> |
executeQuery()
Builds the query and constructs the
ResultsStream from underlying org.hibernate.ScrollableResults object. |
ResultsStream.QueryBuilder<T> |
fetchSize(int fetchSize)
Set a fetch size for the underlying JDBC query.
|
ResultsStream.QueryBuilder<T> fetchSize(int fetchSize)
fetchSize - number of items to fetchResultsStream<T> executeQuery()
ResultsStream from underlying org.hibernate.ScrollableResults object.Copyright © 2017 JBoss by Red Hat. All rights reserved.