Package com.apollographql.apollo
Interface ApolloPrefetch.Factory
-
- All Known Implementing Classes:
ApolloClient
- Enclosing interface:
- ApolloPrefetch
public static interface ApolloPrefetch.FactoryFactory for creating ApolloPrefetch object.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <D extends com.apollographql.apollo.api.Operation.Data,T,V extends com.apollographql.apollo.api.Operation.Variables>
ApolloPrefetchprefetch(com.apollographql.apollo.api.Operation<D,T,V> operation)Creates the ApolloPrefetch by wrapping the operation object inside.
-
-
-
Method Detail
-
prefetch
<D extends com.apollographql.apollo.api.Operation.Data,T,V extends com.apollographql.apollo.api.Operation.Variables> ApolloPrefetch prefetch(@NotNull com.apollographql.apollo.api.Operation<D,T,V> operation)
Creates the ApolloPrefetch by wrapping the operation object inside.- Parameters:
operation- the operation which needs to be performed- Returns:
- The ApolloPrefetch object with the wrapped operation object
-
-