public interface ApolloMutationCall<T> extends ApolloCall<T>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ApolloMutationCall.Factory
Factory for creating
ApolloMutationCall calls. |
ApolloCall.Callback<T>| Modifier and Type | Method and Description |
|---|---|
ApolloMutationCall<T> |
cacheHeaders(CacheHeaders cacheHeaders)
Sets the
CacheHeaders to use for this call. |
ApolloMutationCall<T> |
clone()
Creates a new, identical call to this one which can be enqueued or executed even if this call has already been.
|
ApolloMutationCall<T> |
refetchQueries(com.apollographql.apollo.api.OperationName... operationNames)
Sets a list of
ApolloQueryWatcher query names to be re-fetched once this mutation completed. |
ApolloMutationCall<T> |
refetchQueries(com.apollographql.apollo.api.Query... queries)
Sets a list of
Query to be re-fetched once this mutation completed. |
cacheControl, enqueue, execute, operationcancel, isCanceled@Nonnull ApolloMutationCall<T> refetchQueries(@Nonnull com.apollographql.apollo.api.OperationName... operationNames)
Sets a list of ApolloQueryWatcher query names to be re-fetched once this mutation completed.
operationNames - array of OperationName query names to be re-fetchedApolloMutationCall that will trigger re-fetching provided queries@Nonnull ApolloMutationCall<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-fetchedApolloMutationCall that will trigger re-fetching provided queries@Nonnull ApolloMutationCall<T> cacheHeaders(@Nonnull CacheHeaders cacheHeaders)
ApolloCallCacheHeaders to use for this call.cacheHeaders in interface ApolloCall<T>cacheHeaders - the CacheHeaders that will be passed with records generated from this request to NormalizedCache. Standardized cache headers are
defined in ApolloCacheHeaders.CacheHeaders.@Nonnull ApolloMutationCall<T> clone()
ApolloCallclone in interface ApolloCall<T>