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

A

absent() - Static method in class com.apollographql.apollo.api.internal.Optional
Returns an Optional instance with no contained reference.
apply(T) - Method in interface com.apollographql.apollo.api.internal.Function
Apply some calculation to the input value and return some other value.
areDisjoint(Set<E>, Set<E>) - Static method in class com.apollographql.apollo.api.internal.Utils
Checks if two Set are disjoint.
arguments() - Method in class com.apollographql.apollo.api.Field
 
asSet() - Method in class com.apollographql.apollo.api.internal.Optional
Returns an immutable singleton Set whose only element is the contained instance if it is present; an empty immutable Set otherwise.

B

build() - Method in class com.apollographql.apollo.api.internal.UnmodifiableMapBuilder
 
build() - Method in class com.apollographql.apollo.api.Response.Builder
 
builder(Operation) - Static method in class com.apollographql.apollo.api.Response
 

C

cacheKey(Operation.Variables) - Method in class com.apollographql.apollo.api.Field
 
checkNotNull(T, Object) - Static method in class com.apollographql.apollo.api.internal.Utils
Checks if the object is null.
checkNotNull(T) - Static method in class com.apollographql.apollo.api.internal.Utils
Checks if the object is null.
column() - Method in class com.apollographql.apollo.api.Error.Location
Returns the column number of the error location.
com.apollographql.apollo.api - package com.apollographql.apollo.api
 
com.apollographql.apollo.api.internal - package com.apollographql.apollo.api.internal
 
conditionalTypeReader() - Method in class com.apollographql.apollo.api.Field.ConditionalTypeField
 
customAttributes() - Method in class com.apollographql.apollo.api.Error
Returns custom attributes associated with this error

D

data(T) - Method in class com.apollographql.apollo.api.Response.Builder
 
data() - Method in class com.apollographql.apollo.api.Response
 
dependentKeys(Set<String>) - Method in class com.apollographql.apollo.api.Response.Builder
 
dependentKeys() - Method in class com.apollographql.apollo.api.Response
 

E

EMPTY_VARIABLES - Static variable in interface com.apollographql.apollo.api.Operation
 
equals(Object) - Method in class com.apollographql.apollo.api.Error
 
equals(Object) - Method in class com.apollographql.apollo.api.Error.Location
 
equals(Object) - Method in class com.apollographql.apollo.api.internal.Optional
Returns true if object is an Optional instance, and either the contained references are equal to each other or both are absent.
Error - Class in com.apollographql.apollo.api
Represents an error response returned from the GraphQL server
Error(String, List<Error.Location>, Map<String, Object>) - Constructor for class com.apollographql.apollo.api.Error
 
Error.Location - Class in com.apollographql.apollo.api
Represents the location of the error in the GraphQL operation sent to the server.
errors(List<Error>) - Method in class com.apollographql.apollo.api.Response.Builder
 
errors() - Method in class com.apollographql.apollo.api.Response
 

F

Field - Class in com.apollographql.apollo.api
Field is an abstraction for a field in a graphQL operation.
Field.ConditionalTypeField - Class in com.apollographql.apollo.api
Abstraction for a Field representing a conditional type.
Field.ConditionalTypeReader<T> - Interface in com.apollographql.apollo.api
 
Field.CustomTypeField - Class in com.apollographql.apollo.api
Abstraction for a Field representing a custom GraphQL scalar type.
Field.ListItemReader - Interface in com.apollographql.apollo.api
 
Field.ListReader<T> - Interface in com.apollographql.apollo.api
 
Field.ObjectField - Class in com.apollographql.apollo.api
Abstraction for a Field representing a custom Object type.
Field.ObjectListField - Class in com.apollographql.apollo.api
Abstraction for a Field representing a list of custom Objects.
Field.ObjectReader<T> - Interface in com.apollographql.apollo.api
 
Field.ScalarListField - Class in com.apollographql.apollo.api
Abstraction for a Field representing a list of GraphQL scalar types.
Field.Type - Enum in com.apollographql.apollo.api
An abstraction for the field types
fieldName() - Method in class com.apollographql.apollo.api.Field
 
flatMap(Function<? super T, Optional<V>>) - Method in class com.apollographql.apollo.api.internal.Optional
 
forBoolean(String, String, Map<String, Object>, boolean) - Static method in class com.apollographql.apollo.api.Field
Factory method for creating a Field instance representing Field.Type.BOOLEAN.
forConditionalType(String, String, Field.ConditionalTypeReader<T>) - Static method in class com.apollographql.apollo.api.Field
Factory method for creating a Field instance representing Field.Type.CONDITIONAL.
forCustomType(String, String, Map<String, Object>, boolean, ScalarType) - Static method in class com.apollographql.apollo.api.Field
Factory method for creating a Field instance representing a custom GraphQL Scalar type, Field.Type.CUSTOM
forDouble(String, String, Map<String, Object>, boolean) - Static method in class com.apollographql.apollo.api.Field
Factory method for creating a Field instance representing Field.Type.DOUBLE.
forInt(String, String, Map<String, Object>, boolean) - Static method in class com.apollographql.apollo.api.Field
Factory method for creating a Field instance representing Field.Type.INT.
forList(String, String, Map<String, Object>, boolean, Field.ListReader<T>) - Static method in class com.apollographql.apollo.api.Field
Factory method for creating a Field instance representing Field.Type.SCALAR_LIST.
forList(String, String, Map<String, Object>, boolean, Field.ObjectReader<T>) - Static method in class com.apollographql.apollo.api.Field
Factory method for creating a Field instance representing Field.Type.OBJECT_LIST.
forLong(String, String, Map<String, Object>, boolean) - Static method in class com.apollographql.apollo.api.Field
Factory method for creating a Field instance representing Field.Type.LONG.
forObject(String, String, Map<String, Object>, boolean, Field.ObjectReader<T>) - Static method in class com.apollographql.apollo.api.Field
Factory method for creating a Field instance representing a custom Field.Type.OBJECT.
forString(String, String, Map<String, Object>, boolean) - Static method in class com.apollographql.apollo.api.Field
Factory method for creating a Field instance representing Field.Type.STRING.
FragmentResponseFieldMapper<T> - Interface in com.apollographql.apollo.api
FragmentResponseFieldMapper is responsible for mapping the response back to a fragment of type T.
fromNullable(T) - Static method in class com.apollographql.apollo.api.internal.Optional
If nullableReference is non-null, returns an Optional instance containing that reference; otherwise returns Optional.absent().
Function<T,R> - Interface in com.apollographql.apollo.api.internal
 
Functions - Class in com.apollographql.apollo.api.internal
 
Functions() - Constructor for class com.apollographql.apollo.api.internal.Functions
 

G

get() - Method in class com.apollographql.apollo.api.internal.Optional
Returns the contained instance, which must be present.
GraphqlFragment - Interface in com.apollographql.apollo.api
Represents a GraphQL fragment

H

hasErrors() - Method in class com.apollographql.apollo.api.Response
 
hashCode() - Method in class com.apollographql.apollo.api.Error
 
hashCode() - Method in class com.apollographql.apollo.api.Error.Location
 
hashCode() - Method in class com.apollographql.apollo.api.internal.Optional
Returns a hash code for this instance.

I

identity() - Static method in class com.apollographql.apollo.api.internal.Functions
Returns the identity function.
isPresent() - Method in class com.apollographql.apollo.api.internal.Optional
Returns true if this holder contains a (non-null) instance.

J

javaType() - Method in interface com.apollographql.apollo.api.ScalarType
 

L

line() - Method in class com.apollographql.apollo.api.Error.Location
Returns the line number of the error location.
listReader() - Method in class com.apollographql.apollo.api.Field.ScalarListField
 
Location(long, long) - Constructor for class com.apollographql.apollo.api.Error.Location
 
locations() - Method in class com.apollographql.apollo.api.Error
Returns the location of the error in the GraphQL operation.

M

map(ResponseReader, String) - Method in interface com.apollographql.apollo.api.FragmentResponseFieldMapper
 
map(Function<? super T, V>) - Method in class com.apollographql.apollo.api.internal.Optional
 
map(ResponseReader) - Method in interface com.apollographql.apollo.api.ResponseFieldMapper
 
message() - Method in class com.apollographql.apollo.api.Error
Returns server error message.
Mutation<D extends Operation.Data,T,V extends Operation.Variables> - Interface in com.apollographql.apollo.api
Represents a GraphQL mutation operation that will be sent to the server.

N

name() - Method in interface com.apollographql.apollo.api.Operation
Returns GraphQL operation name.
name() - Method in interface com.apollographql.apollo.api.OperationName
Returns operation name.

O

objectReader() - Method in class com.apollographql.apollo.api.Field.ObjectField
 
objectReader() - Method in class com.apollographql.apollo.api.Field.ObjectListField
 
of(T) - Static method in class com.apollographql.apollo.api.internal.Optional
Returns an Optional instance containing the given non-null reference.
Operation<D extends Operation.Data,T,V extends Operation.Variables> - Interface in com.apollographql.apollo.api
Represents a GraphQL operation (mutation or query).
operation() - Method in class com.apollographql.apollo.api.Response
 
Operation.Data - Interface in com.apollographql.apollo.api
Abstraction for data returned by the server in response to this operation.
Operation.Variables - Class in com.apollographql.apollo.api
Abstraction for the variables which are a part of the GraphQL operation.
OperationName - Interface in com.apollographql.apollo.api
GraphQL operation name.
optional() - Method in class com.apollographql.apollo.api.Field
 
Optional<T> - Class in com.apollographql.apollo.api.internal
An immutable object that may contain a non-null reference to another object.
or(T) - Method in class com.apollographql.apollo.api.internal.Optional
Returns the contained instance if it is present; defaultValue otherwise.
or(Optional<? extends T>) - Method in class com.apollographql.apollo.api.internal.Optional
Returns this Optional if it has a value present; secondChoice otherwise.
orNull() - Method in class com.apollographql.apollo.api.internal.Optional
Returns the contained instance if it is present; null otherwise.

P

put(K, V) - Method in class com.apollographql.apollo.api.internal.UnmodifiableMapBuilder
 

Q

Query<D extends Operation.Data,T,V extends Operation.Variables> - Interface in com.apollographql.apollo.api
Represents a GraphQL query that will be sent to the server.
queryDocument() - Method in interface com.apollographql.apollo.api.Operation
Returns the raw GraphQL operation String.

R

read(String, ResponseReader) - Method in interface com.apollographql.apollo.api.Field.ConditionalTypeReader
 
read(Field.ListItemReader) - Method in interface com.apollographql.apollo.api.Field.ListReader
 
read(ResponseReader) - Method in interface com.apollographql.apollo.api.Field.ObjectReader
 
read(Field) - Method in interface com.apollographql.apollo.api.ResponseReader
 
readBoolean() - Method in interface com.apollographql.apollo.api.Field.ListItemReader
 
readCustomType(ScalarType) - Method in interface com.apollographql.apollo.api.Field.ListItemReader
 
readDouble() - Method in interface com.apollographql.apollo.api.Field.ListItemReader
 
readInt() - Method in interface com.apollographql.apollo.api.Field.ListItemReader
 
readLong() - Method in interface com.apollographql.apollo.api.Field.ListItemReader
 
readString() - Method in interface com.apollographql.apollo.api.Field.ListItemReader
 
resolveArgument(String, Operation.Variables) - Method in class com.apollographql.apollo.api.Field
Resolve field argument value by name.
Response<T> - Class in com.apollographql.apollo.api
Represents either a successful or failed response received from the GraphQL server.
Response.Builder<T> - Class in com.apollographql.apollo.api
 
responseFieldMapper() - Method in interface com.apollographql.apollo.api.Operation
Returns a mapper that maps the server response data to generated model class D.
ResponseFieldMapper<T> - Interface in com.apollographql.apollo.api
ResponseFieldMapper is an abstraction for mapping the response data returned by the server back to generated models.
responseName() - Method in class com.apollographql.apollo.api.Field
 
ResponseReader - Interface in com.apollographql.apollo.api
 

S

scalarType() - Method in class com.apollographql.apollo.api.Field.CustomTypeField
 
ScalarType - Interface in com.apollographql.apollo.api
Represents a custom GraphQL scalar type

T

toString() - Method in class com.apollographql.apollo.api.Error.Location
 
toString() - Method in class com.apollographql.apollo.api.Error
 
toString() - Method in class com.apollographql.apollo.api.internal.Optional
Returns a string representation for this instance.
toStringFunction() - Static method in class com.apollographql.apollo.api.internal.Functions
Returns a function that calls toString() on its argument.
transform(Function<? super T, V>) - Method in class com.apollographql.apollo.api.internal.Optional
If the instance is present, it is transformed with the given Function; otherwise, Optional.absent() is returned.
type() - Method in class com.apollographql.apollo.api.Field
 
typeName() - Method in interface com.apollographql.apollo.api.ScalarType
 

U

UnmodifiableMapBuilder<K,V> - Class in com.apollographql.apollo.api.internal
 
UnmodifiableMapBuilder(int) - Constructor for class com.apollographql.apollo.api.internal.UnmodifiableMapBuilder
 
Utils - Class in com.apollographql.apollo.api.internal
Contains utility methods for checking Preconditions

V

valueMap() - Method in class com.apollographql.apollo.api.Operation.Variables
 
valueOf(String) - Static method in enum com.apollographql.apollo.api.Field.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.apollographql.apollo.api.Field.Type
Returns an array containing the constants of this enum type, in the order they are declared.
variables() - Method in interface com.apollographql.apollo.api.Operation
Returns the variables associated with this GraphQL operation.
Variables() - Constructor for class com.apollographql.apollo.api.Operation.Variables
 

W

wrapData(D) - Method in interface com.apollographql.apollo.api.Operation
Wraps the generated response data class D with another class.
A B C D E F G H I J L M N O P Q R S T U V W 
Skip navigation links