Skip navigation links
A B C D E F G H I K L M N O P Q R S T U V W 

A

activeCallsCount() - Method in class com.apollographql.apollo.ApolloClient
Returns the count of ApolloCall & ApolloPrefetch objects which are currently in progress.
activeCallsCount() - Method in class com.apollographql.apollo.internal.ApolloCallTracker
Returns a total count of in progress ApolloCall & ApolloPrefetch objects.
addApplicationInterceptor(ApolloInterceptor) - Method in class com.apollographql.apollo.ApolloClient.Builder
Adds an interceptor that observes the full span of each call: from before the connection is established until after the response source is selected (either the server, cache or both).
addCustomTypeAdapter(ScalarType, CustomTypeAdapter<T>) - Method in class com.apollographql.apollo.ApolloClient.Builder
Set the type adapter to use for serializing and de-serializing custom GraphQL scalar types.
addField(String, Object) - Method in class com.apollographql.apollo.cache.normalized.Record.Builder
 
addFields(Map<String, Object>) - Method in class com.apollographql.apollo.cache.normalized.Record.Builder
 
addHeader(String, String) - Method in class com.apollographql.apollo.cache.CacheHeaders.Builder
 
addHeader(String, String) - Method in class com.apollographql.apollo.request.RequestHeaders.Builder
 
addHeaders(Map<String, String>) - Method in class com.apollographql.apollo.cache.CacheHeaders.Builder
 
addHeaders(Map<String, String>) - Method in class com.apollographql.apollo.request.RequestHeaders.Builder
 
addOnStateChangeListener(OnSubscriptionManagerStateChangeListener) - Method in class com.apollographql.apollo.internal.subscription.NoOpSubscriptionManager
 
addOnStateChangeListener(OnSubscriptionManagerStateChangeListener) - Method in class com.apollographql.apollo.internal.subscription.RealSubscriptionManager
 
addOnStateChangeListener(OnSubscriptionManagerStateChangeListener) - Method in interface com.apollographql.apollo.internal.subscription.SubscriptionManager
Adds new listener for subscription manager state changes.
addOnSubscriptionManagerStateChangeListener(OnSubscriptionManagerStateChangeListener) - Method in class com.apollographql.apollo.ApolloClient
Adds new listener for subscription manager state changes.
allRecords() - Method in class com.apollographql.apollo.cache.normalized.RecordSet
 
ApolloAutoPersistedQueryInterceptor - Class in com.apollographql.apollo.internal.interceptor
 
ApolloAutoPersistedQueryInterceptor(ApolloLogger, boolean) - Constructor for class com.apollographql.apollo.internal.interceptor.ApolloAutoPersistedQueryInterceptor
 
ApolloCacheHeaders - Class in com.apollographql.apollo.cache
A collection of cache headers that Apollo's implementations of NormalizedCache respect.
ApolloCacheHeaders() - Constructor for class com.apollographql.apollo.cache.ApolloCacheHeaders
 
ApolloCacheInterceptor - Class in com.apollographql.apollo.internal.interceptor
ApolloCacheInterceptor is a concrete ApolloInterceptor responsible for serving requests from the normalized cache if InterceptorRequest#fetchFromCache is true.
ApolloCacheInterceptor(ApolloStore, ResponseFieldMapper, Executor, ApolloLogger) - Constructor for class com.apollographql.apollo.internal.interceptor.ApolloCacheInterceptor
 
ApolloCall<T> - Interface in com.apollographql.apollo
ApolloCall is an abstraction for a request that has been prepared for execution.
ApolloCall.Callback<T> - Class in com.apollographql.apollo
Communicates responses from a server or offline requests.
ApolloCall.StatusEvent - Enum in com.apollographql.apollo
Represents a status event that corresponds to a ApolloCall action
ApolloCallTracker - Class in com.apollographql.apollo.internal
ApolloCallTracker is responsible for keeping track of running ApolloPrefetch & ApolloQueryCall & ApolloMutationCall & ApolloQueryWatcher calls.
ApolloCallTracker() - Constructor for class com.apollographql.apollo.internal.ApolloCallTracker
 
ApolloCanceledException - Exception in com.apollographql.apollo.exception
 
ApolloCanceledException(String) - Constructor for exception com.apollographql.apollo.exception.ApolloCanceledException
 
ApolloCanceledException(String, Throwable) - Constructor for exception com.apollographql.apollo.exception.ApolloCanceledException
 
ApolloClient - Class in com.apollographql.apollo
ApolloClient class represents the abstraction for the graphQL client that will be used to execute queries and read the responses back.
ApolloClient.Builder - Class in com.apollographql.apollo
 
ApolloException - Exception in com.apollographql.apollo.exception
 
ApolloException(String) - Constructor for exception com.apollographql.apollo.exception.ApolloException
 
ApolloException(String, Throwable) - Constructor for exception com.apollographql.apollo.exception.ApolloException
 
ApolloHttpException - Exception in com.apollographql.apollo.exception
 
ApolloHttpException(Response) - Constructor for exception com.apollographql.apollo.exception.ApolloHttpException
 
ApolloInterceptor - Interface in com.apollographql.apollo.interceptor
ApolloInterceptor is responsible for observing and modifying the requests going out and the corresponding responses coming back in.
ApolloInterceptor.CallBack - Interface in com.apollographql.apollo.interceptor
Handles the responses returned by ApolloInterceptor
ApolloInterceptor.FetchSourceType - Enum in com.apollographql.apollo.interceptor
Fetch source type
ApolloInterceptor.InterceptorRequest - Class in com.apollographql.apollo.interceptor
Request to be proceed with ApolloInterceptor
ApolloInterceptor.InterceptorRequest.Builder - Class in com.apollographql.apollo.interceptor
 
ApolloInterceptor.InterceptorResponse - Class in com.apollographql.apollo.interceptor
InterceptorResponse class represents the response returned by the ApolloInterceptor.
ApolloInterceptorChain - Interface in com.apollographql.apollo.interceptor
ApolloInterceptorChain is responsible for building chain of ApolloInterceptor .
ApolloJsonReader - Class in com.apollographql.apollo.internal.json
 
ApolloJsonReader() - Constructor for class com.apollographql.apollo.internal.json.ApolloJsonReader
 
ApolloMutationCall<T> - Interface in com.apollographql.apollo
A call prepared to execute GraphQL mutation operation.
ApolloMutationCall.Factory - Interface in com.apollographql.apollo
Factory for creating ApolloMutationCall calls.
ApolloNetworkException - Exception in com.apollographql.apollo.exception
 
ApolloNetworkException(String) - Constructor for exception com.apollographql.apollo.exception.ApolloNetworkException
 
ApolloNetworkException(String, Throwable) - Constructor for exception com.apollographql.apollo.exception.ApolloNetworkException
 
ApolloParseException - Exception in com.apollographql.apollo.exception
 
ApolloParseException(String) - Constructor for exception com.apollographql.apollo.exception.ApolloParseException
 
ApolloParseException(String, Throwable) - Constructor for exception com.apollographql.apollo.exception.ApolloParseException
 
ApolloParseInterceptor - Class in com.apollographql.apollo.internal.interceptor
ApolloParseInterceptor is a concrete ApolloInterceptor responsible for inflating the http responses into models.
ApolloParseInterceptor(HttpCache, ResponseNormalizer<Map<String, Object>>, ResponseFieldMapper, ScalarTypeAdapters, ApolloLogger) - Constructor for class com.apollographql.apollo.internal.interceptor.ApolloParseInterceptor
 
ApolloPrefetch - Interface in com.apollographql.apollo
ApolloPrefetch is an abstraction for a request that has been prepared for execution.
ApolloPrefetch.Callback - Class in com.apollographql.apollo
Communicates responses from the server.
ApolloPrefetch.Factory - Interface in com.apollographql.apollo
Factory for creating ApolloPrefetch object.
ApolloQueryCall<T> - Interface in com.apollographql.apollo
A call prepared to execute GraphQL query operation.
ApolloQueryCall.Factory - Interface in com.apollographql.apollo
Factory for creating ApolloQueryCall calls.
ApolloQueryWatcher<T> - Interface in com.apollographql.apollo
 
ApolloResponseFetchers - Class in com.apollographql.apollo.fetcher
 
ApolloResponseFetchers() - Constructor for class com.apollographql.apollo.fetcher.ApolloResponseFetchers
 
ApolloServerInterceptor - Class in com.apollographql.apollo.internal.interceptor
ApolloServerInterceptor is a concrete ApolloInterceptor responsible for making the network calls to the server.
ApolloServerInterceptor(HttpUrl, Call.Factory, HttpCachePolicy.Policy, boolean, ScalarTypeAdapters, ApolloLogger) - Constructor for class com.apollographql.apollo.internal.interceptor.ApolloServerInterceptor
 
apolloStore() - Method in class com.apollographql.apollo.ApolloClient
 
ApolloStore - Interface in com.apollographql.apollo.cache.normalized
ApolloStore exposes a thread-safe api to access a NormalizedCache.
apolloStore(ApolloStore) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
 
ApolloStore.RecordChangeSubscriber - Interface in com.apollographql.apollo.cache.normalized
Listens to changed record keys dispatched via ApolloStore.publish(Set).
ApolloStoreOperation<T> - Class in com.apollographql.apollo.cache.normalized
Apollo store operation to be performed.
ApolloStoreOperation(Executor) - Constructor for class com.apollographql.apollo.cache.normalized.ApolloStoreOperation
 
ApolloStoreOperation.Callback<T> - Interface in com.apollographql.apollo.cache.normalized
Operation result callback
ApolloSubscriptionCall<T> - Interface in com.apollographql.apollo
ApolloSubscriptionCall is an abstraction for a request that has been prepared for subscription.
ApolloSubscriptionCall.CachePolicy - Enum in com.apollographql.apollo
Subscription normalized cache policy.
ApolloSubscriptionCall.Callback<T> - Interface in com.apollographql.apollo
Communicates responses from a subscription server.
ApolloSubscriptionCall.Factory - Interface in com.apollographql.apollo
Factory for creating ApolloSubscriptionCall calls.
ApolloSubscriptionException - Exception in com.apollographql.apollo.internal.subscription
 
ApolloSubscriptionException(String) - Constructor for exception com.apollographql.apollo.internal.subscription.ApolloSubscriptionException
 
ApolloSubscriptionException(String, Throwable) - Constructor for exception com.apollographql.apollo.internal.subscription.ApolloSubscriptionException
 
ApolloSubscriptionServerException - Exception in com.apollographql.apollo.internal.subscription
 
ApolloSubscriptionServerException(Map<String, Object>) - Constructor for exception com.apollographql.apollo.internal.subscription.ApolloSubscriptionServerException
 
ApolloSubscriptionTerminatedException - Exception in com.apollographql.apollo.internal.subscription
 
ApolloSubscriptionTerminatedException(String) - Constructor for exception com.apollographql.apollo.internal.subscription.ApolloSubscriptionTerminatedException
 
ApolloSubscriptionTerminatedException(String, Throwable) - Constructor for exception com.apollographql.apollo.internal.subscription.ApolloSubscriptionTerminatedException
 
applicationInterceptors(List<ApolloInterceptor>) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
 
autoPersistQueries - Variable in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest
 
autoPersistQueries(boolean) - Method in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest.Builder
 

B

bufferedSourceJsonReader(BufferedSource) - Static method in class com.apollographql.apollo.internal.json.ApolloJsonReader
 
build() - Method in class com.apollographql.apollo.ApolloClient.Builder
Builds the ApolloClient instance using the configured values.
build() - Method in class com.apollographql.apollo.cache.CacheHeaders.Builder
 
build() - Method in class com.apollographql.apollo.cache.normalized.lru.EvictionPolicy.Builder
 
build() - Method in class com.apollographql.apollo.cache.normalized.Record.Builder
 
build() - Method in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest.Builder
 
build(ResponseField, Operation.Variables) - Method in interface com.apollographql.apollo.internal.cache.normalized.CacheKeyBuilder
 
build(ResponseField, Operation.Variables) - Method in class com.apollographql.apollo.internal.cache.normalized.RealCacheKeyBuilder
 
build() - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
 
build() - Method in class com.apollographql.apollo.request.RequestHeaders.Builder
 
builder() - Static method in class com.apollographql.apollo.ApolloClient
 
builder() - Static method in class com.apollographql.apollo.cache.CacheHeaders
 
Builder() - Constructor for class com.apollographql.apollo.cache.CacheHeaders.Builder
 
builder() - Static method in class com.apollographql.apollo.cache.normalized.lru.EvictionPolicy
 
builder(String) - Static method in class com.apollographql.apollo.cache.normalized.Record
 
Builder(String, Map<String, Object>, UUID) - Constructor for class com.apollographql.apollo.cache.normalized.Record.Builder
 
builder(Operation) - Static method in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest
 
builder() - Static method in class com.apollographql.apollo.internal.RealApolloCall
 
builder() - Static method in class com.apollographql.apollo.request.RequestHeaders
 
Builder() - Constructor for class com.apollographql.apollo.request.RequestHeaders.Builder
 
byteChange(Object, Object) - Static method in class com.apollographql.apollo.internal.cache.normalized.RecordWeigher
 

C

CACHE_AND_NETWORK - Static variable in class com.apollographql.apollo.fetcher.ApolloResponseFetchers
Signal the apollo client to fetch the data from both the network and the cache.
CACHE_FIRST - Static variable in class com.apollographql.apollo.fetcher.ApolloResponseFetchers
Signals the apollo client to first fetch the data from the normalized cache.
CACHE_ONLY - Static variable in class com.apollographql.apollo.fetcher.ApolloResponseFetchers
Signals the apollo client to only fetch the data from the normalized cache.
CacheAndNetworkFetcher - Class in com.apollographql.apollo.internal.fetcher
Signal the apollo client to fetch the data from both the network and the cache.
CacheAndNetworkFetcher() - Constructor for class com.apollographql.apollo.internal.fetcher.CacheAndNetworkFetcher
 
CacheFieldValueResolver - Class in com.apollographql.apollo.internal.field
 
CacheFieldValueResolver(ReadableStore, Operation.Variables, CacheKeyResolver, CacheHeaders, CacheKeyBuilder) - Constructor for class com.apollographql.apollo.internal.field.CacheFieldValueResolver
 
CacheFirstFetcher - Class in com.apollographql.apollo.internal.fetcher
Signals the apollo client to first fetch the data from the normalized cache.
CacheFirstFetcher() - Constructor for class com.apollographql.apollo.internal.fetcher.CacheFirstFetcher
 
cacheHeaders(CacheHeaders) - Method in interface com.apollographql.apollo.ApolloCall
Sets the CacheHeaders to use for this call.
cacheHeaders(CacheHeaders) - Method in interface com.apollographql.apollo.ApolloMutationCall
 
cacheHeaders(CacheHeaders) - Method in interface com.apollographql.apollo.ApolloQueryCall
Sets the CacheHeaders to use for this call.
CacheHeaders - Class in com.apollographql.apollo.cache
A key/value collection which is sent with Record from a Operation to the NormalizedCache.
cacheHeaders(CacheHeaders) - Method in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest.Builder
 
cacheHeaders - Variable in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest
 
cacheHeaders(CacheHeaders) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
 
cacheHeaders(CacheHeaders) - Method in class com.apollographql.apollo.internal.RealApolloCall
 
CacheHeaders.Builder - Class in com.apollographql.apollo.cache
 
cacheJsonStreamReader(BufferedSourceJsonReader) - Static method in class com.apollographql.apollo.internal.json.ApolloJsonReader
 
CacheJsonStreamReader - Class in com.apollographql.apollo.internal.json
A ResponseJsonStreamReader with additional support for CacheReference.
CacheJsonStreamReader(JsonReader) - Constructor for class com.apollographql.apollo.internal.json.CacheJsonStreamReader
 
CacheKey - Class in com.apollographql.apollo.cache.normalized
A key for a Record used for normalization in a NormalizedCache.
CacheKeyBuilder - Interface in com.apollographql.apollo.internal.cache.normalized
 
cacheKeyBuilder() - Method in class com.apollographql.apollo.internal.cache.normalized.ResponseNormalizer
 
cacheKeyResolver() - Method in interface com.apollographql.apollo.cache.normalized.ApolloStore
 
CacheKeyResolver - Class in com.apollographql.apollo.cache.normalized
Resolves a cache key for a JSON object.
CacheKeyResolver() - Constructor for class com.apollographql.apollo.cache.normalized.CacheKeyResolver
 
cacheKeyResolver() - Method in class com.apollographql.apollo.internal.cache.normalized.NoOpApolloStore
 
cacheKeyResolver() - Method in class com.apollographql.apollo.internal.cache.normalized.RealApolloStore
 
CacheOnlyFetcher - Class in com.apollographql.apollo.internal.fetcher
Signals the apollo client to only fetch the data from the normalized cache.
CacheOnlyFetcher() - Constructor for class com.apollographql.apollo.internal.fetcher.CacheOnlyFetcher
 
cachePolicy(ApolloSubscriptionCall.CachePolicy) - Method in interface com.apollographql.apollo.ApolloSubscriptionCall
Sets the cache policy for response/request cache.
cachePolicy(ApolloSubscriptionCall.CachePolicy) - Method in class com.apollographql.apollo.internal.RealApolloSubscriptionCall
 
cacheRecords - Variable in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorResponse
 
cacheRecords - Variable in class com.apollographql.apollo.internal.subscription.SubscriptionResponse
 
CacheReference - Class in com.apollographql.apollo.cache.normalized
 
CacheReference(String) - Constructor for class com.apollographql.apollo.cache.normalized.CacheReference
 
cacheResponseNormalizer() - Method in interface com.apollographql.apollo.cache.normalized.ApolloStore
 
cacheResponseNormalizer() - Method in class com.apollographql.apollo.internal.cache.normalized.NoOpApolloStore
 
cacheResponseNormalizer() - Method in class com.apollographql.apollo.internal.cache.normalized.RealApolloStore
 
calculateBytes(Record) - Static method in class com.apollographql.apollo.internal.cache.normalized.RecordWeigher
 
Callback() - Constructor for class com.apollographql.apollo.ApolloCall.Callback
 
Callback() - Constructor for class com.apollographql.apollo.ApolloPrefetch.Callback
 
callFactory(Call.Factory) - Method in class com.apollographql.apollo.ApolloClient.Builder
Set the custom call factory for creating Call instances.
cancel() - Method in interface com.apollographql.apollo.ApolloCall
Cancels this ApolloCall.
cancel() - Method in interface com.apollographql.apollo.ApolloPrefetch
Cancels this ApolloPrefetch.
cancel() - Method in interface com.apollographql.apollo.ApolloQueryWatcher
Cancels this ApolloQueryWatcher.
cancel() - Method in class com.apollographql.apollo.internal.RealApolloCall
 
cancel() - Method in class com.apollographql.apollo.internal.RealApolloPrefetch
 
cancel() - Method in class com.apollographql.apollo.internal.RealApolloSubscriptionCall
 
cancel() - Method in interface com.apollographql.apollo.internal.util.Cancelable
Cancels the operation.
Cancelable - Interface in com.apollographql.apollo.internal.util
Represents an operation which can be canceled.
canDeserialize(String) - Static method in class com.apollographql.apollo.cache.normalized.CacheReference
 
chain(NormalizedCache) - Method in class com.apollographql.apollo.cache.normalized.NormalizedCache
 
chain(NormalizedCacheFactory) - Method in class com.apollographql.apollo.cache.normalized.NormalizedCacheFactory
 
clearAll() - Method in interface com.apollographql.apollo.cache.normalized.ApolloStore
Clear all records from this ApolloStore.
clearAll() - Method in class com.apollographql.apollo.cache.normalized.lru.LruNormalizedCache
 
clearAll() - Method in class com.apollographql.apollo.cache.normalized.NormalizedCache
Clears all records from the cache.
clearAll() - Method in class com.apollographql.apollo.cache.normalized.OptimisticNormalizedCache
 
clearAll() - Method in class com.apollographql.apollo.internal.cache.normalized.NoOpApolloStore
 
clearAll() - Method in class com.apollographql.apollo.internal.cache.normalized.RealApolloStore
 
clearHttpCache() - Method in class com.apollographql.apollo.ApolloClient
Clear all entries from the HttpCache, if present.
clearNormalizedCache(ApolloStoreOperation.Callback<Boolean>) - Method in class com.apollographql.apollo.ApolloClient
Clear all entries from the normalized cache.
clearNormalizedCache() - Method in class com.apollographql.apollo.ApolloClient
Clear all entries from the normalized cache.
clone() - Method in interface com.apollographql.apollo.ApolloCall
Creates a new, identical call to this one which can be enqueued or executed even if this call has already been.
clone() - Method in interface com.apollographql.apollo.ApolloMutationCall
 
clone() - Method in interface com.apollographql.apollo.ApolloPrefetch
Creates a new, identical ApolloPrefetch to this one which can be enqueued or executed even if this one has already been executed.
clone() - Method in interface com.apollographql.apollo.ApolloQueryCall
 
clone() - Method in interface com.apollographql.apollo.ApolloSubscriptionCall
Creates a new, identical call to this one which can be executed even if this call has already been.
clone() - Method in class com.apollographql.apollo.cache.normalized.Record
 
clone() - Method in class com.apollographql.apollo.internal.RealApolloCall
 
clone() - Method in class com.apollographql.apollo.internal.RealApolloPrefetch
 
clone() - Method in class com.apollographql.apollo.internal.RealApolloSubscriptionCall
 
code() - Method in exception com.apollographql.apollo.exception.ApolloHttpException
 
com.apollographql.apollo - package com.apollographql.apollo
 
com.apollographql.apollo.cache - package com.apollographql.apollo.cache
 
com.apollographql.apollo.cache.normalized - package com.apollographql.apollo.cache.normalized
 
com.apollographql.apollo.cache.normalized.lru - package com.apollographql.apollo.cache.normalized.lru
 
com.apollographql.apollo.exception - package com.apollographql.apollo.exception
 
com.apollographql.apollo.fetcher - package com.apollographql.apollo.fetcher
 
com.apollographql.apollo.interceptor - package com.apollographql.apollo.interceptor
 
com.apollographql.apollo.internal - package com.apollographql.apollo.internal
 
com.apollographql.apollo.internal.cache.normalized - package com.apollographql.apollo.internal.cache.normalized
 
com.apollographql.apollo.internal.fetcher - package com.apollographql.apollo.internal.fetcher
 
com.apollographql.apollo.internal.field - package com.apollographql.apollo.internal.field
 
com.apollographql.apollo.internal.interceptor - package com.apollographql.apollo.internal.interceptor
 
com.apollographql.apollo.internal.json - package com.apollographql.apollo.internal.json
 
com.apollographql.apollo.internal.response - package com.apollographql.apollo.internal.response
 
com.apollographql.apollo.internal.subscription - package com.apollographql.apollo.internal.subscription
 
com.apollographql.apollo.internal.util - package com.apollographql.apollo.internal.util
 
com.apollographql.apollo.request - package com.apollographql.apollo.request
 
com.apollographql.apollo.response - package com.apollographql.apollo.response
 
com.apollographql.apollo.subscription - package com.apollographql.apollo.subscription
 
Complete(String) - Constructor for class com.apollographql.apollo.subscription.OperationServerMessage.Complete
 
connect() - Method in interface com.apollographql.apollo.subscription.SubscriptionTransport
Opens connection to the subscription server
connect() - Method in class com.apollographql.apollo.subscription.WebSocketSubscriptionTransport
 
ConnectionAcknowledge() - Constructor for class com.apollographql.apollo.subscription.OperationServerMessage.ConnectionAcknowledge
 
ConnectionError(Map<String, Object>) - Constructor for class com.apollographql.apollo.subscription.OperationServerMessage.ConnectionError
 
ConnectionKeepAlive() - Constructor for class com.apollographql.apollo.subscription.OperationServerMessage.ConnectionKeepAlive
 
Const(SubscriptionConnectionParams) - Constructor for class com.apollographql.apollo.subscription.SubscriptionConnectionParamsProvider.Const
 
create(RecordFieldJsonAdapter) - Method in class com.apollographql.apollo.cache.normalized.lru.LruNormalizedCacheFactory
 
create(RecordFieldJsonAdapter) - Method in class com.apollographql.apollo.cache.normalized.NormalizedCacheFactory
 
create() - Static method in class com.apollographql.apollo.cache.normalized.RecordFieldJsonAdapter
 
create(Operation) - Method in class com.apollographql.apollo.internal.ResponseFieldMapperFactory
 
create(SubscriptionTransport.Callback) - Method in interface com.apollographql.apollo.subscription.SubscriptionTransport.Factory
Creates and prepares a new SubscriptionTransport.
create(SubscriptionTransport.Callback) - Method in class com.apollographql.apollo.subscription.WebSocketSubscriptionTransport.Factory
 
createChain(RecordFieldJsonAdapter) - Method in class com.apollographql.apollo.cache.normalized.NormalizedCacheFactory
 

D

Data(String, Map<String, Object>) - Constructor for class com.apollographql.apollo.subscription.OperationServerMessage.Data
 
DEFAULT - Static variable in class com.apollographql.apollo.cache.normalized.CacheKeyResolver
 
defaultCacheHeaders(CacheHeaders) - Method in class com.apollographql.apollo.ApolloClient.Builder
Set the default CacheHeaders strategy that will be passed to the com.apollographql.apollo.interceptor.FetchOptions used in each new ApolloCall.
defaultCacheHeaders() - Method in class com.apollographql.apollo.ApolloClient
 
defaultHttpCachePolicy(HttpCachePolicy.Policy) - Method in class com.apollographql.apollo.ApolloClient.Builder
Sets the http cache policy to be used as default for all GraphQL Query operations.
defaultResponseFetcher(ResponseFetcher) - Method in class com.apollographql.apollo.ApolloClient.Builder
Set the default ResponseFetcher to be used with each new ApolloCall.
dependentKeys() - Method in class com.apollographql.apollo.internal.cache.normalized.ResponseNormalizer
 
deserialize(String) - Static method in class com.apollographql.apollo.cache.normalized.CacheReference
 
didResolve(ResponseField, Operation.Variables) - Method in class com.apollographql.apollo.internal.cache.normalized.ResponseNormalizer
 
didResolve(ResponseField, Operation.Variables) - Method in interface com.apollographql.apollo.internal.response.ResolveDelegate
 
didResolveElement(int) - Method in class com.apollographql.apollo.internal.cache.normalized.ResponseNormalizer
 
didResolveElement(int) - Method in interface com.apollographql.apollo.internal.response.ResolveDelegate
 
didResolveList(List) - Method in class com.apollographql.apollo.internal.cache.normalized.ResponseNormalizer
 
didResolveList(List) - Method in interface com.apollographql.apollo.internal.response.ResolveDelegate
 
didResolveNull() - Method in class com.apollographql.apollo.internal.cache.normalized.ResponseNormalizer
 
didResolveNull() - Method in interface com.apollographql.apollo.internal.response.ResolveDelegate
 
didResolveObject(ResponseField, Optional<R>) - Method in class com.apollographql.apollo.internal.cache.normalized.ResponseNormalizer
 
didResolveObject(ResponseField, Optional<R>) - Method in interface com.apollographql.apollo.internal.response.ResolveDelegate
 
didResolveScalar(Object) - Method in class com.apollographql.apollo.internal.cache.normalized.ResponseNormalizer
 
didResolveScalar(Object) - Method in interface com.apollographql.apollo.internal.response.ResolveDelegate
 
disableSubscriptions() - Method in class com.apollographql.apollo.ApolloClient
Call stop on the subscriptionManager.
disconnect(OperationClientMessage) - Method in interface com.apollographql.apollo.subscription.SubscriptionTransport
Disconnects from the subscription server.
disconnect(OperationClientMessage) - Method in class com.apollographql.apollo.subscription.WebSocketSubscriptionTransport
 
dispatcher(Executor) - Method in class com.apollographql.apollo.ApolloClient.Builder
The #Executor to use for dispatching the requests.
dispatcher(Executor) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
 
dispose() - Method in interface com.apollographql.apollo.interceptor.ApolloInterceptor
Disposes of the resources which are no longer required.
dispose() - Method in interface com.apollographql.apollo.interceptor.ApolloInterceptorChain
Disposes of the resources which are no longer required.
dispose() - Method in class com.apollographql.apollo.internal.interceptor.ApolloAutoPersistedQueryInterceptor
 
dispose() - Method in class com.apollographql.apollo.internal.interceptor.ApolloCacheInterceptor
 
dispose() - Method in class com.apollographql.apollo.internal.interceptor.ApolloParseInterceptor
 
dispose() - Method in class com.apollographql.apollo.internal.interceptor.ApolloServerInterceptor
 
dispose() - Method in class com.apollographql.apollo.internal.interceptor.RealApolloInterceptorChain
 
DO_NOT_STORE - Static variable in class com.apollographql.apollo.cache.ApolloCacheHeaders
Records from this request should not be stored in the NormalizedCache.
dump() - Method in class com.apollographql.apollo.cache.normalized.lru.LruNormalizedCache
 
dump() - Method in class com.apollographql.apollo.cache.normalized.NormalizedCache
 
dump() - Method in class com.apollographql.apollo.cache.normalized.OptimisticNormalizedCache
 

E

emptyOperation(T) - Static method in class com.apollographql.apollo.cache.normalized.ApolloStoreOperation
 
enableAutoPersistedQueries(boolean) - Method in class com.apollographql.apollo.ApolloClient.Builder
 
enableAutoPersistedQueries(boolean) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
 
enableSubscriptions() - Method in class com.apollographql.apollo.ApolloClient
Call start on the subscriptionManager.
enqueue(ApolloCall.Callback<T>) - Method in interface com.apollographql.apollo.ApolloCall
Schedules the request to be executed at some point in the future.
enqueue(ApolloPrefetch.Callback) - Method in interface com.apollographql.apollo.ApolloPrefetch
Schedules the request to be executed at some point in the future.
enqueue(ApolloStoreOperation.Callback<T>) - Method in class com.apollographql.apollo.cache.normalized.ApolloStoreOperation
Schedules operation to be executed in dispatcher
enqueue(ApolloCall.Callback<T>) - Method in class com.apollographql.apollo.internal.RealApolloCall
 
enqueue(ApolloPrefetch.Callback) - Method in class com.apollographql.apollo.internal.RealApolloPrefetch
 
enqueueAndWatch(ApolloCall.Callback<T>) - Method in interface com.apollographql.apollo.ApolloQueryWatcher
 
equals(Object) - Method in class com.apollographql.apollo.cache.normalized.CacheKey
 
equals(Object) - Method in class com.apollographql.apollo.cache.normalized.CacheReference
 
Error(String, Map<String, Object>) - Constructor for class com.apollographql.apollo.subscription.OperationServerMessage.Error
 
errorPayload - Variable in exception com.apollographql.apollo.internal.subscription.ApolloSubscriptionServerException
 
EVICT_AFTER_READ - Static variable in class com.apollographql.apollo.cache.ApolloCacheHeaders
Records from this request should be evicted after being read.
EvictionPolicy - Class in com.apollographql.apollo.cache.normalized.lru
Controls how long a Record will stay in a LruNormalizedCache.
EvictionPolicy.Builder - Class in com.apollographql.apollo.cache.normalized.lru
 
execute(ApolloSubscriptionCall.Callback<T>) - Method in interface com.apollographql.apollo.ApolloSubscriptionCall
Sends Subscription to the subscription server and starts listening for the pushed updates.
execute() - Method in class com.apollographql.apollo.cache.normalized.ApolloStoreOperation
Execute store operation NOTE: this is a sync operation, proceed with a caution as it may include SQLite instruction
execute(T) - Method in interface com.apollographql.apollo.internal.cache.normalized.Transaction
 
execute(ApolloSubscriptionCall.Callback<T>) - Method in class com.apollographql.apollo.internal.RealApolloSubscriptionCall
 
expireAfterAccess(long, TimeUnit) - Method in class com.apollographql.apollo.cache.normalized.lru.EvictionPolicy.Builder
 
expireAfterWrite(long, TimeUnit) - Method in class com.apollographql.apollo.cache.normalized.lru.EvictionPolicy.Builder
 

F

Factory(String, WebSocket.Factory) - Constructor for class com.apollographql.apollo.subscription.WebSocketSubscriptionTransport.Factory
 
fetchFromCache(boolean) - Method in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest.Builder
 
fetchFromCache - Variable in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest
 
field(String) - Method in class com.apollographql.apollo.cache.normalized.Record
 
fields() - Method in class com.apollographql.apollo.cache.normalized.Record
 
FieldValueResolver<R> - Interface in com.apollographql.apollo.internal.field
 
from(String) - Static method in class com.apollographql.apollo.cache.normalized.CacheKey
 
from(String) - Method in class com.apollographql.apollo.cache.normalized.RecordFieldJsonAdapter
 
fromFieldArguments(ResponseField, Operation.Variables) - Method in class com.apollographql.apollo.cache.normalized.CacheKeyResolver
 
fromFieldRecordSet(ResponseField, Map<String, Object>) - Method in class com.apollographql.apollo.cache.normalized.CacheKeyResolver
 
fromJsonString(String) - Static method in class com.apollographql.apollo.subscription.OperationServerMessage
 

G

get(String) - Method in class com.apollographql.apollo.cache.normalized.RecordSet
 
getState() - Method in class com.apollographql.apollo.internal.subscription.NoOpSubscriptionManager
 
getState() - Method in class com.apollographql.apollo.internal.subscription.RealSubscriptionManager
 
getState() - Method in interface com.apollographql.apollo.internal.subscription.SubscriptionManager
Returns the current state of subscription manager.
getSubscriptionManager() - Method in class com.apollographql.apollo.ApolloClient
 
getSubscriptionManagerState() - Method in class com.apollographql.apollo.ApolloClient
Returns the current state of subscription manager.

H

hasField(String) - Method in class com.apollographql.apollo.cache.normalized.Record
 
hashCode() - Method in class com.apollographql.apollo.cache.normalized.CacheKey
 
hashCode() - Method in class com.apollographql.apollo.cache.normalized.CacheReference
 
hasHeader(String) - Method in class com.apollographql.apollo.cache.CacheHeaders
 
hasHeader(String) - Method in class com.apollographql.apollo.request.RequestHeaders
 
headers() - Method in class com.apollographql.apollo.request.RequestHeaders
 
headerValue(String) - Method in class com.apollographql.apollo.cache.CacheHeaders
 
headerValue(String) - Method in class com.apollographql.apollo.request.RequestHeaders
 
httpCache(HttpCache) - Method in class com.apollographql.apollo.ApolloClient.Builder
Set the configuration to be used for request/response http cache.
httpCache(HttpCache) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
 
httpCachePolicy(HttpCachePolicy.Policy) - Method in interface com.apollographql.apollo.ApolloQueryCall
Sets the http cache policy for response/request cache.
httpCachePolicy(HttpCachePolicy.Policy) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
 
httpCachePolicy(HttpCachePolicy.Policy) - Method in class com.apollographql.apollo.internal.RealApolloCall
 
httpCallFactory(Call.Factory) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
 
httpResponse - Variable in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorResponse
 

I

id - Variable in class com.apollographql.apollo.subscription.OperationServerMessage.Complete
 
id - Variable in class com.apollographql.apollo.subscription.OperationServerMessage.Data
 
id - Variable in class com.apollographql.apollo.subscription.OperationServerMessage.Error
 
idleCallback(IdleResourceCallback) - Method in class com.apollographql.apollo.ApolloClient
Sets the idleResourceCallback which will be called when this ApolloClient is idle.
IdleResourceCallback - Interface in com.apollographql.apollo
Callback which gets invoked when the resource transitions from active to idle state.
Init(Map<String, Object>) - Constructor for class com.apollographql.apollo.subscription.OperationClientMessage.Init
 
interceptAsync(ApolloInterceptor.InterceptorRequest, ApolloInterceptorChain, Executor, ApolloInterceptor.CallBack) - Method in interface com.apollographql.apollo.interceptor.ApolloInterceptor
Intercepts the outgoing request and performs non blocking operations on the request or the response returned by the next set of interceptors in the chain.
interceptAsync(ApolloInterceptor.InterceptorRequest, ApolloInterceptorChain, Executor, ApolloInterceptor.CallBack) - Method in class com.apollographql.apollo.internal.interceptor.ApolloAutoPersistedQueryInterceptor
 
interceptAsync(ApolloInterceptor.InterceptorRequest, ApolloInterceptorChain, Executor, ApolloInterceptor.CallBack) - Method in class com.apollographql.apollo.internal.interceptor.ApolloCacheInterceptor
 
interceptAsync(ApolloInterceptor.InterceptorRequest, ApolloInterceptorChain, Executor, ApolloInterceptor.CallBack) - Method in class com.apollographql.apollo.internal.interceptor.ApolloParseInterceptor
 
interceptAsync(ApolloInterceptor.InterceptorRequest, ApolloInterceptorChain, Executor, ApolloInterceptor.CallBack) - Method in class com.apollographql.apollo.internal.interceptor.ApolloServerInterceptor
 
InterceptorResponse(Response) - Constructor for class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorResponse
 
InterceptorResponse(Response, Response, Collection<Record>) - Constructor for class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorResponse
 
isCanceled() - Method in class com.apollographql.apollo.internal.RealApolloCall
 
isCanceled() - Method in class com.apollographql.apollo.internal.RealApolloPrefetch
 
isCanceled() - Method in class com.apollographql.apollo.internal.RealApolloSubscriptionCall
 
isCanceled() - Method in interface com.apollographql.apollo.internal.util.Cancelable
Checks if this operation has been canceled.
isEmpty() - Method in class com.apollographql.apollo.internal.util.SimpleStack
 

K

key() - Method in class com.apollographql.apollo.cache.normalized.CacheKey
 
key() - Method in class com.apollographql.apollo.cache.normalized.CacheReference
 
key() - Method in class com.apollographql.apollo.cache.normalized.Record.Builder
 
key() - Method in class com.apollographql.apollo.cache.normalized.Record
 
keys() - Method in class com.apollographql.apollo.cache.normalized.Record
 

L

loadRecord(String, CacheHeaders) - Method in class com.apollographql.apollo.cache.normalized.lru.LruNormalizedCache
 
loadRecord(String, CacheHeaders) - Method in class com.apollographql.apollo.cache.normalized.NormalizedCache
 
loadRecord(String, CacheHeaders) - Method in class com.apollographql.apollo.cache.normalized.OptimisticNormalizedCache
 
loadRecords(Collection<String>, CacheHeaders) - Method in class com.apollographql.apollo.cache.normalized.NormalizedCache
logger(Logger) - Method in class com.apollographql.apollo.ApolloClient.Builder
The Logger to use for logging purposes.
logger(ApolloLogger) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
 
LruNormalizedCache - Class in com.apollographql.apollo.cache.normalized.lru
A NormalizedCache backed by an in memory Cache.
LruNormalizedCacheFactory - Class in com.apollographql.apollo.cache.normalized.lru
 
LruNormalizedCacheFactory(EvictionPolicy) - Constructor for class com.apollographql.apollo.cache.normalized.lru.LruNormalizedCacheFactory
 

M

map() - Method in class com.apollographql.apollo.internal.json.SortedInputFieldMapWriter
 
MapFieldValueResolver - Class in com.apollographql.apollo.internal.field
 
MapFieldValueResolver() - Constructor for class com.apollographql.apollo.internal.field.MapFieldValueResolver
 
maxEntries(long) - Method in class com.apollographql.apollo.cache.normalized.lru.EvictionPolicy.Builder
 
maxSizeBytes(long) - Method in class com.apollographql.apollo.cache.normalized.lru.EvictionPolicy.Builder
 
merge(Record, CacheHeaders) - Method in class com.apollographql.apollo.cache.normalized.NormalizedCache
 
merge(Collection<Record>, CacheHeaders) - Method in class com.apollographql.apollo.cache.normalized.NormalizedCache
merge(Record) - Method in class com.apollographql.apollo.cache.normalized.RecordSet
 
merge(Collection<Record>, CacheHeaders) - Method in class com.apollographql.apollo.internal.cache.normalized.NoOpApolloStore
 
merge(Record, CacheHeaders) - Method in class com.apollographql.apollo.internal.cache.normalized.NoOpApolloStore
 
merge(Collection<Record>, CacheHeaders) - Method in class com.apollographql.apollo.internal.cache.normalized.RealApolloStore
 
merge(Record, CacheHeaders) - Method in class com.apollographql.apollo.internal.cache.normalized.RealApolloStore
 
merge(Collection<Record>, CacheHeaders) - Method in interface com.apollographql.apollo.internal.cache.normalized.WriteableStore
 
merge(Record, CacheHeaders) - Method in interface com.apollographql.apollo.internal.cache.normalized.WriteableStore
 
mergeOptimisticUpdate(Record) - Method in class com.apollographql.apollo.cache.normalized.OptimisticNormalizedCache
 
mergeOptimisticUpdates(Collection<Record>) - Method in class com.apollographql.apollo.cache.normalized.OptimisticNormalizedCache
 
mergeWith(Record) - Method in class com.apollographql.apollo.cache.normalized.Record
 
message() - Method in exception com.apollographql.apollo.exception.ApolloHttpException
 
mutate(Mutation<D, T, V>) - Method in class com.apollographql.apollo.ApolloClient
 
mutate(Mutation<D, T, V>, D) - Method in class com.apollographql.apollo.ApolloClient
 
mutate(Mutation<D, T, V>) - Method in interface com.apollographql.apollo.ApolloMutationCall.Factory
Creates and prepares a new ApolloMutationCall call.
mutate(Mutation<D, T, V>, D) - Method in interface com.apollographql.apollo.ApolloMutationCall.Factory
Creates and prepares a new ApolloMutationCall call with optimistic updates.
mutationId(UUID) - Method in class com.apollographql.apollo.cache.normalized.Record.Builder
 
mutationId() - Method in class com.apollographql.apollo.cache.normalized.Record
 

N

NETWORK_FIRST - Static variable in class com.apollographql.apollo.fetcher.ApolloResponseFetchers
Signals the apollo client to first fetch the data from the network.
NETWORK_ONLY - Static variable in class com.apollographql.apollo.fetcher.ApolloResponseFetchers
Signals the apollo client to only fetch the GraphQL data from the network.
NetworkFirstFetcher - Class in com.apollographql.apollo.internal.fetcher
Signals the apollo client to first fetch the data from the network.
NetworkFirstFetcher() - Constructor for class com.apollographql.apollo.internal.fetcher.NetworkFirstFetcher
 
NetworkOnlyFetcher - Class in com.apollographql.apollo.internal.fetcher
Signals the apollo client to only fetch the GraphQL data from the network.
NetworkOnlyFetcher() - Constructor for class com.apollographql.apollo.internal.fetcher.NetworkOnlyFetcher
 
networkResponseNormalizer() - Method in interface com.apollographql.apollo.cache.normalized.ApolloStore
 
networkResponseNormalizer() - Method in class com.apollographql.apollo.internal.cache.normalized.NoOpApolloStore
 
networkResponseNormalizer() - Method in class com.apollographql.apollo.internal.cache.normalized.RealApolloStore
 
nextCache() - Method in class com.apollographql.apollo.cache.normalized.NormalizedCache
 
nextScalar(boolean) - Method in class com.apollographql.apollo.internal.json.CacheJsonStreamReader
 
NO_APOLLO_STORE - Static variable in interface com.apollographql.apollo.cache.normalized.ApolloStore
 
NO_EVICTION - Static variable in class com.apollographql.apollo.cache.normalized.lru.EvictionPolicy
 
NO_KEY - Static variable in class com.apollographql.apollo.cache.normalized.CacheKey
 
NO_OP_NORMALIZER - Static variable in class com.apollographql.apollo.internal.cache.normalized.ResponseNormalizer
 
NONE - Static variable in class com.apollographql.apollo.cache.CacheHeaders
 
NONE - Static variable in class com.apollographql.apollo.request.RequestHeaders
 
NoOpApolloStore - Class in com.apollographql.apollo.internal.cache.normalized
An alternative to RealApolloStore for when a no-operation cache is needed.
NoOpApolloStore() - Constructor for class com.apollographql.apollo.internal.cache.normalized.NoOpApolloStore
 
NoOpSubscriptionManager - Class in com.apollographql.apollo.internal.subscription
 
NoOpSubscriptionManager() - Constructor for class com.apollographql.apollo.internal.subscription.NoOpSubscriptionManager
 
normalizedCache(NormalizedCacheFactory) - Method in class com.apollographql.apollo.ApolloClient.Builder
Set the configuration to be used for normalized cache.
normalizedCache(NormalizedCacheFactory, CacheKeyResolver) - Method in class com.apollographql.apollo.ApolloClient.Builder
Set the configuration to be used for normalized cache.
normalizedCache() - Method in interface com.apollographql.apollo.cache.normalized.ApolloStore
 
NormalizedCache - Class in com.apollographql.apollo.cache.normalized
A provider of Record for reading requests from cache.
NormalizedCache() - Constructor for class com.apollographql.apollo.cache.normalized.NormalizedCache
 
normalizedCache() - Method in class com.apollographql.apollo.internal.cache.normalized.NoOpApolloStore
 
normalizedCache() - Method in class com.apollographql.apollo.internal.cache.normalized.RealApolloStore
 
NormalizedCacheFactory<T extends NormalizedCache> - Class in com.apollographql.apollo.cache.normalized
A Factory used to construct an instance of a NormalizedCache configured with the custom scalar adapters set in ApolloClient.Builder.addCustomTypeAdapter(ScalarType, CustomTypeAdapter).
NormalizedCacheFactory() - Constructor for class com.apollographql.apollo.cache.normalized.NormalizedCacheFactory
 

O

okHttpClient(OkHttpClient) - Method in class com.apollographql.apollo.ApolloClient.Builder
Set the OkHttpClient to use for making network requests.
onCacheRecordsChanged(Set<String>) - Method in interface com.apollographql.apollo.cache.normalized.ApolloStore.RecordChangeSubscriber
 
onCanceledError(ApolloCanceledException) - Method in class com.apollographql.apollo.ApolloCall.Callback
Gets called when ApolloCall has been canceled.
onCanceledError(ApolloCanceledException) - Method in class com.apollographql.apollo.ApolloPrefetch.Callback
Gets called when ApolloCall has been canceled.
onClosed() - Method in interface com.apollographql.apollo.subscription.SubscriptionTransport.Callback
Gets called when connection with subscription server is closed.
onCompleted() - Method in interface com.apollographql.apollo.ApolloSubscriptionCall.Callback
Gets called when final GraphQL response is received.
onCompleted() - Method in interface com.apollographql.apollo.interceptor.ApolloInterceptor.CallBack
onCompleted() - Method in interface com.apollographql.apollo.internal.subscription.SubscriptionManager.Callback
 
onConnected() - Method in interface com.apollographql.apollo.ApolloSubscriptionCall.Callback
Gets called when GraphQL subscription server connection is opened.
onConnected() - Method in interface com.apollographql.apollo.internal.subscription.SubscriptionManager.Callback
 
onConnected() - Method in interface com.apollographql.apollo.subscription.SubscriptionTransport.Callback
Gets called when connection with subscription server has been established.
onError(ApolloSubscriptionException) - Method in interface com.apollographql.apollo.internal.subscription.SubscriptionManager.Callback
 
onFailure(ApolloException) - Method in class com.apollographql.apollo.ApolloCall.Callback
Gets called when an unexpected exception occurs while creating the request or processing the response.
onFailure(ApolloException) - Method in class com.apollographql.apollo.ApolloPrefetch.Callback
Gets called when an unexpected exception occurs while creating the request or processing the response.
onFailure(ApolloException) - Method in interface com.apollographql.apollo.ApolloSubscriptionCall.Callback
Gets called when an unexpected exception occurs while creating the request or processing the response.
onFailure(Throwable) - Method in interface com.apollographql.apollo.cache.normalized.ApolloStoreOperation.Callback
 
onFailure(ApolloException) - Method in interface com.apollographql.apollo.interceptor.ApolloInterceptor.CallBack
Gets called when an unexpected exception occurs while performing operations on the request or processing the response returned by the next set of interceptors.
onFailure(Throwable) - Method in interface com.apollographql.apollo.subscription.SubscriptionTransport.Callback
Gets called when an unexpected exception occurs during communication to the server.
onFetch(ApolloInterceptor.FetchSourceType) - Method in interface com.apollographql.apollo.interceptor.ApolloInterceptor.CallBack
Called when interceptor starts fetching response from source type
onHttpError(ApolloHttpException) - Method in class com.apollographql.apollo.ApolloCall.Callback
Gets called when an http request error takes place.
onHttpError(ApolloHttpException) - Method in class com.apollographql.apollo.ApolloPrefetch.Callback
Gets called when an http request error takes place.
onIdle() - Method in interface com.apollographql.apollo.IdleResourceCallback
Gets called when the resource transitions from active to idle state.
onMessage(OperationServerMessage) - Method in interface com.apollographql.apollo.subscription.SubscriptionTransport.Callback
Gets called when subscription server pushed new updates.
onNetworkError(ApolloNetworkException) - Method in class com.apollographql.apollo.ApolloCall.Callback
Gets called when an http request error takes place due to network failures, timeouts etc.
onNetworkError(ApolloNetworkException) - Method in class com.apollographql.apollo.ApolloPrefetch.Callback
Gets called when an http request error takes place due to network failures, timeouts etc.
onNetworkError(Throwable) - Method in interface com.apollographql.apollo.internal.subscription.SubscriptionManager.Callback
 
onParseError(ApolloParseException) - Method in class com.apollographql.apollo.ApolloCall.Callback
Gets called when the network request succeeds but there was an error parsing the response.
onResponse(Response<T>) - Method in class com.apollographql.apollo.ApolloCall.Callback
Gets called when GraphQL response is received and parsed successfully.
onResponse(Response<T>) - Method in interface com.apollographql.apollo.ApolloSubscriptionCall.Callback
Gets called when GraphQL response is received and parsed successfully.
onResponse(ApolloInterceptor.InterceptorResponse) - Method in interface com.apollographql.apollo.interceptor.ApolloInterceptor.CallBack
Gets called when the interceptor returns a response after successfully performing operations on the request/response.
onResponse(SubscriptionResponse<T>) - Method in interface com.apollographql.apollo.internal.subscription.SubscriptionManager.Callback
 
onStateChange(SubscriptionManagerState, SubscriptionManagerState) - Method in interface com.apollographql.apollo.subscription.OnSubscriptionManagerStateChangeListener
Called when subscription manager state changed.
onStatusEvent(ApolloCall.StatusEvent) - Method in class com.apollographql.apollo.ApolloCall.Callback
Gets called whenever any action happen to this ApolloCall.
OnSubscriptionManagerStateChangeListener - Interface in com.apollographql.apollo.subscription
Represents a callback for subscription manager state changes.
onSuccess() - Method in class com.apollographql.apollo.ApolloPrefetch.Callback
Gets called when the request has succeeded.
onSuccess(T) - Method in interface com.apollographql.apollo.cache.normalized.ApolloStoreOperation.Callback
 
onTerminated() - Method in interface com.apollographql.apollo.ApolloSubscriptionCall.Callback
Gets called when GraphQL subscription server connection is closed unexpectedly.
onTerminated() - Method in interface com.apollographql.apollo.internal.subscription.SubscriptionManager.Callback
 
operation() - Method in interface com.apollographql.apollo.ApolloCall
Returns GraphQL operation this call executes
operation() - Method in interface com.apollographql.apollo.ApolloPrefetch
Returns GraphQL operation this call executes
operation() - Method in interface com.apollographql.apollo.ApolloQueryWatcher
Returns GraphQL watched operation.
operation - Variable in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest
 
operation(Operation) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
 
operation() - Method in class com.apollographql.apollo.internal.RealApolloCall
 
operation() - Method in class com.apollographql.apollo.internal.RealApolloPrefetch
 
OperationClientMessage - Class in com.apollographql.apollo.subscription
 
OperationClientMessage.Init - Class in com.apollographql.apollo.subscription
 
OperationClientMessage.Start - Class in com.apollographql.apollo.subscription
 
OperationClientMessage.Stop - Class in com.apollographql.apollo.subscription
 
OperationClientMessage.Terminate - Class in com.apollographql.apollo.subscription
 
OperationJsonWriter - Class in com.apollographql.apollo.response
 
OperationJsonWriter(Operation.Data, ScalarTypeAdapters) - Constructor for class com.apollographql.apollo.response.OperationJsonWriter
 
OperationResponseParser<D extends com.apollographql.apollo.api.Operation.Data,W> - Class in com.apollographql.apollo.response
 
OperationResponseParser(Operation<D, W, ?>, ResponseFieldMapper, ScalarTypeAdapters) - Constructor for class com.apollographql.apollo.response.OperationResponseParser
 
OperationResponseParser(Operation<D, W, ?>, ResponseFieldMapper, ScalarTypeAdapters, ResponseNormalizer<Map<String, Object>>) - Constructor for class com.apollographql.apollo.response.OperationResponseParser
 
OperationServerMessage - Class in com.apollographql.apollo.subscription
 
OperationServerMessage.Complete - Class in com.apollographql.apollo.subscription
 
OperationServerMessage.ConnectionAcknowledge - Class in com.apollographql.apollo.subscription
 
OperationServerMessage.ConnectionError - Class in com.apollographql.apollo.subscription
 
OperationServerMessage.ConnectionKeepAlive - Class in com.apollographql.apollo.subscription
 
OperationServerMessage.Data - Class in com.apollographql.apollo.subscription
 
OperationServerMessage.Error - Class in com.apollographql.apollo.subscription
 
OperationServerMessage.Unsupported - Class in com.apollographql.apollo.subscription
 
OptimisticNormalizedCache - Class in com.apollographql.apollo.cache.normalized
 
OptimisticNormalizedCache() - Constructor for class com.apollographql.apollo.cache.normalized.OptimisticNormalizedCache
 
optimisticUpdates(Operation.Data) - Method in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest.Builder
 
optimisticUpdates(Optional<Operation.Data>) - Method in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest.Builder
 
optimisticUpdates - Variable in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest
 
optimisticUpdates(Optional<Operation.Data>) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
 

P

parse(Map<String, Object>) - Method in class com.apollographql.apollo.response.OperationResponseParser
 
parse(BufferedSource) - Method in class com.apollographql.apollo.response.OperationResponseParser
 
parsedResponse - Variable in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorResponse
 
payload - Variable in class com.apollographql.apollo.subscription.OperationServerMessage.ConnectionError
 
payload - Variable in class com.apollographql.apollo.subscription.OperationServerMessage.Data
 
payload - Variable in class com.apollographql.apollo.subscription.OperationServerMessage.Error
 
perform() - Method in class com.apollographql.apollo.cache.normalized.ApolloStoreOperation
 
performMerge(Record, CacheHeaders) - Method in class com.apollographql.apollo.cache.normalized.lru.LruNormalizedCache
 
performMerge(Record, CacheHeaders) - Method in class com.apollographql.apollo.cache.normalized.NormalizedCache
 
performMerge(Record, CacheHeaders) - Method in class com.apollographql.apollo.cache.normalized.OptimisticNormalizedCache
 
pop() - Method in class com.apollographql.apollo.internal.util.SimpleStack
 
prefetch(Operation<D, T, V>) - Method in class com.apollographql.apollo.ApolloClient
 
prefetch(Operation<D, T, V>) - Method in interface com.apollographql.apollo.ApolloPrefetch.Factory
Creates the ApolloPrefetch by wrapping the operation object inside.
prettifyDump(Map<Class, Map<String, Record>>) - Static method in class com.apollographql.apollo.cache.normalized.NormalizedCache
 
proceedAsync(ApolloInterceptor.InterceptorRequest, Executor, ApolloInterceptor.CallBack) - Method in interface com.apollographql.apollo.interceptor.ApolloInterceptorChain
Passes the control over to the next ApolloInterceptor in the responsibility chain and immediately exits as this is a non blocking call.
proceedAsync(ApolloInterceptor.InterceptorRequest, Executor, ApolloInterceptor.CallBack) - Method in class com.apollographql.apollo.internal.interceptor.RealApolloInterceptorChain
 
provide() - Method in class com.apollographql.apollo.subscription.SubscriptionConnectionParamsProvider.Const
 
provide() - Method in interface com.apollographql.apollo.subscription.SubscriptionConnectionParamsProvider
 
provideInterceptor(ApolloLogger) - Method in interface com.apollographql.apollo.fetcher.ResponseFetcher
 
provideInterceptor(ApolloLogger) - Method in class com.apollographql.apollo.internal.fetcher.CacheAndNetworkFetcher
 
provideInterceptor(ApolloLogger) - Method in class com.apollographql.apollo.internal.fetcher.CacheFirstFetcher
 
provideInterceptor(ApolloLogger) - Method in class com.apollographql.apollo.internal.fetcher.CacheOnlyFetcher
 
provideInterceptor(ApolloLogger) - Method in class com.apollographql.apollo.internal.fetcher.NetworkFirstFetcher
 
provideInterceptor(ApolloLogger) - Method in class com.apollographql.apollo.internal.fetcher.NetworkOnlyFetcher
 
publish(Set<String>) - Method in interface com.apollographql.apollo.cache.normalized.ApolloStore
 
publish(Set<String>) - Method in class com.apollographql.apollo.internal.cache.normalized.NoOpApolloStore
 
publish(Set<String>) - Method in class com.apollographql.apollo.internal.cache.normalized.RealApolloStore
 
push(E) - Method in class com.apollographql.apollo.internal.util.SimpleStack
 

Q

query(Query<D, T, V>) - Method in class com.apollographql.apollo.ApolloClient
 
query(Query<D, T, V>) - Method in interface com.apollographql.apollo.ApolloQueryCall.Factory
Creates and prepares a new ApolloQueryCall call.

R

rawMessage - Variable in class com.apollographql.apollo.subscription.OperationServerMessage.Unsupported
 
rawResponse() - Method in exception com.apollographql.apollo.exception.ApolloHttpException
 
read(Operation<D, T, V>) - Method in interface com.apollographql.apollo.cache.normalized.ApolloStore
Read GraphQL operation from store.
read(Operation<D, T, V>, ResponseFieldMapper<D>, ResponseNormalizer<Record>, CacheHeaders) - Method in interface com.apollographql.apollo.cache.normalized.ApolloStore
Read GraphQL operation response from store.
read(ResponseFieldMapper<F>, CacheKey, Operation.Variables) - Method in interface com.apollographql.apollo.cache.normalized.ApolloStore
Read GraphQL fragment from store.
read(String, CacheHeaders) - Method in class com.apollographql.apollo.internal.cache.normalized.NoOpApolloStore
 
read(Collection<String>, CacheHeaders) - Method in class com.apollographql.apollo.internal.cache.normalized.NoOpApolloStore
 
read(Operation<D, T, V>) - Method in class com.apollographql.apollo.internal.cache.normalized.NoOpApolloStore
 
read(Operation<D, T, V>, ResponseFieldMapper<D>, ResponseNormalizer<Record>, CacheHeaders) - Method in class com.apollographql.apollo.internal.cache.normalized.NoOpApolloStore
 
read(ResponseFieldMapper<F>, CacheKey, Operation.Variables) - Method in class com.apollographql.apollo.internal.cache.normalized.NoOpApolloStore
 
read(String, CacheHeaders) - Method in interface com.apollographql.apollo.internal.cache.normalized.ReadableStore
 
read(Collection<String>, CacheHeaders) - Method in interface com.apollographql.apollo.internal.cache.normalized.ReadableStore
 
read(String, CacheHeaders) - Method in class com.apollographql.apollo.internal.cache.normalized.RealApolloStore
 
read(Collection<String>, CacheHeaders) - Method in class com.apollographql.apollo.internal.cache.normalized.RealApolloStore
 
read(Operation<D, T, V>) - Method in class com.apollographql.apollo.internal.cache.normalized.RealApolloStore
 
read(Operation<D, T, V>, ResponseFieldMapper<D>, ResponseNormalizer<Record>, CacheHeaders) - Method in class com.apollographql.apollo.internal.cache.normalized.RealApolloStore
 
read(ResponseFieldMapper<F>, CacheKey, Operation.Variables) - Method in class com.apollographql.apollo.internal.cache.normalized.RealApolloStore
 
ReadableStore - Interface in com.apollographql.apollo.internal.cache.normalized
 
readBoolean(ResponseField) - Method in class com.apollographql.apollo.internal.response.RealResponseReader
 
readConditional(ResponseField, ResponseReader.ConditionalTypeReader<T>) - Method in class com.apollographql.apollo.internal.response.RealResponseReader
 
readCustomType(ResponseField.CustomTypeField) - Method in class com.apollographql.apollo.internal.response.RealResponseReader
 
readDouble(ResponseField) - Method in class com.apollographql.apollo.internal.response.RealResponseReader
 
readInt(ResponseField) - Method in class com.apollographql.apollo.internal.response.RealResponseReader
 
readList(ResponseField, ResponseReader.ListReader<T>) - Method in class com.apollographql.apollo.internal.response.RealResponseReader
 
readLong(ResponseField) - Method in class com.apollographql.apollo.internal.response.RealResponseReader
 
readObject(ResponseField, ResponseReader.ObjectReader<T>) - Method in class com.apollographql.apollo.internal.response.RealResponseReader
 
readString(ResponseField) - Method in class com.apollographql.apollo.internal.response.RealResponseReader
 
readTransaction(Transaction<ReadableStore, R>) - Method in interface com.apollographql.apollo.cache.normalized.ApolloStore
Run a operation inside a read-lock.
readTransaction(Transaction<ReadableStore, R>) - Method in class com.apollographql.apollo.internal.cache.normalized.NoOpApolloStore
 
readTransaction(Transaction<ReadableStore, R>) - Method in class com.apollographql.apollo.internal.cache.normalized.RealApolloStore
 
RealApolloCall<T> - Class in com.apollographql.apollo.internal
 
RealApolloCall.Builder<T> - Class in com.apollographql.apollo.internal
 
RealApolloInterceptorChain - Class in com.apollographql.apollo.internal.interceptor
RealApolloInterceptorChain is responsible for building the entire interceptor chain.
RealApolloInterceptorChain(List<ApolloInterceptor>) - Constructor for class com.apollographql.apollo.internal.interceptor.RealApolloInterceptorChain
 
RealApolloPrefetch - Class in com.apollographql.apollo.internal
 
RealApolloPrefetch(Operation, HttpUrl, Call.Factory, ScalarTypeAdapters, Executor, ApolloLogger, ApolloCallTracker) - Constructor for class com.apollographql.apollo.internal.RealApolloPrefetch
 
RealApolloStore - Class in com.apollographql.apollo.internal.cache.normalized
 
RealApolloStore(NormalizedCache, CacheKeyResolver, ScalarTypeAdapters, Executor, ApolloLogger) - Constructor for class com.apollographql.apollo.internal.cache.normalized.RealApolloStore
 
RealApolloSubscriptionCall<T> - Class in com.apollographql.apollo.internal
 
RealApolloSubscriptionCall(Subscription<?, T, ?>, SubscriptionManager, ApolloStore, ApolloSubscriptionCall.CachePolicy, Executor, ResponseFieldMapperFactory, ApolloLogger) - Constructor for class com.apollographql.apollo.internal.RealApolloSubscriptionCall
 
RealCacheKeyBuilder - Class in com.apollographql.apollo.internal.cache.normalized
 
RealCacheKeyBuilder() - Constructor for class com.apollographql.apollo.internal.cache.normalized.RealCacheKeyBuilder
 
RealResponseReader<R> - Class in com.apollographql.apollo.internal.response
 
RealResponseReader(Operation.Variables, R, FieldValueResolver<R>, ScalarTypeAdapters, ResolveDelegate<R>) - Constructor for class com.apollographql.apollo.internal.response.RealResponseReader
 
RealResponseWriter - Class in com.apollographql.apollo.internal.response
 
RealResponseWriter(Operation.Variables, ScalarTypeAdapters) - Constructor for class com.apollographql.apollo.internal.response.RealResponseWriter
 
RealSubscriptionManager - Class in com.apollographql.apollo.internal.subscription
 
RealSubscriptionManager(ScalarTypeAdapters, SubscriptionTransport.Factory, SubscriptionConnectionParamsProvider, Executor, long, Supplier<ResponseNormalizer<Map<String, Object>>>) - Constructor for class com.apollographql.apollo.internal.subscription.RealSubscriptionManager
 
Record - Class in com.apollographql.apollo.cache.normalized
A normalized entry that corresponds to a response object.
Record.Builder - Class in com.apollographql.apollo.cache.normalized
 
RecordFieldJsonAdapter - Class in com.apollographql.apollo.cache.normalized
An adapter used to serialize and deserialize Record fields.
records() - Method in class com.apollographql.apollo.internal.cache.normalized.ResponseNormalizer
 
RecordSet - Class in com.apollographql.apollo.cache.normalized
 
RecordSet() - Constructor for class com.apollographql.apollo.cache.normalized.RecordSet
 
RecordWeigher - Class in com.apollographql.apollo.internal.cache.normalized
 
RecordWeigher() - Constructor for class com.apollographql.apollo.internal.cache.normalized.RecordWeigher
 
referencedFields() - Method in class com.apollographql.apollo.cache.normalized.Record
Returns the list of referenced cache fields
refetch() - Method in interface com.apollographql.apollo.ApolloQueryWatcher
Re-fetches watched GraphQL query.
refetchQueries(OperationName...) - Method in interface com.apollographql.apollo.ApolloMutationCall
Sets a list of ApolloQueryWatcher query names to be re-fetched once this mutation completed.
refetchQueries(Query...) - Method in interface com.apollographql.apollo.ApolloMutationCall
Sets a list of Query to be re-fetched once this mutation completed.
refetchQueries(List<Query>) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
 
refetchQueries(OperationName...) - Method in class com.apollographql.apollo.internal.RealApolloCall
 
refetchQueries(Query...) - Method in class com.apollographql.apollo.internal.RealApolloCall
 
refetchQueryNames(List<OperationName>) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
 
refetchResponseFetcher(ResponseFetcher) - Method in interface com.apollographql.apollo.ApolloQueryWatcher
 
remove(CacheKey) - Method in interface com.apollographql.apollo.cache.normalized.ApolloStore
Remove cache record by the key
remove(CacheKey, boolean) - Method in interface com.apollographql.apollo.cache.normalized.ApolloStore
Remove cache record by the key
remove(List<CacheKey>) - Method in interface com.apollographql.apollo.cache.normalized.ApolloStore
Remove cache records by the list of keys
remove(CacheKey, boolean) - Method in class com.apollographql.apollo.cache.normalized.lru.LruNormalizedCache
 
remove(CacheKey) - Method in class com.apollographql.apollo.cache.normalized.NormalizedCache
Remove cached record by the key
remove(CacheKey, boolean) - Method in class com.apollographql.apollo.cache.normalized.NormalizedCache
Remove cached record by the key
remove(CacheKey, boolean) - Method in class com.apollographql.apollo.cache.normalized.OptimisticNormalizedCache
 
remove(CacheKey, boolean) - Method in class com.apollographql.apollo.internal.cache.normalized.NoOpApolloStore
 
remove(CacheKey) - Method in class com.apollographql.apollo.internal.cache.normalized.NoOpApolloStore
 
remove(List<CacheKey>) - Method in class com.apollographql.apollo.internal.cache.normalized.NoOpApolloStore
 
remove(CacheKey) - Method in class com.apollographql.apollo.internal.cache.normalized.RealApolloStore
 
remove(CacheKey, boolean) - Method in class com.apollographql.apollo.internal.cache.normalized.RealApolloStore
 
remove(List<CacheKey>) - Method in class com.apollographql.apollo.internal.cache.normalized.RealApolloStore
 
removeOnStateChangeListener(OnSubscriptionManagerStateChangeListener) - Method in class com.apollographql.apollo.internal.subscription.NoOpSubscriptionManager
 
removeOnStateChangeListener(OnSubscriptionManagerStateChangeListener) - Method in class com.apollographql.apollo.internal.subscription.RealSubscriptionManager
 
removeOnStateChangeListener(OnSubscriptionManagerStateChangeListener) - Method in interface com.apollographql.apollo.internal.subscription.SubscriptionManager
Removes listener for subscription manager state changes.
removeOnSubscriptionManagerStateChangeListener(OnSubscriptionManagerStateChangeListener) - Method in class com.apollographql.apollo.ApolloClient
Removes listener for subscription manager state changes.
removeOptimisticUpdates(UUID) - Method in class com.apollographql.apollo.cache.normalized.OptimisticNormalizedCache
 
requestHeaders(RequestHeaders) - Method in interface com.apollographql.apollo.ApolloMutationCall
Sets the RequestHeaders to use for this call.
requestHeaders(RequestHeaders) - Method in interface com.apollographql.apollo.ApolloQueryCall
Sets the RequestHeaders to use for this call.
requestHeaders(RequestHeaders) - Method in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest.Builder
 
requestHeaders - Variable in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest
 
requestHeaders(RequestHeaders) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
 
requestHeaders(RequestHeaders) - Method in class com.apollographql.apollo.internal.RealApolloCall
 
RequestHeaders - Class in com.apollographql.apollo.request
A key/value collection of HTTP headers which are added to a request.
RequestHeaders.Builder - Class in com.apollographql.apollo.request
 
resolveCacheKey(ResponseField, R) - Method in class com.apollographql.apollo.internal.cache.normalized.ResponseNormalizer
 
ResolveDelegate<R> - Interface in com.apollographql.apollo.internal.response
 
resolveFields(ResolveDelegate<Map<String, Object>>) - Method in class com.apollographql.apollo.internal.response.RealResponseWriter
 
response - Variable in class com.apollographql.apollo.internal.subscription.SubscriptionResponse
 
responseFetcher(ResponseFetcher) - Method in interface com.apollographql.apollo.ApolloQueryCall
Sets the ResponseFetcher strategy for an ApolloCall object.
ResponseFetcher - Interface in com.apollographql.apollo.fetcher
A ResponseFetcher is an ApolloInterceptor inserted at the beginning of a request chain.
responseFetcher(ResponseFetcher) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
 
responseFetcher(ResponseFetcher) - Method in class com.apollographql.apollo.internal.RealApolloCall
 
responseFieldMapperFactory(ResponseFieldMapperFactory) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
 
ResponseFieldMapperFactory - Class in com.apollographql.apollo.internal
 
ResponseFieldMapperFactory() - Constructor for class com.apollographql.apollo.internal.ResponseFieldMapperFactory
 
responseJsonStreamReader(BufferedSourceJsonReader) - Static method in class com.apollographql.apollo.internal.json.ApolloJsonReader
 
ResponseNormalizer<R> - Class in com.apollographql.apollo.internal.cache.normalized
 
ResponseNormalizer() - Constructor for class com.apollographql.apollo.internal.cache.normalized.ResponseNormalizer
 
rollbackOptimisticUpdates(UUID) - Method in interface com.apollographql.apollo.cache.normalized.ApolloStore
Rollback operation data optimistic updates.
rollbackOptimisticUpdates(UUID) - Method in class com.apollographql.apollo.internal.cache.normalized.NoOpApolloStore
 
rollbackOptimisticUpdates(UUID) - Method in class com.apollographql.apollo.internal.cache.normalized.RealApolloStore
 
rollbackOptimisticUpdatesAndPublish(UUID) - Method in interface com.apollographql.apollo.cache.normalized.ApolloStore
Rollback operation data optimistic updates and publish changes of Records which have changed, that will notify any that depends on these Record to re-fetch.
rollbackOptimisticUpdatesAndPublish(UUID) - Method in class com.apollographql.apollo.internal.cache.normalized.NoOpApolloStore
 
rollbackOptimisticUpdatesAndPublish(UUID) - Method in class com.apollographql.apollo.internal.cache.normalized.RealApolloStore
 
rootKeyForOperation(Operation) - Static method in class com.apollographql.apollo.cache.normalized.CacheKeyResolver
 

S

scalarTypeAdapters(ScalarTypeAdapters) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
 
send(OperationClientMessage) - Method in interface com.apollographql.apollo.subscription.SubscriptionTransport
Sends OperationClientMessage message to the subscription server.
send(OperationClientMessage) - Method in class com.apollographql.apollo.subscription.WebSocketSubscriptionTransport
 
sendQueryDocument(boolean) - Method in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest.Builder
 
sendQueryDocument - Variable in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest
 
serialize() - Method in class com.apollographql.apollo.cache.normalized.CacheReference
 
serverUrl(HttpUrl) - Method in class com.apollographql.apollo.ApolloClient.Builder
Set the API server's base url.
serverUrl(String) - Method in class com.apollographql.apollo.ApolloClient.Builder
Set the API server's base url.
serverUrl(HttpUrl) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
 
setIdleResourceCallback(IdleResourceCallback) - Method in class com.apollographql.apollo.internal.ApolloCallTracker
Registers idleResourceCallback which is invoked when the apolloClient becomes idle.
SimpleStack<E> - Class in com.apollographql.apollo.internal.util
Simple stack data structure which accepts null elements.
SimpleStack() - Constructor for class com.apollographql.apollo.internal.util.SimpleStack
 
SimpleStack(int) - Constructor for class com.apollographql.apollo.internal.util.SimpleStack
 
sizeEstimateBytes() - Method in class com.apollographql.apollo.cache.normalized.Record
 
SortedInputFieldMapWriter - Class in com.apollographql.apollo.internal.json
 
SortedInputFieldMapWriter(Comparator<String>) - Constructor for class com.apollographql.apollo.internal.json.SortedInputFieldMapWriter
 
start() - Method in class com.apollographql.apollo.internal.subscription.NoOpSubscriptionManager
 
start() - Method in class com.apollographql.apollo.internal.subscription.RealSubscriptionManager
Set the RealSubscriptionManager to a connectible state.
start() - Method in interface com.apollographql.apollo.internal.subscription.SubscriptionManager
Put the SubscriptionManager in a connectible state.
Start(String, Subscription<?, ?, ?>, ScalarTypeAdapters) - Constructor for class com.apollographql.apollo.subscription.OperationClientMessage.Start
 
stop() - Method in class com.apollographql.apollo.internal.subscription.NoOpSubscriptionManager
 
stop() - Method in class com.apollographql.apollo.internal.subscription.RealSubscriptionManager
Unsubscribe from all active subscriptions, and disconnect the web socket.
stop() - Method in interface com.apollographql.apollo.internal.subscription.SubscriptionManager
Unsubscribe from all active subscriptions, and disconnect the web socket.
Stop(String) - Constructor for class com.apollographql.apollo.subscription.OperationClientMessage.Stop
 
subscribe(Subscription<D, T, V>) - Method in class com.apollographql.apollo.ApolloClient
 
subscribe(Subscription<D, T, V>) - Method in interface com.apollographql.apollo.ApolloSubscriptionCall.Factory
Creates and prepares a new ApolloSubscriptionCall call.
subscribe(ApolloStore.RecordChangeSubscriber) - Method in interface com.apollographql.apollo.cache.normalized.ApolloStore
 
subscribe(ApolloStore.RecordChangeSubscriber) - Method in class com.apollographql.apollo.internal.cache.normalized.NoOpApolloStore
 
subscribe(ApolloStore.RecordChangeSubscriber) - Method in class com.apollographql.apollo.internal.cache.normalized.RealApolloStore
 
subscribe(Subscription<?, T, ?>, SubscriptionManager.Callback<T>) - Method in class com.apollographql.apollo.internal.subscription.NoOpSubscriptionManager
 
subscribe(Subscription<?, T, ?>, SubscriptionManager.Callback<T>) - Method in class com.apollographql.apollo.internal.subscription.RealSubscriptionManager
 
subscribe(Subscription<?, T, ?>, SubscriptionManager.Callback<T>) - Method in interface com.apollographql.apollo.internal.subscription.SubscriptionManager
Starts provided subscription.
subscription - Variable in class com.apollographql.apollo.internal.subscription.SubscriptionResponse
 
subscription - Variable in class com.apollographql.apollo.subscription.OperationClientMessage.Start
 
subscriptionConnectionParams(SubscriptionConnectionParams) - Method in class com.apollographql.apollo.ApolloClient.Builder
Sets up subscription connection parameters to be sent to the server when connection is established with subscription server
subscriptionConnectionParams(SubscriptionConnectionParamsProvider) - Method in class com.apollographql.apollo.ApolloClient.Builder
Sets up subscription connection parameters to be sent to the server when connection is established with subscription server
SubscriptionConnectionParams - Class in com.apollographql.apollo.subscription
Represents connection parameters to be sent after connection with subscription server is established.
SubscriptionConnectionParams() - Constructor for class com.apollographql.apollo.subscription.SubscriptionConnectionParams
 
SubscriptionConnectionParams(Map<? extends String, ?>) - Constructor for class com.apollographql.apollo.subscription.SubscriptionConnectionParams
 
SubscriptionConnectionParamsProvider - Interface in com.apollographql.apollo.subscription
Provides instance of SubscriptionConnectionParams to be sent to the subscription server after connection is established.
SubscriptionConnectionParamsProvider.Const - Class in com.apollographql.apollo.subscription
 
subscriptionHeartbeatTimeout(long, TimeUnit) - Method in class com.apollographql.apollo.ApolloClient.Builder
Sets up subscription heartbeat message timeout.
subscriptionId - Variable in class com.apollographql.apollo.subscription.OperationClientMessage.Start
 
subscriptionId - Variable in class com.apollographql.apollo.subscription.OperationClientMessage.Stop
 
SubscriptionManager - Interface in com.apollographql.apollo.internal.subscription
 
SubscriptionManager.Callback<T> - Interface in com.apollographql.apollo.internal.subscription
 
SubscriptionManagerState - Enum in com.apollographql.apollo.subscription
Subscription manager state.
SubscriptionResponse<T> - Class in com.apollographql.apollo.internal.subscription
 
SubscriptionResponse(Subscription<?, T, ?>, Response<T>, Collection<Record>) - Constructor for class com.apollographql.apollo.internal.subscription.SubscriptionResponse
 
SubscriptionTransport - Interface in com.apollographql.apollo.subscription
ApolloSubscriptionCall is an abstraction for network transport layer that handles connection to the subscription server.
SubscriptionTransport.Callback - Interface in com.apollographql.apollo.subscription
Communicates responses from a subscription server.
SubscriptionTransport.Factory - Interface in com.apollographql.apollo.subscription
Factory for creating new SubscriptionTransport transport layer.
subscriptionTransportFactory(SubscriptionTransport.Factory) - Method in class com.apollographql.apollo.ApolloClient.Builder
Sets up subscription transport factory to be used for subscription server communication.

T

Terminate() - Constructor for class com.apollographql.apollo.subscription.OperationClientMessage.Terminate
 
toBuilder() - Method in class com.apollographql.apollo.cache.CacheHeaders
 
toBuilder() - Method in class com.apollographql.apollo.cache.normalized.Record
 
toBuilder() - Method in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest
 
toBuilder() - Method in class com.apollographql.apollo.internal.RealApolloCall
 
toBuilder() - Method in class com.apollographql.apollo.request.RequestHeaders
 
toJson(Map<String, Object>) - Method in class com.apollographql.apollo.cache.normalized.RecordFieldJsonAdapter
 
toJsonString() - Method in class com.apollographql.apollo.subscription.OperationClientMessage
 
toString() - Method in class com.apollographql.apollo.cache.normalized.CacheKey
 
toString() - Method in class com.apollographql.apollo.cache.normalized.CacheReference
 
toString() - Method in class com.apollographql.apollo.cache.normalized.Record
 
tracker(ApolloCallTracker) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
 
Transaction<T,R> - Interface in com.apollographql.apollo.internal.cache.normalized
 
TYPE - Static variable in class com.apollographql.apollo.subscription.OperationServerMessage.Complete
 
TYPE - Static variable in class com.apollographql.apollo.subscription.OperationServerMessage.ConnectionAcknowledge
 
TYPE - Static variable in class com.apollographql.apollo.subscription.OperationServerMessage.ConnectionError
 
TYPE - Static variable in class com.apollographql.apollo.subscription.OperationServerMessage.ConnectionKeepAlive
 
TYPE - Static variable in class com.apollographql.apollo.subscription.OperationServerMessage.Data
 
TYPE - Static variable in class com.apollographql.apollo.subscription.OperationServerMessage.Error
 

U

uniqueId - Variable in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest
 
unsubscribe(ApolloStore.RecordChangeSubscriber) - Method in interface com.apollographql.apollo.cache.normalized.ApolloStore
 
unsubscribe(ApolloStore.RecordChangeSubscriber) - Method in class com.apollographql.apollo.internal.cache.normalized.NoOpApolloStore
 
unsubscribe(ApolloStore.RecordChangeSubscriber) - Method in class com.apollographql.apollo.internal.cache.normalized.RealApolloStore
 
unsubscribe(Subscription<?, ?, ?>) - Method in class com.apollographql.apollo.internal.subscription.NoOpSubscriptionManager
 
unsubscribe(Subscription) - Method in class com.apollographql.apollo.internal.subscription.RealSubscriptionManager
 
unsubscribe(Subscription<?, ?, ?>) - Method in interface com.apollographql.apollo.internal.subscription.SubscriptionManager
Stops provided subscription.
Unsupported(String) - Constructor for class com.apollographql.apollo.subscription.OperationServerMessage.Unsupported
 
useHttpGetMethodForPersistedQueries(boolean) - Method in class com.apollographql.apollo.ApolloClient.Builder
Sets flag whether GraphQL Persisted queries should be sent via HTTP GET requests.
useHttpGetMethodForPersistedQueries(boolean) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
 
useHttpGetMethodForQueries(boolean) - Method in class com.apollographql.apollo.ApolloClient.Builder
Sets flag whether GraphQL queries should be sent via HTTP GET requests.
useHttpGetMethodForQueries(boolean) - Method in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest.Builder
 
useHttpGetMethodForQueries - Variable in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest
 
useHttpGetMethodForQueries(boolean) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
 

V

valueFor(Record, ResponseField) - Method in class com.apollographql.apollo.internal.field.CacheFieldValueResolver
 
valueFor(R, ResponseField) - Method in interface com.apollographql.apollo.internal.field.FieldValueResolver
 
valueFor(Map<String, Object>, ResponseField) - Method in class com.apollographql.apollo.internal.field.MapFieldValueResolver
 
valueOf(String) - Static method in enum com.apollographql.apollo.ApolloCall.StatusEvent
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.apollographql.apollo.ApolloSubscriptionCall.CachePolicy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.apollographql.apollo.interceptor.ApolloInterceptor.FetchSourceType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.apollographql.apollo.subscription.SubscriptionManagerState
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.apollographql.apollo.ApolloCall.StatusEvent
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.apollographql.apollo.ApolloSubscriptionCall.CachePolicy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.apollographql.apollo.interceptor.ApolloInterceptor.FetchSourceType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.apollographql.apollo.subscription.SubscriptionManagerState
Returns an array containing the constants of this enum type, in the order they are declared.

W

watcher() - Method in interface com.apollographql.apollo.ApolloQueryCall
Returns a watcher to watch the changes to the normalized cache records this query depends on or when mutation call triggers to re-fetch this query after it completes via ApolloMutationCall.refetchQueries(OperationName...)
watcher() - Method in class com.apollographql.apollo.internal.RealApolloCall
 
WebSocketSubscriptionTransport - Class in com.apollographql.apollo.subscription
SubscriptionTransport implementation based on WebSocket.
WebSocketSubscriptionTransport.Factory - Class in com.apollographql.apollo.subscription
 
willResolve(ResponseField, Operation.Variables) - Method in class com.apollographql.apollo.internal.cache.normalized.ResponseNormalizer
 
willResolve(ResponseField, Operation.Variables) - Method in interface com.apollographql.apollo.internal.response.ResolveDelegate
 
willResolveElement(int) - Method in class com.apollographql.apollo.internal.cache.normalized.ResponseNormalizer
 
willResolveElement(int) - Method in interface com.apollographql.apollo.internal.response.ResolveDelegate
 
willResolveObject(ResponseField, Optional<R>) - Method in class com.apollographql.apollo.internal.cache.normalized.ResponseNormalizer
 
willResolveObject(ResponseField, Optional<R>) - Method in interface com.apollographql.apollo.internal.response.ResolveDelegate
 
willResolveRootQuery(Operation) - Method in class com.apollographql.apollo.internal.cache.normalized.ResponseNormalizer
 
willResolveRootQuery(Operation) - Method in interface com.apollographql.apollo.internal.response.ResolveDelegate
 
write(Operation<D, T, V>, D) - Method in interface com.apollographql.apollo.cache.normalized.ApolloStore
Write operation to the store.
write(GraphqlFragment, CacheKey, Operation.Variables) - Method in interface com.apollographql.apollo.cache.normalized.ApolloStore
Write fragment to the store.
write(Operation<D, T, V>, D) - Method in class com.apollographql.apollo.internal.cache.normalized.NoOpApolloStore
 
write(GraphqlFragment, CacheKey, Operation.Variables) - Method in class com.apollographql.apollo.internal.cache.normalized.NoOpApolloStore
 
write(Operation<D, T, V>, D) - Method in class com.apollographql.apollo.internal.cache.normalized.RealApolloStore
 
write(GraphqlFragment, CacheKey, Operation.Variables) - Method in class com.apollographql.apollo.internal.cache.normalized.RealApolloStore
 
write(JsonWriter) - Method in class com.apollographql.apollo.response.OperationJsonWriter
 
WriteableStore - Interface in com.apollographql.apollo.internal.cache.normalized
 
writeAndPublish(Operation<D, T, V>, D) - Method in interface com.apollographql.apollo.cache.normalized.ApolloStore
Write operation to the store and publish changes of Record which have changed, that will notify any ApolloQueryWatcher that depends on these Record to re-fetch.
writeAndPublish(GraphqlFragment, CacheKey, Operation.Variables) - Method in interface com.apollographql.apollo.cache.normalized.ApolloStore
Write fragment to the store and publish changes of Record which have changed, that will notify any ApolloQueryWatcher that depends on these Record to re-fetch.
writeAndPublish(Operation<D, T, V>, D) - Method in class com.apollographql.apollo.internal.cache.normalized.NoOpApolloStore
 
writeAndPublish(GraphqlFragment, CacheKey, Operation.Variables) - Method in class com.apollographql.apollo.internal.cache.normalized.NoOpApolloStore
 
writeAndPublish(Operation<D, T, V>, D) - Method in class com.apollographql.apollo.internal.cache.normalized.RealApolloStore
 
writeAndPublish(GraphqlFragment, CacheKey, Operation.Variables) - Method in class com.apollographql.apollo.internal.cache.normalized.RealApolloStore
 
writeBoolean(String, Boolean) - Method in class com.apollographql.apollo.internal.json.SortedInputFieldMapWriter
 
writeBoolean(ResponseField, Boolean) - Method in class com.apollographql.apollo.internal.response.RealResponseWriter
 
writeCustom(String, ScalarType, Object) - Method in class com.apollographql.apollo.internal.json.SortedInputFieldMapWriter
 
writeCustom(ResponseField.CustomTypeField, Object) - Method in class com.apollographql.apollo.internal.response.RealResponseWriter
 
writeDouble(String, Double) - Method in class com.apollographql.apollo.internal.json.SortedInputFieldMapWriter
 
writeDouble(ResponseField, Double) - Method in class com.apollographql.apollo.internal.response.RealResponseWriter
 
writeInt(String, Integer) - Method in class com.apollographql.apollo.internal.json.SortedInputFieldMapWriter
 
writeInt(ResponseField, Integer) - Method in class com.apollographql.apollo.internal.response.RealResponseWriter
 
writeList(String, InputFieldWriter.ListWriter) - Method in class com.apollographql.apollo.internal.json.SortedInputFieldMapWriter
 
writeList(ResponseField, List, ResponseWriter.ListWriter) - Method in class com.apollographql.apollo.internal.response.RealResponseWriter
 
writeLong(String, Long) - Method in class com.apollographql.apollo.internal.json.SortedInputFieldMapWriter
 
writeLong(ResponseField, Long) - Method in class com.apollographql.apollo.internal.response.RealResponseWriter
 
writeMap(String, Map<String, Object>) - Method in class com.apollographql.apollo.internal.json.SortedInputFieldMapWriter
 
writeNumber(String, Number) - Method in class com.apollographql.apollo.internal.json.SortedInputFieldMapWriter
 
writeObject(String, InputFieldMarshaller) - Method in class com.apollographql.apollo.internal.json.SortedInputFieldMapWriter
 
writeObject(ResponseField, ResponseFieldMarshaller) - Method in class com.apollographql.apollo.internal.response.RealResponseWriter
 
writeOptimisticUpdates(Operation<D, T, V>, D, UUID) - Method in interface com.apollographql.apollo.cache.normalized.ApolloStore
Write operation data to the optimistic store.
writeOptimisticUpdates(Operation<D, T, V>, D, UUID) - Method in class com.apollographql.apollo.internal.cache.normalized.NoOpApolloStore
 
writeOptimisticUpdates(Operation<D, T, V>, D, UUID) - Method in class com.apollographql.apollo.internal.cache.normalized.RealApolloStore
 
writeOptimisticUpdatesAndPublish(Operation<D, T, V>, D, UUID) - Method in interface com.apollographql.apollo.cache.normalized.ApolloStore
Write operation data to the optimistic store and publish changes of Records which have changed, that will notify any that depends on these Record to re-fetch.
writeOptimisticUpdatesAndPublish(Operation<D, T, V>, D, UUID) - Method in class com.apollographql.apollo.internal.cache.normalized.NoOpApolloStore
 
writeOptimisticUpdatesAndPublish(Operation<D, T, V>, D, UUID) - Method in class com.apollographql.apollo.internal.cache.normalized.RealApolloStore
 
writeString(String, String) - Method in class com.apollographql.apollo.internal.json.SortedInputFieldMapWriter
 
writeString(ResponseField, String) - Method in class com.apollographql.apollo.internal.response.RealResponseWriter
 
writeToJson(JsonWriter) - Method in class com.apollographql.apollo.subscription.OperationClientMessage.Init
 
writeToJson(JsonWriter) - Method in class com.apollographql.apollo.subscription.OperationClientMessage.Start
 
writeToJson(JsonWriter) - Method in class com.apollographql.apollo.subscription.OperationClientMessage.Stop
 
writeToJson(JsonWriter) - Method in class com.apollographql.apollo.subscription.OperationClientMessage.Terminate
 
writeToJson(JsonWriter) - Method in class com.apollographql.apollo.subscription.OperationClientMessage
 
writeTransaction(Transaction<WriteableStore, R>) - Method in interface com.apollographql.apollo.cache.normalized.ApolloStore
Run a operation inside a write-lock.
writeTransaction(Transaction<WriteableStore, R>) - Method in class com.apollographql.apollo.internal.cache.normalized.NoOpApolloStore
 
writeTransaction(Transaction<WriteableStore, R>) - Method in class com.apollographql.apollo.internal.cache.normalized.RealApolloStore
 
A B C D E F G H I K L M N O P Q R S T U V W