Package graphql
package graphql
-
ClassDescriptionCustom contract annotation used for jspecify and NullAway checks.The directives that are understood by graphql-javaA holder class that breaks a list of directives into maps to be more easily accessible in using classesAn annotation that marks a method return value or method parameter as returning a duck type value.Errors in graphql-java can have a classification to help with the processing of errors.All the errors in graphql belong to one of these categoriesThis graphql error will be used if a runtime exception is encountered while a data fetcher is invokedThis represents the series of values that can be input on a graphql query executionThis simple value class represents the result of performing a graphql query.ExecutionResult.Builder<B extends ExecutionResult.Builder<B>>ExecutionResultImpl.Builder<T extends ExecutionResultImpl.Builder<T>>This represents code that the graphql-java project considers experimental API and while our intention is that it will progress to be
PublicApi
, its existence, signature or behavior may change between releases.This class is where all graphql-java query execution begins.This context object can be used to contain key values that can be useful as "context" when executingDataFetcher
sThe interface describing graphql errors NOTE: This class implementsSerializable
and hence it can be serialised and placed into a distributed cache.GraphQLError.Builder<B extends GraphQLError.Builder<B>>A builder ofGraphQLError
sGraphqlErrorBuilder<B extends GraphqlErrorBuilder<B>>This helps you buildGraphQLError
s and also has a quick way to make aDataFetcherResult
s from that error.A base class for graphql runtime exceptions that also implementGraphQLError
and can be used in a general sense direct or have specialisations made of it.GraphqlErrorException.BuilderBase<T extends GraphqlErrorException.BuilderBase<T,B>, B extends GraphqlErrorException> A trait like base class that contains the properties that GraphqlErrorException handles and can be used by other classes to derive their own builders.This little helper allows GraphQlErrors to implement common things (hashcode/ equals ) and to specification more easilyThis allows you to control "unusual" aspects of the GraphQL system including some JVM wide settings and some per execution settings as well as experimental ones.This represents code that the graphql-java project considers internal code that MAY not be stable within major releases.This marks a type as mutable which means after constructing it can be changed.This class allows you to parse and validate a graphql query without executing it.A result object used inParseAndValidate
helper that indicates the outcomes of a parse and validate operation.This represents code that the graphql-java project considers public API and has an imperative to be stable within major releases.This represents code that the graphql-java project considers public SPI and has an imperative to be stable within major releases.This contains the implementations of the Scalar types that ship with graphql-java.This represents code that is known to be mutable but thread safe.Mark a DataFetcher as trivial: If a data fetcher is simply mapping data from an object to a field, it can be considered a trivial data fetcher for the purposes of tracing and so on.This is passed to aTypeResolver
to help with object type resolution.Marks fields, methods etc as more visible than actually needed for testing purposes.