Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.google.appengine.api.datastore
Class FetchOptions.Builder

    java.lang.Object
      com.google.appengine.api.datastore.FetchOptions.Builder

Enclosing class:
  FetchOptions

    public static final class FetchOptions.Builder

extends java.lang.Object

Contains static creation methods for `FetchOptions`.

Method Summary
`static FetchOptions` | `withChunkSize(int chunkSize)` Create a `FetchOptions` with the given chunk size.
`static FetchOptions` | `withLimit(int limit)` Create a `FetchOptions` with the given limit.
`static FetchOptions` | `withOffset(int offset)` Create a `FetchOptions` with the given offset.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### withLimit

    public static FetchOptions withLimit(int limit)

  Create a `FetchOptions` with the given limit. Shorthand for `new FetchOptions().limit(5);` Please read the `FetchOptions` class javadoc for an explanation of how limit is used.

  Parameters:
    `limit` - the limit to set.
  Returns:
    The newly created FetchOptions instance.

### withOffset

    public static FetchOptions withOffset(int offset)

  Create a `FetchOptions` with the given offset. Shorthand for `new FetchOptions().offset(5);` Please read the `FetchOptions` class javadoc for an explanation of how offset is used.

  Parameters:
    `offset` - the offset to set.
  Returns:
    The newly created FetchOptions instance.

### withChunkSize

    public static FetchOptions withChunkSize(int chunkSize)

  Create a `FetchOptions` with the given chunk size. Shorthand for `new FetchOptions().chunkSize(5);` Please read the `FetchOptions` class javadoc for an explanation of how chunk size is used.

  Parameters:
    `chunkSize` - the chunkSize to set.
  Returns:
    The newly created FetchOptions instance.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD