public class FetchOptions extends Object
Modifier and Type | Class and Description |
---|---|
static class |
FetchOptions.FetchMode
Specifies the fetching strategy
for query results.
|
Constructor and Description |
---|
FetchOptions() |
Modifier and Type | Method and Description |
---|---|
FetchOptions |
fetchMode(FetchOptions.FetchMode fetchMode)
Set the fetch mode to be used to fetch matching results
|
FetchOptions |
fetchSize(int fetchSize)
Set the fetch size for batch loading of matches
|
FetchOptions.FetchMode |
getFetchMode() |
int |
getFetchSize() |
public FetchOptions fetchMode(FetchOptions.FetchMode fetchMode)
fetchMode
- this
to allow method chainingpublic FetchOptions fetchSize(int fetchSize)
fetchSize
- this
to allow method chainingpublic FetchOptions.FetchMode getFetchMode()
public int getFetchSize()
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.