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

A

abort() - Method in interface com.apollographql.apollo.cache.http.HttpCacheRecordEditor
 
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
 
addHeader(String, String) - Method in class com.apollographql.apollo.cache.CacheHeaders.Builder
 
addHeaders(Map<String, String>) - Method in class com.apollographql.apollo.cache.CacheHeaders.Builder
 
allRecords() - Method in class com.apollographql.apollo.cache.normalized.RecordSet
 
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.
ApolloCacheInterceptor(ApolloStore, CacheControl, CacheHeaders, ResponseFieldMapper, Map<ScalarType, CustomTypeAdapter>, ExecutorService, 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.
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.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
 
ApolloLogger - Class in com.apollographql.apollo.internal.util
 
ApolloLogger(Optional<Logger>) - Constructor for class com.apollographql.apollo.internal.util.ApolloLogger
 
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, Map<ScalarType, CustomTypeAdapter>, 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
 
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, Moshi, 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).
applicationInterceptors(List<ApolloInterceptor>) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
 

B

beginArray() - Method in class com.apollographql.apollo.internal.json.BufferedSourceJsonReader
 
beginArray() - Method in class com.apollographql.apollo.internal.json.JsonReader
Consumes the next token from the JSON stream and asserts that it is the beginning of a new array.
beginObject() - Method in class com.apollographql.apollo.internal.json.BufferedSourceJsonReader
 
beginObject() - Method in class com.apollographql.apollo.internal.json.JsonReader
Consumes the next token from the JSON stream and asserts that it is the beginning of a new object.
bodySink() - Method in interface com.apollographql.apollo.cache.http.HttpCacheRecordEditor
 
bodySource() - Method in interface com.apollographql.apollo.cache.http.HttpCacheRecord
 
bufferedSourceJsonReader(BufferedSource) - Static method in class com.apollographql.apollo.internal.json.ApolloJsonReader
 
BufferedSourceJsonReader - Class in com.apollographql.apollo.internal.json
TODO add Modifications copyright
BufferedSourceJsonReader(BufferedSource) - Constructor for class com.apollographql.apollo.internal.json.BufferedSourceJsonReader
 
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.internal.RealApolloCall.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) - Constructor for class com.apollographql.apollo.cache.normalized.Record.Builder
 
Builder(String, Map<String, Object>) - Constructor for class com.apollographql.apollo.cache.normalized.Record.Builder
 
builder() - Static method in class com.apollographql.apollo.internal.RealApolloCall
 
byteChange(Object, Object) - Static method in class com.apollographql.apollo.internal.cache.normalized.RecordWeigher
 

C

CACHE_EXPIRE_AFTER_READ_HEADER - Static variable in class com.apollographql.apollo.internal.cache.http.HttpCache
 
CACHE_EXPIRE_TIMEOUT_HEADER - Static variable in class com.apollographql.apollo.internal.cache.http.HttpCache
 
CACHE_FETCH_STRATEGY_HEADER - Static variable in class com.apollographql.apollo.internal.cache.http.HttpCache
 
CACHE_FIRST - Static variable in class com.apollographql.apollo.cache.http.HttpCachePolicy
Signals the apollo client to first fetch the GraphQL query response from the http cache.
CACHE_KEY_HEADER - Static variable in class com.apollographql.apollo.internal.cache.http.HttpCache
 
CACHE_ONLY - Static variable in class com.apollographql.apollo.cache.http.HttpCachePolicy
Signals the apollo client to fetch the GraphQL query response from the http cache only.
CACHE_PREFETCH_HEADER - Static variable in class com.apollographql.apollo.internal.cache.http.HttpCache
 
CACHE_SERVED_DATE_HEADER - Static variable in class com.apollographql.apollo.internal.cache.http.HttpCache
 
cacheControl(CacheControl) - Method in interface com.apollographql.apollo.ApolloCall
Sets the CacheControl strategy for an ApolloCall object.
cacheControl(CacheControl) - Method in interface com.apollographql.apollo.ApolloQueryCall
 
CacheControl - Enum in com.apollographql.apollo.cache.normalized
CacheControl represents strategies for what order a NormalizedCache will be accessed with respect to the network.
cacheControl(CacheControl) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
 
cacheControl(CacheControl) - Method in class com.apollographql.apollo.internal.RealApolloCall
 
CacheFieldValueResolver - Class in com.apollographql.apollo.internal.field
 
CacheFieldValueResolver(ReadableStore, Operation.Variables, CacheKeyResolver, CacheHeaders) - Constructor for class com.apollographql.apollo.internal.field.CacheFieldValueResolver
 
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
 
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.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.
cacheKey(RequestBody) - Static method in class com.apollographql.apollo.internal.interceptor.ApolloServerInterceptor
 
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
 
cacheRecord(String) - Method in class com.apollographql.apollo.cache.http.DiskLruHttpCacheStore
 
cacheRecord(String) - Method in interface com.apollographql.apollo.cache.http.HttpCacheStore
Returns ResponseCacheRecord for the entry named cacheKey or null if it doesn't exist or is not currently readable.
cacheRecordEditor(String) - Method in class com.apollographql.apollo.cache.http.DiskLruHttpCacheStore
 
cacheRecordEditor(String) - Method in interface com.apollographql.apollo.cache.http.HttpCacheStore
Returns an editor for the entry named cacheKey or null if another edit is in progress.
cacheRecords - Variable in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorResponse
 
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
 
cancel() - Method in class com.apollographql.apollo.internal.RealApolloCall
 
cancel() - Method in class com.apollographql.apollo.internal.RealApolloPrefetch
 
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
 
clear() - Method in class com.apollographql.apollo.internal.cache.http.HttpCache
 
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.internal.cache.normalized.NoOpApolloStore
 
clearAll() - Method in class com.apollographql.apollo.internal.cache.normalized.RealApolloStore
 
clearAll() - Method in interface com.apollographql.apollo.internal.cache.normalized.WriteableStore
 
clearNormalizedCache() - Method in class com.apollographql.apollo.ApolloClient
Clear all entries from the normalized cache.
clearPrimaryCache() - Method in class com.apollographql.apollo.cache.normalized.lru.LruNormalizedCache
Clears all records from the in-memory LRU cache.
clearSecondaryCache() - Method in class com.apollographql.apollo.cache.normalized.lru.LruNormalizedCache
Clear all records from the secondary 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 class com.apollographql.apollo.internal.RealApolloCall
 
clone() - Method in class com.apollographql.apollo.internal.RealApolloPrefetch
 
close() - Method in interface com.apollographql.apollo.cache.http.HttpCacheRecord
 
close() - Method in class com.apollographql.apollo.internal.json.BufferedSourceJsonReader
 
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.http - package com.apollographql.apollo.cache.http
 
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.interceptor - package com.apollographql.apollo.interceptor
 
com.apollographql.apollo.internal - package com.apollographql.apollo.internal
 
com.apollographql.apollo.internal.cache.http - package com.apollographql.apollo.internal.cache.http
 
com.apollographql.apollo.internal.cache.normalized - package com.apollographql.apollo.internal.cache.normalized
 
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.reader - package com.apollographql.apollo.internal.reader
 
com.apollographql.apollo.internal.util - package com.apollographql.apollo.internal.util
 
com.apollographql.apollo.json - package com.apollographql.apollo.json
 
commit() - Method in interface com.apollographql.apollo.cache.http.HttpCacheRecordEditor
 
create(Moshi) - Static method in class com.apollographql.apollo.cache.normalized.RecordFieldAdapter
 
createNormalizedCache(RecordFieldAdapter) - Method in class com.apollographql.apollo.cache.normalized.lru.LruNormalizedCacheFactory
 
createNormalizedCache(RecordFieldAdapter) - Method in interface com.apollographql.apollo.cache.normalized.NormalizedCacheFactory
 
CustomTypeAdapter<T> - Interface in com.apollographql.apollo
CustomTypeAdapter class represents the adapter for converting GraphQL custom scalar types to Java objects.
customTypeAdapters(Map<ScalarType, CustomTypeAdapter>) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
 

D

d(String, Object...) - Method in class com.apollographql.apollo.internal.util.ApolloLogger
 
d(Throwable, String, Object...) - Method in class com.apollographql.apollo.internal.util.ApolloLogger
 
DEBUG - Static variable in interface com.apollographql.apollo.Logger
 
decode(String) - Method in interface com.apollographql.apollo.CustomTypeAdapter
De-serializes the value to the custom scalar type.
DEFAULT - Static variable in class com.apollographql.apollo.cache.normalized.CacheKeyResolver
 
defaultCacheControl(CacheControl) - Method in class com.apollographql.apollo.ApolloClient.Builder
Set the default CacheControl strategy that will be used for each new ApolloCall.
defaultCacheHeaders(CacheHeaders) - Method in class com.apollographql.apollo.ApolloClient.Builder
Set the default CacheHeaders strategy that will be passed to 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.
delete() - Method in class com.apollographql.apollo.cache.http.DiskLruHttpCacheStore
 
delete() - Method in interface com.apollographql.apollo.cache.http.HttpCacheStore
Closes the cache and deletes all of its stored values.
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.reader.ResponseReaderShadow
 
didResolveElement(int) - Method in class com.apollographql.apollo.internal.cache.normalized.ResponseNormalizer
 
didResolveElement(int) - Method in interface com.apollographql.apollo.internal.reader.ResponseReaderShadow
 
didResolveList(List) - Method in class com.apollographql.apollo.internal.cache.normalized.ResponseNormalizer
 
didResolveList(List) - Method in interface com.apollographql.apollo.internal.reader.ResponseReaderShadow
 
didResolveNull() - Method in class com.apollographql.apollo.internal.cache.normalized.ResponseNormalizer
 
didResolveNull() - Method in interface com.apollographql.apollo.internal.reader.ResponseReaderShadow
 
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.reader.ResponseReaderShadow
 
didResolveScalar(Object) - Method in class com.apollographql.apollo.internal.cache.normalized.ResponseNormalizer
 
didResolveScalar(Object) - Method in interface com.apollographql.apollo.internal.reader.ResponseReaderShadow
 
DiskLruHttpCacheStore - Class in com.apollographql.apollo.cache.http
 
DiskLruHttpCacheStore(File, long) - Constructor for class com.apollographql.apollo.cache.http.DiskLruHttpCacheStore
 
DiskLruHttpCacheStore(FileSystem, File, long) - Constructor for class com.apollographql.apollo.cache.http.DiskLruHttpCacheStore
 
dispatcher(ExecutorService) - Method in class com.apollographql.apollo.ApolloClient.Builder
The #ExecutorService to use for dispatching the requests.
dispatcher(ExecutorService) - 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.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.

E

e(String, Object...) - Method in class com.apollographql.apollo.internal.util.ApolloLogger
 
e(Throwable, String, Object...) - Method in class com.apollographql.apollo.internal.util.ApolloLogger
 
encode(T) - Method in interface com.apollographql.apollo.CustomTypeAdapter
Serializes the custom scalar type to the corresponding string value.
endArray() - Method in class com.apollographql.apollo.internal.json.BufferedSourceJsonReader
 
endArray() - Method in class com.apollographql.apollo.internal.json.JsonReader
Consumes the next token from the JSON stream and asserts that it is the end of the current array.
endObject() - Method in class com.apollographql.apollo.internal.json.BufferedSourceJsonReader
 
endObject() - Method in class com.apollographql.apollo.internal.json.JsonReader
Consumes the next token from the JSON stream and asserts that it is the end of the current object.
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(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 - Static variable in interface com.apollographql.apollo.Logger
 
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() - Method in interface com.apollographql.apollo.ApolloCall
Sends the request immediately and blocks until the response can be processed or is an error.
execute() - Method in interface com.apollographql.apollo.ApolloPrefetch
Sends the request immediately and blocks until the response can be processed or is an error.
execute(T) - Method in interface com.apollographql.apollo.internal.cache.normalized.Transaction
 
execute() - Method in class com.apollographql.apollo.internal.RealApolloCall
 
execute() - Method in class com.apollographql.apollo.internal.RealApolloPrefetch
 
expireAfter(long, TimeUnit) - Method in class com.apollographql.apollo.cache.http.HttpCachePolicy.ExpirePolicy
Create new cache policy with expire after timeout configuration.
expireAfterAccess(long, TimeUnit) - Method in class com.apollographql.apollo.cache.normalized.lru.EvictionPolicy.Builder
 
expireAfterRead() - Method in class com.apollographql.apollo.cache.http.HttpCachePolicy.ExpirePolicy
Create new cache policy with expire after read configuration.
expireAfterRead - Variable in class com.apollographql.apollo.cache.http.HttpCachePolicy.Policy
 
expireAfterWrite(long, TimeUnit) - Method in class com.apollographql.apollo.cache.normalized.lru.EvictionPolicy.Builder
 
expireTimeout - Variable in class com.apollographql.apollo.cache.http.HttpCachePolicy.Policy
 
expireTimeoutMs() - Method in class com.apollographql.apollo.cache.http.HttpCachePolicy.Policy
 
expireTimeUnit - Variable in class com.apollographql.apollo.cache.http.HttpCachePolicy.Policy
 

F

failOnUnknown() - Method in class com.apollographql.apollo.internal.json.BufferedSourceJsonReader
 
failOnUnknown() - Method in class com.apollographql.apollo.internal.json.JsonReader
Returns true if this parser forbids skipping values.
fetchStrategy - Variable in class com.apollographql.apollo.cache.http.HttpCachePolicy.Policy
 
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(BufferedSource) - Method in class com.apollographql.apollo.cache.normalized.RecordFieldAdapter
 
from(String) - Method in class com.apollographql.apollo.cache.normalized.RecordFieldAdapter
 
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
 

G

get(String) - Method in class com.apollographql.apollo.cache.normalized.RecordSet
 
getPath() - Method in class com.apollographql.apollo.internal.json.BufferedSourceJsonReader
 
getPath() - Method in class com.apollographql.apollo.internal.json.JsonReader
Returns a JsonPath to the current location in the JSON value.

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
 
hasNext() - Method in class com.apollographql.apollo.internal.json.BufferedSourceJsonReader
 
hasNext() - Method in class com.apollographql.apollo.internal.json.JsonReader
Returns true if the current array or object has another element.
hasNext() - Method in class com.apollographql.apollo.internal.json.ResponseJsonStreamReader
 
headerSink() - Method in interface com.apollographql.apollo.cache.http.HttpCacheRecordEditor
 
headerSource() - Method in interface com.apollographql.apollo.cache.http.HttpCacheRecord
 
headerValue(String) - Method in class com.apollographql.apollo.cache.CacheHeaders
 
HttpCache - Class in com.apollographql.apollo.internal.cache.http
 
HttpCache(HttpCacheStore, ApolloLogger) - Constructor for class com.apollographql.apollo.internal.cache.http.HttpCache
 
httpCache(HttpCache) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
 
HttpCacheFetchStrategy - Enum in com.apollographql.apollo.internal.cache.http
Represents different fetch strategies for http request / response cache
httpCachePolicy(HttpCachePolicy.Policy) - Method in interface com.apollographql.apollo.ApolloQueryCall
Sets the http cache policy for response/request cache.
HttpCachePolicy - Class in com.apollographql.apollo.cache.http
Http cache policy factory
httpCachePolicy(HttpCachePolicy.Policy) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
 
httpCachePolicy(HttpCachePolicy.Policy) - Method in class com.apollographql.apollo.internal.RealApolloCall
 
HttpCachePolicy.ExpirePolicy - Class in com.apollographql.apollo.cache.http
Cache policy with provided expiration configuration
HttpCachePolicy.Policy - Class in com.apollographql.apollo.cache.http
Abstraction for http cache policy configurations
HttpCacheRecord - Interface in com.apollographql.apollo.cache.http
 
HttpCacheRecordEditor - Interface in com.apollographql.apollo.cache.http
 
httpCacheStore(HttpCacheStore) - Method in class com.apollographql.apollo.ApolloClient.Builder
Set the configuration to be used for request/response http cache.
HttpCacheStore - Interface in com.apollographql.apollo.cache.http
ResponseCacheStore is an abstraction for a cache store that is used to read, modify or delete http responses.
httpCallFactory(Call.Factory) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
 
httpResponse - Variable in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorResponse
 

I

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.
intercept(Operation, ApolloInterceptorChain) - Method in interface com.apollographql.apollo.interceptor.ApolloInterceptor
Intercepts the outgoing request, performs blocking operations on the request or the response returned by the next set of interceptors in the chain, and returns an ApolloInterceptor.InterceptorResponse if the operations succeeded or throws an exception if the operations failed.
intercept(Operation, ApolloInterceptorChain) - Method in class com.apollographql.apollo.internal.interceptor.ApolloCacheInterceptor
 
intercept(Operation, ApolloInterceptorChain) - Method in class com.apollographql.apollo.internal.interceptor.ApolloParseInterceptor
 
intercept(Operation, ApolloInterceptorChain) - Method in class com.apollographql.apollo.internal.interceptor.ApolloServerInterceptor
 
interceptAsync(Operation, ApolloInterceptorChain, ExecutorService, 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(Operation, ApolloInterceptorChain, ExecutorService, ApolloInterceptor.CallBack) - Method in class com.apollographql.apollo.internal.interceptor.ApolloCacheInterceptor
 
interceptAsync(Operation, ApolloInterceptorChain, ExecutorService, ApolloInterceptor.CallBack) - Method in class com.apollographql.apollo.internal.interceptor.ApolloParseInterceptor
 
interceptAsync(Operation, ApolloInterceptorChain, ExecutorService, ApolloInterceptor.CallBack) - Method in class com.apollographql.apollo.internal.interceptor.ApolloServerInterceptor
 
interceptor() - Method in class com.apollographql.apollo.internal.cache.http.HttpCache
 
interceptorChain(ApolloInterceptorChain) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
 
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 interface com.apollographql.apollo.internal.util.Cancelable
Checks if this operation has been canceled.
isEmpty() - Method in class com.apollographql.apollo.internal.util.SimpleStack
 
isLenient() - Method in class com.apollographql.apollo.internal.json.BufferedSourceJsonReader
 
isLenient() - Method in class com.apollographql.apollo.internal.json.JsonReader
Returns true if this parser is liberal in what it accepts.

J

JsonDataException - Exception in com.apollographql.apollo.json
Thrown when the data in a JSON document doesn't match the data expected by the caller.
JsonDataException() - Constructor for exception com.apollographql.apollo.json.JsonDataException
 
JsonDataException(String) - Constructor for exception com.apollographql.apollo.json.JsonDataException
 
JsonDataException(Throwable) - Constructor for exception com.apollographql.apollo.json.JsonDataException
 
JsonDataException(String, Throwable) - Constructor for exception com.apollographql.apollo.json.JsonDataException
 
JsonEncodingException - Exception in com.apollographql.apollo.json
Thrown when the data being parsed is not encoded as valid JSON.
JsonEncodingException(String) - Constructor for exception com.apollographql.apollo.json.JsonEncodingException
 
JsonReader - Class in com.apollographql.apollo.internal.json
TODO add Modifications copyright
JsonReader.Token - Enum in com.apollographql.apollo.internal.json
A structure, name, or value type in a JSON-encoded string.

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
 

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
 
loadRecords(Collection<String>, CacheHeaders) - Method in class com.apollographql.apollo.cache.normalized.NormalizedCache
log(int, String, Optional<Throwable>, Object...) - Method in interface com.apollographql.apollo.Logger
Logs the message to the appropriate channel (file, console, etc)
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
 
Logger - Interface in com.apollographql.apollo
Logger to use for logging by the ApolloClient
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
 
LruNormalizedCacheFactory(EvictionPolicy, NormalizedCacheFactory) - Constructor for class com.apollographql.apollo.cache.normalized.lru.LruNormalizedCacheFactory
 

M

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.lru.LruNormalizedCache
 
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(Collection<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
 
mergeWith(Record) - Method in class com.apollographql.apollo.cache.normalized.Record
 
message() - Method in exception com.apollographql.apollo.exception.ApolloHttpException
 
moshi(Moshi) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
 
mutate(Mutation<D, T, V>) - 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.
MUTATION_ROOT_KEY - Static variable in class com.apollographql.apollo.cache.normalized.CacheKeyResolver
 

N

NETWORK_FIRST - Static variable in class com.apollographql.apollo.cache.http.HttpCachePolicy
Signals the apollo client to first fetch the GraphQL query response from the network.
NETWORK_ONLY - Static variable in class com.apollographql.apollo.cache.http.HttpCachePolicy
Signals the apollo client to fetch the GraphQL query response from the network only.
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
 
nextBoolean() - Method in class com.apollographql.apollo.internal.json.BufferedSourceJsonReader
 
nextBoolean() - Method in class com.apollographql.apollo.internal.json.JsonReader
Returns the boolean value of the next token, consuming it.
nextBoolean(boolean) - Method in class com.apollographql.apollo.internal.json.ResponseJsonStreamReader
 
nextDouble() - Method in class com.apollographql.apollo.internal.json.BufferedSourceJsonReader
 
nextDouble() - Method in class com.apollographql.apollo.internal.json.JsonReader
Returns the double value of the next token, consuming it.
nextDouble(boolean) - Method in class com.apollographql.apollo.internal.json.ResponseJsonStreamReader
 
nextInt() - Method in class com.apollographql.apollo.internal.json.BufferedSourceJsonReader
 
nextInt() - Method in class com.apollographql.apollo.internal.json.JsonReader
Returns the int value of the next token, consuming it.
nextInt(boolean) - Method in class com.apollographql.apollo.internal.json.ResponseJsonStreamReader
 
nextList(boolean, ResponseJsonStreamReader.ListReader<T>) - Method in class com.apollographql.apollo.internal.json.ResponseJsonStreamReader
 
nextLong() - Method in class com.apollographql.apollo.internal.json.BufferedSourceJsonReader
 
nextLong() - Method in class com.apollographql.apollo.internal.json.JsonReader
Returns the long value of the next token, consuming it.
nextLong(boolean) - Method in class com.apollographql.apollo.internal.json.ResponseJsonStreamReader
 
nextName() - Method in class com.apollographql.apollo.internal.json.BufferedSourceJsonReader
 
nextName() - Method in class com.apollographql.apollo.internal.json.JsonReader
Returns the next token, a property name, and consumes it.
nextName() - Method in class com.apollographql.apollo.internal.json.ResponseJsonStreamReader
 
nextNull() - Method in class com.apollographql.apollo.internal.json.BufferedSourceJsonReader
 
nextNull() - Method in class com.apollographql.apollo.internal.json.JsonReader
Consumes the next token from the JSON stream and asserts that it is a literal null.
nextObject(boolean, ResponseJsonStreamReader.ObjectReader<T>) - Method in class com.apollographql.apollo.internal.json.ResponseJsonStreamReader
 
nextScalar(boolean) - Method in class com.apollographql.apollo.internal.json.CacheJsonStreamReader
 
nextScalar(boolean) - Method in class com.apollographql.apollo.internal.json.ResponseJsonStreamReader
 
nextString() - Method in class com.apollographql.apollo.internal.json.BufferedSourceJsonReader
 
nextString() - Method in class com.apollographql.apollo.internal.json.JsonReader
Returns the string value of the next token, consuming it.
nextString(boolean) - Method in class com.apollographql.apollo.internal.json.ResponseJsonStreamReader
 
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
 
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
 
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(RecordFieldAdapter) - 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> - Interface 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).

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.
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.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.
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.
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.
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(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.
onSuccess() - Method in class com.apollographql.apollo.ApolloPrefetch.Callback
Gets called when the request has succeeded.
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(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
 

P

parsedResponse - Variable in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorResponse
 
peek() - Method in class com.apollographql.apollo.internal.json.BufferedSourceJsonReader
 
peek() - Method in class com.apollographql.apollo.internal.json.JsonReader
Returns the type of the next token without consuming it.
pop() - Method in class com.apollographql.apollo.internal.util.SimpleStack
 
prefetch(Operation<D, T, V>) - Method in class com.apollographql.apollo.ApolloClient
Prepares the ApolloPrefetch which will be executed at some point in the future.
prefetch(Operation<D, T, V>) - Method in interface com.apollographql.apollo.ApolloPrefetch.Factory
Creates the ApolloPrefetch by wrapping the operation object inside.
proceed() - Method in interface com.apollographql.apollo.interceptor.ApolloInterceptorChain
Passes the control over to the next ApolloInterceptor in the responsibility chain and blocks until the ApolloInterceptor.InterceptorResponse is received or is an error.
proceed() - Method in class com.apollographql.apollo.internal.interceptor.RealApolloInterceptorChain
 
proceedAsync(ExecutorService, 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(ExecutorService, ApolloInterceptor.CallBack) - Method in class com.apollographql.apollo.internal.interceptor.RealApolloInterceptorChain
 
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.
QUERY_ROOT_KEY - Static variable in class com.apollographql.apollo.cache.normalized.CacheKeyResolver
 

R

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) - Method in class com.apollographql.apollo.internal.cache.http.HttpCache
 
read(String, boolean) - Method in class com.apollographql.apollo.internal.cache.http.HttpCache
 
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
 
read(ResponseJsonStreamReader) - Method in interface com.apollographql.apollo.internal.json.ResponseJsonStreamReader.ListReader
 
read(ResponseJsonStreamReader) - Method in interface com.apollographql.apollo.internal.json.ResponseJsonStreamReader.ObjectReader
 
ReadableStore - Interface in com.apollographql.apollo.internal.cache.normalized
 
readBoolean(ResponseField) - Method in class com.apollographql.apollo.internal.reader.RealResponseReader
 
readConditional(ResponseField.ConditionalTypeField, ResponseReader.ConditionalTypeReader<T>) - Method in class com.apollographql.apollo.internal.reader.RealResponseReader
 
readCustomType(ResponseField.CustomTypeField) - Method in class com.apollographql.apollo.internal.reader.RealResponseReader
 
readDouble(ResponseField) - Method in class com.apollographql.apollo.internal.reader.RealResponseReader
 
readInt(ResponseField) - Method in class com.apollographql.apollo.internal.reader.RealResponseReader
 
readList(ResponseField, ResponseReader.ListReader) - Method in class com.apollographql.apollo.internal.reader.RealResponseReader
 
readLong(ResponseField) - Method in class com.apollographql.apollo.internal.reader.RealResponseReader
 
readObject(ResponseField, ResponseReader.ObjectReader<T>) - Method in class com.apollographql.apollo.internal.reader.RealResponseReader
 
readString(ResponseField) - Method in class com.apollographql.apollo.internal.reader.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(Operation, List<ApolloInterceptor>) - Constructor for class com.apollographql.apollo.internal.interceptor.RealApolloInterceptorChain
 
RealApolloPrefetch - Class in com.apollographql.apollo.internal
 
RealApolloPrefetch(Operation, HttpUrl, Call.Factory, HttpCache, Moshi, ExecutorService, ApolloLogger, ApolloCallTracker) - Constructor for class com.apollographql.apollo.internal.RealApolloPrefetch
 
RealApolloStore - Class in com.apollographql.apollo.internal.cache.normalized
 
RealApolloStore(NormalizedCache, CacheKeyResolver, Map<ScalarType, CustomTypeAdapter>) - Constructor for class com.apollographql.apollo.internal.cache.normalized.RealApolloStore
 
RealResponseReader<R> - Class in com.apollographql.apollo.internal.reader
 
RealResponseReader(Operation.Variables, R, FieldValueResolver<R>, Map<ScalarType, CustomTypeAdapter>, ResponseReaderShadow<R>) - Constructor for class com.apollographql.apollo.internal.reader.RealResponseReader
 
Record - Class in com.apollographql.apollo.cache.normalized
A normalized entry that corresponds to a response object.
Record(String) - Constructor for class com.apollographql.apollo.cache.normalized.Record
 
Record(String, Map<String, Object>) - Constructor for class com.apollographql.apollo.cache.normalized.Record
 
Record.Builder - Class in com.apollographql.apollo.cache.normalized
 
recordAdapter() - Method in class com.apollographql.apollo.cache.normalized.NormalizedCache
 
RecordFieldAdapter - 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
 
refetch() - Method in interface com.apollographql.apollo.ApolloQueryWatcher
Re-fetches watched GraphQl query.
refetchCacheControl(CacheControl) - Method in interface com.apollographql.apollo.ApolloQueryWatcher
 
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
 
remove(String) - Method in class com.apollographql.apollo.cache.http.DiskLruHttpCacheStore
 
remove(String) - Method in interface com.apollographql.apollo.cache.http.HttpCacheStore
Drops the entry for key if it exists and can be removed.
remove(String) - Method in class com.apollographql.apollo.internal.cache.http.HttpCache
 
removeQuietly(String) - Method in class com.apollographql.apollo.internal.cache.http.HttpCache
 
resolveCacheKey(ResponseField, R) - Method in class com.apollographql.apollo.internal.cache.normalized.ResponseNormalizer
 
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
 
ResponseJsonStreamReader - Class in com.apollographql.apollo.internal.json
 
ResponseJsonStreamReader.ListReader<T> - Interface in com.apollographql.apollo.internal.json
 
ResponseJsonStreamReader.ObjectReader<T> - Interface in com.apollographql.apollo.internal.json
 
ResponseNormalizer<R> - Class in com.apollographql.apollo.internal.cache.normalized
 
ResponseNormalizer() - Constructor for class com.apollographql.apollo.internal.cache.normalized.ResponseNormalizer
 
ResponseReaderShadow<R> - Interface in com.apollographql.apollo.internal.reader
 
rootKeyForOperation(Operation) - Static method in class com.apollographql.apollo.cache.normalized.CacheKeyResolver
 

S

secondaryCache() - Method in class com.apollographql.apollo.cache.normalized.lru.LruNormalizedCache
 
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
 
setFailOnUnknown(boolean) - Method in class com.apollographql.apollo.internal.json.BufferedSourceJsonReader
 
setFailOnUnknown(boolean) - Method in class com.apollographql.apollo.internal.json.JsonReader
Configure whether this parser throws a JsonDataException when JsonReader.skipValue() is called.
setIdleResourceCallback(IdleResourceCallback) - Method in class com.apollographql.apollo.internal.ApolloCallTracker
Registers idleResourceCallback which is invoked when the apolloClient becomes idle.
setLenient(boolean) - Method in class com.apollographql.apollo.internal.json.BufferedSourceJsonReader
 
setLenient(boolean) - Method in class com.apollographql.apollo.internal.json.JsonReader
Configure this parser to be liberal in what it accepts.
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
 
skipNext() - Method in class com.apollographql.apollo.internal.json.ResponseJsonStreamReader
 
skipValue() - Method in class com.apollographql.apollo.internal.json.BufferedSourceJsonReader
 
skipValue() - Method in class com.apollographql.apollo.internal.json.JsonReader
Skips the next value recursively.
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
 

T

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.internal.RealApolloCall
 
toJson(Map<String, Object>) - Method in class com.apollographql.apollo.cache.normalized.RecordFieldAdapter
 
toMap() - Method in class com.apollographql.apollo.internal.json.ResponseJsonStreamReader
 
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.internal.json.BufferedSourceJsonReader
 
tracker(ApolloCallTracker) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
 
Transaction<T,R> - Interface in com.apollographql.apollo.internal.cache.normalized
 

U

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
 

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.cache.normalized.CacheControl
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.apollographql.apollo.internal.cache.http.HttpCacheFetchStrategy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.apollographql.apollo.internal.json.JsonReader.Token
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.apollographql.apollo.cache.normalized.CacheControl
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.apollographql.apollo.internal.cache.http.HttpCacheFetchStrategy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.apollographql.apollo.internal.json.JsonReader.Token
Returns an array containing the constants of this enum type, in the order they are declared.

W

w(String, Object...) - Method in class com.apollographql.apollo.internal.util.ApolloLogger
 
w(Throwable, String, Object...) - Method in class com.apollographql.apollo.internal.util.ApolloLogger
 
WARN - Static variable in interface com.apollographql.apollo.Logger
 
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
 
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.reader.ResponseReaderShadow
 
willResolveElement(int) - Method in class com.apollographql.apollo.internal.cache.normalized.ResponseNormalizer
 
willResolveElement(int) - Method in interface com.apollographql.apollo.internal.reader.ResponseReaderShadow
 
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.reader.ResponseReaderShadow
 
willResolveRootQuery(Operation) - Method in class com.apollographql.apollo.internal.cache.normalized.ResponseNormalizer
 
willResolveRootQuery(Operation) - Method in interface com.apollographql.apollo.internal.reader.ResponseReaderShadow
 
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
 
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
 
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 J K L M N O P Q R S T U V W 
Skip navigation links