org.infinispan.query
Class FetchOptions
java.lang.Object
org.infinispan.query.FetchOptions
public class FetchOptions
- extends Object
- Author:
- Marko Luksa
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FetchOptions
public FetchOptions()
fetchMode
public FetchOptions fetchMode(FetchOptions.FetchMode fetchMode)
- Set the fetch mode to be used to fetch matching results
- Parameters:
fetchMode
-
- Returns:
this
to allow method chaining
fetchSize
public FetchOptions fetchSize(int fetchSize)
- Set the fetch size for batch loading of matches
- Parameters:
fetchSize
-
- Returns:
this
to allow method chaining
getFetchMode
public FetchOptions.FetchMode getFetchMode()
- Returns:
- the selected fetch mode
getFetchSize
public int getFetchSize()
- Returns:
- the used fetch size
Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.