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