public abstract class CacheKeyResolver
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static CacheKeyResolver |
DEFAULT |
Constructor and Description |
---|
CacheKeyResolver() |
Modifier and Type | Method and Description |
---|---|
abstract CacheKey |
fromFieldArguments(com.apollographql.apollo.api.ResponseField field,
com.apollographql.apollo.api.Operation.Variables variables) |
abstract CacheKey |
fromFieldRecordSet(com.apollographql.apollo.api.ResponseField field,
java.util.Map<java.lang.String,java.lang.Object> recordSet) |
static CacheKey |
rootKeyForOperation(com.apollographql.apollo.api.Operation operation) |
public static final CacheKeyResolver DEFAULT
public static CacheKey rootKeyForOperation(@NotNull com.apollographql.apollo.api.Operation operation)
@NotNull public abstract CacheKey fromFieldRecordSet(@NotNull com.apollographql.apollo.api.ResponseField field, @NotNull java.util.Map<java.lang.String,java.lang.Object> recordSet)
@NotNull public abstract CacheKey fromFieldArguments(@NotNull com.apollographql.apollo.api.ResponseField field, @NotNull com.apollographql.apollo.api.Operation.Variables variables)