public interface SearchLoadingOptionsStep
SearchQueryOptionsStep.loading(Consumer),
allowing the definition of loading options (fetch size, cache lookups, ...).| Modifier and Type | Method and Description |
|---|---|
SearchLoadingOptionsStep |
cacheLookupStrategy(EntityLoadingCacheLookupStrategy strategy)
Set the strategy for cache lookup before query results are loaded.
|
SearchLoadingOptionsStep |
fetchSize(int fetchSize)
Set the JDBC fetch size for this query.
|
SearchLoadingOptionsStep fetchSize(int fetchSize)
fetchSize - The fetch size. Must be positive or zero.this for method chaining.Query.setFetchSize(int)SearchLoadingOptionsStep cacheLookupStrategy(EntityLoadingCacheLookupStrategy strategy)
strategy - The strategy.this for method chaining.Copyright © 2006-2020 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.