Uses of Class
com.google.appengine.api.datastore.FetchOptions
Packages that use FetchOptions
Package
Description
-
Uses of FetchOptions in com.google.appengine.api.datastore
Methods in com.google.appengine.api.datastore that return FetchOptionsModifier and TypeMethodDescriptionFetchOptions.chunkSize
(int chunkSize) Sets the chunk size.Deprecated.Sets the cursor at which to end the query.FetchOptions.limit
(int limit) Sets the limit.FetchOptions.offset
(int offset) Sets the offset.FetchOptions.prefetchSize
(int prefetchSize) Sets the number of entities to prefetch.FetchOptions.startCursor
(Cursor startCursor) Sets the cursor at which to start the query.static FetchOptions
FetchOptions.Builder.withChunkSize
(int chunkSize) Create aFetchOptions
with the given chunk size.static FetchOptions
FetchOptions.Builder.withCursor
(Cursor cursor) Deprecated.static FetchOptions
FetchOptions.Builder.withDefaults()
Helper method for creating aFetchOptions
instance with default values.static FetchOptions
FetchOptions.Builder.withEndCursor
(Cursor endCursor) Create aFetchOptions
with the given end cursor.static FetchOptions
FetchOptions.Builder.withLimit
(int limit) Create aFetchOptions
with the given limit.static FetchOptions
FetchOptions.Builder.withOffset
(int offset) Create aFetchOptions
with the given offset.static FetchOptions
FetchOptions.Builder.withPrefetchSize
(int prefetchSize) Create aFetchOptions
with the given prefetch size.static FetchOptions
FetchOptions.Builder.withStartCursor
(Cursor startCursor) Create aFetchOptions
with the given start cursor.Methods in com.google.appengine.api.datastore with parameters of type FetchOptionsModifier and TypeMethodDescriptionPreparedQuery.asIterable
(FetchOptions fetchOptions) PreparedQuery.asIterator
(FetchOptions fetchOptions) PreparedQuery.asList
(FetchOptions fetchOptions) PreparedQuery.asQueryResultIterable
(FetchOptions fetchOptions) Similar toPreparedQuery.asIterable(FetchOptions)
except aQueryResultIterable
is returned.PreparedQuery.asQueryResultIterator
(FetchOptions fetchOptions) Similar toPreparedQuery.asIterator(FetchOptions)
except aQueryResultIterator
is returned.PreparedQuery.asQueryResultList
(FetchOptions fetchOptions) Similar toPreparedQuery.asList(com.google.appengine.api.datastore.FetchOptions)
except aQueryResultIterator
is returned.int
PreparedQuery.countEntities
(FetchOptions fetchOptions)
startCursor
instead.