|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.appengine.api.datastore.FetchOptions.Builder
public static final class FetchOptions.Builder
Contains static creation methods for FetchOptions
.
Method Summary | |
---|---|
static FetchOptions |
withChunkSize(int chunkSize)
Create a FetchOptions with the given chunk size. |
static FetchOptions |
withCursor(Cursor cursor)
Create a FetchOptions with the given cursor. |
static FetchOptions |
withLimit(int limit)
Create a FetchOptions with the given limit. |
static FetchOptions |
withOffset(int offset)
Create a FetchOptions with the given offset. |
static FetchOptions |
withPrefetchSize(int prefetchSize)
Create a FetchOptions with the given prefetch size. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static FetchOptions withLimit(int limit)
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.
limit
- the limit to set.
public static FetchOptions withOffset(int offset)
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.
offset
- the offset to set.
public static FetchOptions withChunkSize(int chunkSize)
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.
chunkSize
- the chunkSize to set.
public static FetchOptions withPrefetchSize(int prefetchSize)
FetchOptions
with the given prefetch size.
Shorthand for new FetchOptions().prefetchSize(5);
Please
read the FetchOptions
class javadoc for an explanation of how
prefetch size is used.
prefetchSize
- the prefetchSize to set.
public static FetchOptions withCursor(Cursor cursor)
FetchOptions
with the given cursor.
Shorthand for new FetchOptions().cursor(cursor);
Please
read the FetchOptions
class javadoc for an explanation of how
cursors are used.
cursor
- the cursor to set.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |