public interface AppSyncMutationCall<T> extends GraphQLCall<T>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
AppSyncMutationCall.Factory
Factory for creating
AppSyncMutationCall calls. |
GraphQLCall.Callback<T>, GraphQLCall.StatusEvent| Modifier and Type | Method and Description |
|---|---|
AppSyncMutationCall<T> |
cacheHeaders(CacheHeaders cacheHeaders)
Sets the
CacheHeaders to use for this call. |
AppSyncMutationCall<T> |
clone()
Creates a new, identical call to this one which can be enqueued or executed even if this call has already been.
|
AppSyncMutationCall<T> |
refetchQueries(com.apollographql.apollo.api.OperationName... operationNames)
Sets a list of
AppSyncQueryWatcher query names to be re-fetched once this mutation completed. |
AppSyncMutationCall<T> |
refetchQueries(com.apollographql.apollo.api.Query... queries)
Sets a list of
Query to be re-fetched once this mutation completed. |
cancel, enqueue, operationisCanceled@Nonnull AppSyncMutationCall<T> refetchQueries(@Nonnull com.apollographql.apollo.api.OperationName... operationNames)
Sets a list of AppSyncQueryWatcher query names to be re-fetched once this mutation completed.
operationNames - array of OperationName query names to be re-fetchedAppSyncMutationCall that will trigger re-fetching provided queries@Nonnull AppSyncMutationCall<T> refetchQueries(@Nonnull com.apollographql.apollo.api.Query... queries)
Sets a list of Query to be re-fetched once this mutation completed.
queries - array of Query to be re-fetchedAppSyncMutationCall that will trigger re-fetching provided queries@Nonnull AppSyncMutationCall<T> cacheHeaders(@Nonnull CacheHeaders cacheHeaders)
GraphQLCallCacheHeaders to use for this call. com.apollographql.apollo.interceptor.FetchOptions will
be configured with this headers, and will be accessible from the ResponseFetcher used for this call.cacheHeaders in interface GraphQLCall<T>cacheHeaders - the CacheHeaders that will be passed with records generated from this request to NormalizedCache. Standardized cache headers are
defined in GraphQLCacheHeaders.CacheHeaders.@Nonnull AppSyncMutationCall<T> clone()
GraphQLCallclone in interface GraphQLCall<T>