Package com. apollographql. apollo3. api
Types
AdapterContext
Link copied to clipboard
class AdapterContext
Content copied to clipboard
ApolloRequest
Link copied to clipboard
ApolloResponse
Link copied to clipboard
BooleanExpression
Link copied to clipboard
BPossibleTypes
Link copied to clipboard
BTerm
Link copied to clipboard
CompiledArgument
Link copied to clipboard
CompiledCondition
Link copied to clipboard
CompiledField
Link copied to clipboard
CompiledFragment
Link copied to clipboard
CompiledListType
Link copied to clipboard
CompiledNamedType
Link copied to clipboard
CompiledNotNullType
Link copied to clipboard
CompiledSelection
Link copied to clipboard
sealed class CompiledSelection
Content copied to clipboard
CompiledType
Link copied to clipboard
sealed class CompiledType
Content copied to clipboard
CompiledVariable
Link copied to clipboard
CustomScalarAdapters
Link copied to clipboard
CustomScalarType
Link copied to clipboard
class CustomScalarType(name: String, className: String) : CompiledNamedType
Content copied to clipboard
CustomTypeAdapter
Link copied to clipboard
CustomTypeValue
Link copied to clipboard
DefaultUpload
Link copied to clipboard
An Upload that writes data from the provided contentIf the content is a bufferedSource, the DefaultUpload will close it once uploaded If the content is a byteString, the DefaultUpload can be reused
DeferredFragmentIdentifier
Link copied to clipboard
EnumType
Link copied to clipboard
Error
Link copied to clipboard
Executable
Link copied to clipboard
ExecutionContext
Link copied to clipboard
interface ExecutionContext
Content copied to clipboard
ExecutionOptions
Link copied to clipboard
interface ExecutionOptions
Content copied to clipboard
Fragment
Link copied to clipboard
ImmutableMapBuilder
Link copied to clipboard
InputObjectType
Link copied to clipboard
InterfaceType
Link copied to clipboard
class InterfaceType(name: String, keyFields: List<String>, implements: List<InterfaceType>) : CompiledNamedType
Content copied to clipboard
ListAdapter
Link copied to clipboard
MutableExecutionOptions
Link copied to clipboard
NullableAdapter
Link copied to clipboard
ObjectAdapter
Link copied to clipboard
ObjectType
Link copied to clipboard
class ObjectType(name: String, keyFields: List<String>, implements: List<InterfaceType>) : CompiledNamedType
Content copied to clipboard
Operation
Link copied to clipboard
Optional
Link copied to clipboard
OptionalAdapter
Link copied to clipboard
class OptionalAdapter<T>(wrappedAdapter: Adapter<T>) : Adapter<Optional.Present<T>>
Content copied to clipboard
QueryDocumentMinifier
Link copied to clipboard
object QueryDocumentMinifier
Content copied to clipboard
Response
Link copied to clipboard
ScalarType
Link copied to clipboard
ScalarTypeAdapters
Link copied to clipboard
class ScalarTypeAdapters(customAdapters: Map<CustomScalarType, CustomTypeAdapter<*>>)
Content copied to clipboard
Subscription
Link copied to clipboard
UnionType
Link copied to clipboard
Functions
and
Link copied to clipboard
fun <T : Any> and(vararg other: BooleanExpression<T>): BooleanExpression<T>
Content copied to clipboard
fun <T : Any> BooleanExpression<T>.and(vararg other: BooleanExpression<T>): BooleanExpression<T>
Content copied to clipboard
checkFieldNotMissing
Link copied to clipboard
composeJsonRequest
Link copied to clipboard
fun <D : Operation.Data> Operation<D>.composeJsonRequest(jsonWriter: JsonWriter, customScalarAdapters: CustomScalarAdapters = CustomScalarAdapters.Empty)
Content copied to clipboard
Reads a GraphQL Json response like below to a ApolloResponse
{
"data": ...
"errors": ...
"extensions": ...
}
composeJsonResponse
Link copied to clipboard
fun <D : Operation.Data> Operation<D>.composeJsonResponse(jsonWriter: JsonWriter, data: D, customScalarAdapters: CustomScalarAdapters = CustomScalarAdapters.Empty)
Content copied to clipboard
containsPossibleTypes
Link copied to clipboard
content
Link copied to clipboard
evaluate
Link copied to clipboard
fun <T : Any> BooleanExpression<T>.evaluate(block: (T) -> Boolean): Boolean
Content copied to clipboard
fun BooleanExpression<BTerm>.evaluate(variables: Set<String>, typename: String?): Boolean
Content copied to clipboard
fun BooleanExpression<BTerm>.evaluate(variables: Set<String>, typename: String?, adapterContext: AdapterContext, path: List<Any>?): Boolean
Content copied to clipboard
firstElementOfType
Link copied to clipboard
fun <T : Any, U : Any> BooleanExpression<T>.firstElementOfType(type: KClass<U>): U?
Content copied to clipboard
isComposite
Link copied to clipboard
keyFields
Link copied to clipboard
label
Link copied to clipboard
list
Link copied to clipboard
not
Link copied to clipboard
notNull
Link copied to clipboard
or
Link copied to clipboard
fun <T : Any> or(vararg other: BooleanExpression<T>): BooleanExpression<T>
Content copied to clipboard
fun <T : Any> BooleanExpression<T>.or(vararg other: BooleanExpression<T>): BooleanExpression<T>
Content copied to clipboard
parseJsonResponse
Link copied to clipboard
fun <D : Operation.Data> Operation<D>.parseJsonResponse(jsonReader: JsonReader, customScalarAdapters: CustomScalarAdapters = CustomScalarAdapters.Empty): ApolloResponse<D>
Content copied to clipboard
Reads a GraphQL Json response like below to a ApolloResponse
{
"data": ...
"errors": ...
"extensions": ...
}
possibleTypes
Link copied to clipboard
fun possibleTypes(vararg typenames: String): BooleanExpression<BPossibleTypes>
Content copied to clipboard
fun possibleTypes(allTypes: List<CompiledType>, type: CompiledNamedType): List<ObjectType>
Content copied to clipboard
resolveVariables
Link copied to clipboard
toJson
Link copied to clipboard
fun Operation.Data.toJson(jsonWriter: JsonWriter, customScalarAdapters: CustomScalarAdapters = CustomScalarAdapters.Empty)
Content copied to clipboard
toJsonString
Link copied to clipboard
@ApolloExperimental()
Content copied to clipboard
fun <T> Adapter<T>.toJsonString(value: T, customScalarAdapters: CustomScalarAdapters = CustomScalarAdapters.Empty, indent: String? = null): String
Content copied to clipboard
variable
Link copied to clipboard
variables
Link copied to clipboard
fun <D : Executable.Data> Executable<D>.variables(customScalarAdapters: CustomScalarAdapters): Executable.Variables
Content copied to clipboard
variablesJson
Link copied to clipboard
fun <D : Executable.Data> Executable<D>.variablesJson(customScalarAdapters: CustomScalarAdapters): String
Content copied to clipboard
withDeferredFragmentIds
Link copied to clipboard
fun CustomScalarAdapters.withDeferredFragmentIds(deferredFragmentIds: Set<DeferredFragmentIdentifier>): <ERROR CLASS>
Content copied to clipboard
Properties
AnyAdapter
Link copied to clipboard
BooleanAdapter
Link copied to clipboard
CompiledBooleanType
Link copied to clipboard
CompiledDirectiveType
Link copied to clipboard
CompiledEnumValueType
Link copied to clipboard
CompiledFieldType
Link copied to clipboard
CompiledFloatType
Link copied to clipboard
CompiledIDType
Link copied to clipboard
CompiledInputValueType
Link copied to clipboard
CompiledIntType
Link copied to clipboard
CompiledSchemaType
Link copied to clipboard
CompiledStringType
Link copied to clipboard
CompiledTypeType
Link copied to clipboard
DoubleAdapter
Link copied to clipboard
FloatAdapter
Link copied to clipboard
IntAdapter
Link copied to clipboard
LongAdapter
Link copied to clipboard
NullableAnyAdapter
Link copied to clipboard
NullableBooleanAdapter
Link copied to clipboard
NullableDoubleAdapter
Link copied to clipboard
NullableIntAdapter
Link copied to clipboard
NullableStringAdapter
Link copied to clipboard
StringAdapter
Link copied to clipboard
UploadAdapter
Link copied to clipboard