- com.expedia.graphql - package com.expedia.graphql
-
- com.expedia.graphql.annotations - package com.expedia.graphql.annotations
-
- com.expedia.graphql.directives - package com.expedia.graphql.directives
-
- com.expedia.graphql.exceptions - package com.expedia.graphql.exceptions
-
- com.expedia.graphql.execution - package com.expedia.graphql.execution
-
- com.expedia.graphql.extensions - package com.expedia.graphql.extensions
-
- com.expedia.graphql.hooks - package com.expedia.graphql.hooks
-
- component1() - Method in class com.expedia.graphql.SchemaGeneratorConfig
-
- component1() - Method in class com.expedia.graphql.TopLevelNames
-
- component1() - Method in class com.expedia.graphql.TopLevelObject
-
The target object
- component2() - Method in class com.expedia.graphql.SchemaGeneratorConfig
-
- component2() - Method in class com.expedia.graphql.TopLevelNames
-
- component2() - Method in class com.expedia.graphql.TopLevelObject
-
Optional KClass of the target
- component3() - Method in class com.expedia.graphql.SchemaGeneratorConfig
-
- component3() - Method in class com.expedia.graphql.TopLevelNames
-
- component4() - Method in class com.expedia.graphql.SchemaGeneratorConfig
-
- ConflictingTypesException - Exception in com.expedia.graphql.exceptions
-
Thrown when the schema being generated has two classes with the same GraphQLType name,
but they are not the same Kotlin class. We can not have the full package or classpath info
in the GraphQLType so all names must be unique.
- ConflictingTypesException(kClass1, kClass2) - Constructor for exception com.expedia.graphql.exceptions.ConflictingTypesException
-
Thrown when the schema being generated has two classes with the same GraphQLType name,
but they are not the same Kotlin class. We can not have the full package or classpath info
in the GraphQLType so all names must be unique.
- copy(supportedPackages, topLevelNames, hooks, dataFetcherFactoryProvider) - Method in class com.expedia.graphql.SchemaGeneratorConfig
-
Settings for generating the schema.
- copy(query, mutation, subscription) - Method in class com.expedia.graphql.TopLevelNames
-
The names of the top level objects in the schema.
- copy(obj, kClass) - Method in class com.expedia.graphql.TopLevelObject
-
Encapsulates an object to use as a target for schema generation and the
class to be used for reflection.
- CouldNotCastArgumentException - Exception in com.expedia.graphql.exceptions
-
Thrown when a KParameter could not be cast or mapped to arguments in the data fetcher
- CouldNotCastArgumentException(kParameter) - Constructor for exception com.expedia.graphql.exceptions.CouldNotCastArgumentException
-
Thrown when a KParameter could not be cast or mapped to arguments in the data fetcher
- CouldNotCastGraphQLType - Exception in com.expedia.graphql.exceptions
-
Thrown when the casting a GraphQLType to some parent type is invalid
- CouldNotCastGraphQLType(type, kClass) - Constructor for exception com.expedia.graphql.exceptions.CouldNotCastGraphQLType
-
Thrown when the casting a GraphQLType to some parent type is invalid
- CouldNotGetNameOfKClassException - Exception in com.expedia.graphql.exceptions
-
Thrown when trying to generate a class and cannot resolve the name.
- CouldNotGetNameOfKClassException(kclass) - Constructor for exception com.expedia.graphql.exceptions.CouldNotGetNameOfKClassException
-
Thrown when trying to generate a class and cannot resolve the name.
- CouldNotGetNameOfKParameterException - Exception in com.expedia.graphql.exceptions
-
Thrown when trying to generate a parameter and cannot resolve the name.
- CouldNotGetNameOfKParameterException(kParameter) - Constructor for exception com.expedia.graphql.exceptions.CouldNotGetNameOfKParameterException
-
Thrown when trying to generate a parameter and cannot resolve the name.
- get(environment) - Method in class com.expedia.graphql.execution.FunctionDataFetcher
-
- getDataFetcher() - Method in class com.expedia.graphql.directives.KotlinFieldDirectiveEnvironment
-
Retrieve current data fetcher associated with the target element.
- getDataFetcherExecutionPredicate($this) - Static method in class com.expedia.graphql.hooks.SchemaGeneratorHooks.DefaultImpls
-
Execute a predicate on each function parameters after their deserialization
If the execution is unsuccessful the onFailure
method will be invoked
- getDataFetcherExecutionPredicate() - Method in interface com.expedia.graphql.hooks.SchemaGeneratorHooks
-
Execute a predicate on each function parameters after their deserialization
If the execution is unsuccessful the onFailure
method will be invoked
- getDataFetcherFactoryProvider() - Method in class com.expedia.graphql.SchemaGeneratorConfig
-
- getDeepName($receiver) - Static method in class com.expedia.graphql.extensions.DeepNameKt
-
Useful public extension that renders a readable string from the given
graphql type no matter how deeply nested it is.
Eg: [
Int]!
- getDirective() - Method in class com.expedia.graphql.directives.KotlinSchemaDirectiveEnvironment
-
- getElement() - Method in class com.expedia.graphql.directives.KotlinSchemaDirectiveEnvironment
-
- getHooks() - Method in class com.expedia.graphql.SchemaGeneratorConfig
-
- getKClass() - Method in class com.expedia.graphql.TopLevelObject
-
Optional KClass of the target
- getMutation() - Method in class com.expedia.graphql.TopLevelNames
-
- getObj() - Method in class com.expedia.graphql.TopLevelObject
-
The target object
- getQuery() - Method in class com.expedia.graphql.TopLevelNames
-
- getSchemaDirectiveWiring(environment) - Method in class com.expedia.graphql.directives.KotlinDirectiveWiringFactory
-
Retrieve schema directive wiring for the specified environment or NULL if wiring is not supported by this factory.
- getSubscription() - Method in class com.expedia.graphql.TopLevelNames
-
- getSupportedPackages() - Method in class com.expedia.graphql.SchemaGeneratorConfig
-
- getTopLevelNames() - Method in class com.expedia.graphql.SchemaGeneratorConfig
-
- getWiringFactory($this) - Static method in class com.expedia.graphql.hooks.SchemaGeneratorHooks.DefaultImpls
-
- getWiringFactory() - Method in interface com.expedia.graphql.hooks.SchemaGeneratorHooks
-
- GraphQLContext - Interface in com.expedia.graphql.annotations
-
Mark something for the GraphQL context.
- GraphQLDescription - Interface in com.expedia.graphql.annotations
-
Set the GraphQL description to be picked up by the schema generator.
- GraphQLDirective - Interface in com.expedia.graphql.annotations
-
Meta annotation used to denote an annotation as a GraphQL schema directives.
- GraphQLID - Interface in com.expedia.graphql.annotations
-
Used to indicate that a property of type Int, String, Long, java.util.UUID is a GraphqQL Scalar ID
- GraphQLIgnore - Interface in com.expedia.graphql.annotations
-
Mark something to be ignored by the GraphQL schema generator.
- GraphQLKotlinException - Exception in com.expedia.graphql.exceptions
-
Base exception that all our library exceptions extend from.
- GraphQLKotlinException(message, throwable) - Constructor for exception com.expedia.graphql.exceptions.GraphQLKotlinException
-
Base exception that all our library exceptions extend from.
- GraphQLKotlinException() - Constructor for exception com.expedia.graphql.exceptions.GraphQLKotlinException
-
Base exception that all our library exceptions extend from.
- GraphQLName - Interface in com.expedia.graphql.annotations
-
Set the GraphQL name to be picked up by the schema generator.
- GraphQLSchemaExtensionsKt - Class in com.expedia.graphql.extensions
-
- InvalidIdTypeException - Exception in com.expedia.graphql.exceptions
-
Throws when the KClass is not one of the supported types for a GraphQLID
- InvalidIdTypeException(kClass, types) - Constructor for exception com.expedia.graphql.exceptions.InvalidIdTypeException
-
Throws when the KClass is not one of the supported types for a GraphQLID
- InvalidInputFieldTypeException - Exception in com.expedia.graphql.exceptions
-
GraphQL Interfaces and Unions cannot be used as arguments.
Specification reference: https://facebook.github.io/graphql/draft/#sec-Field-Arguments
- InvalidInputFieldTypeException(kParameter) - Constructor for exception com.expedia.graphql.exceptions.InvalidInputFieldTypeException
-
GraphQL Interfaces and Unions cannot be used as arguments.
Specification reference: https://facebook.github.io/graphql/draft/#sec-Field-Arguments
- InvalidListTypeException - Exception in com.expedia.graphql.exceptions
-
Thrown on mapping an invalid list type
- InvalidListTypeException(type) - Constructor for exception com.expedia.graphql.exceptions.InvalidListTypeException
-
Thrown on mapping an invalid list type
- InvalidMutationTypeException - Exception in com.expedia.graphql.exceptions
-
Exception thrown on schema creation if any mutation class is not public.
- InvalidMutationTypeException(klazz) - Constructor for exception com.expedia.graphql.exceptions.InvalidMutationTypeException
-
Exception thrown on schema creation if any mutation class is not public.
- InvalidQueryTypeException - Exception in com.expedia.graphql.exceptions
-
Exception thrown on schema creation if any query class is not public.
- InvalidQueryTypeException(klazz) - Constructor for exception com.expedia.graphql.exceptions.InvalidQueryTypeException
-
Exception thrown on schema creation if any query class is not public.
- InvalidSchemaDirectiveWiringException - Exception in com.expedia.graphql.exceptions
-
Thrown when the provided SchemaDirectiveWiring returns a null element
- InvalidSchemaDirectiveWiringException(reason) - Constructor for exception com.expedia.graphql.exceptions.InvalidSchemaDirectiveWiringException
-
Thrown when the provided SchemaDirectiveWiring returns a null element
- InvalidSchemaException - Exception in com.expedia.graphql.exceptions
-
Exception thrown on schema creation if no queries are specified.
- InvalidSchemaException() - Constructor for exception com.expedia.graphql.exceptions.InvalidSchemaException
-
Exception thrown on schema creation if no queries are specified.
- InvalidSubscriptionTypeException - Exception in com.expedia.graphql.exceptions
-
- InvalidSubscriptionTypeException(kClass) - Constructor for exception com.expedia.graphql.exceptions.InvalidSubscriptionTypeException
-
- isValid() - Method in class com.expedia.graphql.directives.KotlinSchemaDirectiveEnvironment
-
Verifies whether specified directive is applicable on the target element.
- isValidFunction($this, function) - Static method in class com.expedia.graphql.hooks.SchemaGeneratorHooks.DefaultImpls
-
Called when looking at the KClass functions to determine if it valid for adding to the generated schema.
If any filter returns false, it is rejected.
- isValidFunction(function) - Method in interface com.expedia.graphql.hooks.SchemaGeneratorHooks
-
Called when looking at the KClass functions to determine if it valid for adding to the generated schema.
If any filter returns false, it is rejected.
- isValidProperty($this, property) - Static method in class com.expedia.graphql.hooks.SchemaGeneratorHooks.DefaultImpls
-
Called when looking at the KClass properties to determine if it valid for adding to the generated schema.
If any filter returns false, it is rejected.
- isValidProperty(property) - Method in interface com.expedia.graphql.hooks.SchemaGeneratorHooks
-
Called when looking at the KClass properties to determine if it valid for adding to the generated schema.
If any filter returns false, it is rejected.
- isValidSuperclass($this, kClass) - Static method in class com.expedia.graphql.hooks.SchemaGeneratorHooks.DefaultImpls
-
Called when looking at the KClass superclasses to determine if it valid for adding to the generated schema.
If any filter returns false, it is rejected.
- isValidSuperclass(kClass) - Method in interface com.expedia.graphql.hooks.SchemaGeneratorHooks
-
Called when looking at the KClass superclasses to determine if it valid for adding to the generated schema.
If any filter returns false, it is rejected.
- onArgument($this, environment) - Static method in class com.expedia.graphql.directives.KotlinSchemaDirectiveWiring.DefaultImpls
-
Modifies GraphQLArgument by applying specified directive.
- onArgument(environment) - Method in interface com.expedia.graphql.directives.KotlinSchemaDirectiveWiring
-
Modifies GraphQLArgument by applying specified directive.
- onEnum($this, environment) - Static method in class com.expedia.graphql.directives.KotlinSchemaDirectiveWiring.DefaultImpls
-
Modifies GraphQLEnumType by applying specified directive.
- onEnum(environment) - Method in interface com.expedia.graphql.directives.KotlinSchemaDirectiveWiring
-
Modifies GraphQLEnumType by applying specified directive.
- onEnumValue($this, environment) - Static method in class com.expedia.graphql.directives.KotlinSchemaDirectiveWiring.DefaultImpls
-
Modifies GraphQLEnumValueDefinition by applying specified directive.
- onEnumValue(environment) - Method in interface com.expedia.graphql.directives.KotlinSchemaDirectiveWiring
-
Modifies GraphQLEnumValueDefinition by applying specified directive.
- onField($this, environment) - Static method in class com.expedia.graphql.directives.KotlinSchemaDirectiveWiring.DefaultImpls
-
Modifies GraphQLFieldDefinition by applying specified directive.
- onField(environment) - Method in interface com.expedia.graphql.directives.KotlinSchemaDirectiveWiring
-
Modifies GraphQLFieldDefinition by applying specified directive.
- onInputObjectField($this, environment) - Static method in class com.expedia.graphql.directives.KotlinSchemaDirectiveWiring.DefaultImpls
-
Modifies GraphQLInputObjectField by applying specified directive.
- onInputObjectField(environment) - Method in interface com.expedia.graphql.directives.KotlinSchemaDirectiveWiring
-
Modifies GraphQLInputObjectField by applying specified directive.
- onInputObjectType($this, environment) - Static method in class com.expedia.graphql.directives.KotlinSchemaDirectiveWiring.DefaultImpls
-
Modifies GraphQLInputObjectType by applying specified directive.
- onInputObjectType(environment) - Method in interface com.expedia.graphql.directives.KotlinSchemaDirectiveWiring
-
Modifies GraphQLInputObjectType by applying specified directive.
- onInterface($this, environment) - Static method in class com.expedia.graphql.directives.KotlinSchemaDirectiveWiring.DefaultImpls
-
Modifies GraphQLInterfaceType by applying specified directive.
- onInterface(environment) - Method in interface com.expedia.graphql.directives.KotlinSchemaDirectiveWiring
-
Modifies GraphQLInterfaceType by applying specified directive.
- onObject($this, environment) - Static method in class com.expedia.graphql.directives.KotlinSchemaDirectiveWiring.DefaultImpls
-
Modifies GraphQLObjectType by applying specified directive.
- onObject(environment) - Method in interface com.expedia.graphql.directives.KotlinSchemaDirectiveWiring
-
Modifies GraphQLObjectType by applying specified directive.
- onRewireGraphQLType($this, generatedType, coordinates, codeRegistry) - Static method in class com.expedia.graphql.hooks.SchemaGeneratorHooks.DefaultImpls
-
Called after willGenerateGraphQLType
and before didGenerateGraphQLType
.
Enables you to change the wiring, e.g. apply directives to alter the target type.
- onRewireGraphQLType(generatedType, coordinates, codeRegistry) - Method in interface com.expedia.graphql.hooks.SchemaGeneratorHooks
-
Called after willGenerateGraphQLType
and before didGenerateGraphQLType
.
Enables you to change the wiring, e.g. apply directives to alter the target type.
- onScalar($this, environment) - Static method in class com.expedia.graphql.directives.KotlinSchemaDirectiveWiring.DefaultImpls
-
Modifies GraphQLScalarType by applying specified directive.
- onScalar(environment) - Method in interface com.expedia.graphql.directives.KotlinSchemaDirectiveWiring
-
Modifies GraphQLScalarType by applying specified directive.
- onUnion($this, environment) - Static method in class com.expedia.graphql.directives.KotlinSchemaDirectiveWiring.DefaultImpls
-
Modifies GraphQLUnionType by applying specified directive.
- onUnion(environment) - Method in interface com.expedia.graphql.directives.KotlinSchemaDirectiveWiring
-
Modifies GraphQLUnionType by applying specified directive.
- onWire(graphQLType, coordinates, codeRegistry) - Method in class com.expedia.graphql.directives.KotlinDirectiveWiringFactory
-
Wire up the directive based on the GraphQL type.
- willAddGraphQLTypeToSchema($this, type, generatedType) - Static method in class com.expedia.graphql.hooks.SchemaGeneratorHooks.DefaultImpls
-
Called after using reflection to generate the graphql object type but before returning it to the schema builder.
This allows for modifying the type info, like description or directives
- willAddGraphQLTypeToSchema(type, generatedType) - Method in interface com.expedia.graphql.hooks.SchemaGeneratorHooks
-
Called after using reflection to generate the graphql object type but before returning it to the schema builder.
This allows for modifying the type info, like description or directives
- willBuildSchema($this, builder) - Static method in class com.expedia.graphql.hooks.SchemaGeneratorHooks.DefaultImpls
-
Called before the final GraphQL schema is built.
This doesn't prevent the called from rebuilding the final schema using java-graphql's functionality
- willBuildSchema(builder) - Method in interface com.expedia.graphql.hooks.SchemaGeneratorHooks
-
Called before the final GraphQL schema is built.
This doesn't prevent the called from rebuilding the final schema using java-graphql's functionality
- willGenerateGraphQLType($this, type) - Static method in class com.expedia.graphql.hooks.SchemaGeneratorHooks.DefaultImpls
-
Called before using reflection to generate the graphql object type for the given KType.
This allows supporting objects that the caller does not want to use reflection on for special handling
- willGenerateGraphQLType(type) - Method in interface com.expedia.graphql.hooks.SchemaGeneratorHooks
-
Called before using reflection to generate the graphql object type for the given KType.
This allows supporting objects that the caller does not want to use reflection on for special handling
- willResolveMonad($this, type) - Static method in class com.expedia.graphql.hooks.SchemaGeneratorHooks.DefaultImpls
-
Called before resolving a KType to the GraphQL type.
This allows for a custom resolver on how to extract wrapped values, like in a CompletableFuture.
- willResolveMonad(type) - Method in interface com.expedia.graphql.hooks.SchemaGeneratorHooks
-
Called before resolving a KType to the GraphQL type.
This allows for a custom resolver on how to extract wrapped values, like in a CompletableFuture.
- wireOnEnvironment($this, environment) - Static method in class com.expedia.graphql.directives.KotlinSchemaDirectiveWiring.DefaultImpls
-
- wireOnEnvironment(environment) - Method in interface com.expedia.graphql.directives.KotlinSchemaDirectiveWiring
-