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

B

bindSchemaProvider(SchemaProvider, Map<String, Object>) - Method in class org.apache.sling.graphql.core.schema.RankedSchemaProviders
 

C

cacheQuery(String, String, String) - Method in interface org.apache.sling.graphql.api.cache.GraphQLCacheProvider
Stores the query into the cache, potentially overriding a previous value.
cacheQuery(String, String, String) - Method in class org.apache.sling.graphql.core.cache.SimpleGraphQLCacheProvider
 
compareTo(ServiceReferenceObjectTuple<T>) - Method in class org.apache.sling.graphql.core.osgi.ServiceReferenceObjectTuple
 
createBindings() - Method in class org.apache.sling.graphql.core.scripting.GraphQLScriptEngine
 

D

DEFAULT_SCHEMA - Static variable in class org.apache.sling.graphql.core.schema.DefaultSchemaProvider
 
DefaultQueryExecutor - Class in org.apache.sling.graphql.core.engine
 
DefaultQueryExecutor() - Constructor for class org.apache.sling.graphql.core.engine.DefaultQueryExecutor
 
DefaultSchemaProvider - Class in org.apache.sling.graphql.core.schema
Provides a Resource-specific GraphQL Schema, as text
DefaultSchemaProvider() - Constructor for class org.apache.sling.graphql.core.schema.DefaultSchemaProvider
 
DefaultValidationResult - Class in org.apache.sling.graphql.core.engine
 
doGet(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class org.apache.sling.graphql.core.servlet.GraphQLServlet
 
doPost(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class org.apache.sling.graphql.core.servlet.GraphQLServlet
 

E

equals(Object) - Method in class org.apache.sling.graphql.core.osgi.ServiceReferenceObjectTuple
 
eval(String, ScriptContext) - Method in class org.apache.sling.graphql.core.scripting.GraphQLScriptEngine
 
eval(Reader, ScriptContext) - Method in class org.apache.sling.graphql.core.scripting.GraphQLScriptEngine
 
execute(String, Map<String, Object>, Resource, String[]) - Method in interface org.apache.sling.graphql.api.engine.QueryExecutor
Executes the passed query.
execute(String, Map<String, Object>, Resource, String[]) - Method in class org.apache.sling.graphql.core.engine.DefaultQueryExecutor
 

F

FETCHER_DIRECTIVE - Static variable in class org.apache.sling.graphql.core.engine.DefaultQueryExecutor
 
FETCHER_NAME - Static variable in class org.apache.sling.graphql.core.engine.DefaultQueryExecutor
 
FETCHER_OPTIONS - Static variable in class org.apache.sling.graphql.core.engine.DefaultQueryExecutor
 
FETCHER_SOURCE - Static variable in class org.apache.sling.graphql.core.engine.DefaultQueryExecutor
 
fromJSON(String) - Static method in class org.apache.sling.graphql.core.servlet.QueryParser
 
fromRequest(SlingHttpServletRequest) - Static method in class org.apache.sling.graphql.core.servlet.QueryParser
 

G

get(SlingDataFetcherEnvironment) - Method in interface org.apache.sling.graphql.api.SlingDataFetcher
 
getArgument(String) - Method in interface org.apache.sling.graphql.api.SlingDataFetcherEnvironment
 
getArgument(String, T) - Method in interface org.apache.sling.graphql.api.SlingDataFetcherEnvironment
 
getArguments() - Method in interface org.apache.sling.graphql.api.SlingDataFetcherEnvironment
 
getCurrentResource() - Method in interface org.apache.sling.graphql.api.SlingDataFetcherEnvironment
 
getCurrentResource() - Method in interface org.apache.sling.graphql.api.SlingTypeResolverEnvironment
 
getCustomScalars(Map<String, ScalarTypeDefinition>) - Method in class org.apache.sling.graphql.core.scalars.SlingScalarsProvider
 
getErrors() - Method in interface org.apache.sling.graphql.api.engine.ValidationResult
Returns a list of errors encountered while validating the query.
getErrors() - Method in class org.apache.sling.graphql.core.engine.DefaultValidationResult
 
getFactory() - Method in class org.apache.sling.graphql.core.scripting.GraphQLScriptEngine
 
getFetcherOptions() - Method in interface org.apache.sling.graphql.api.SlingDataFetcherEnvironment
 
getFetcherSource() - Method in interface org.apache.sling.graphql.api.SlingDataFetcherEnvironment
 
getLanguageName() - Method in class org.apache.sling.graphql.core.scripting.GraphQLScriptEngineFactory
 
getLanguageVersion() - Method in class org.apache.sling.graphql.core.scripting.GraphQLScriptEngineFactory
 
getObject() - Method in interface org.apache.sling.graphql.api.SlingTypeResolverEnvironment
 
getObjectType(String) - Method in interface org.apache.sling.graphql.api.SlingTypeResolverEnvironment
 
getParentObject() - Method in interface org.apache.sling.graphql.api.SlingDataFetcherEnvironment
 
getQuery(String, String, String) - Method in interface org.apache.sling.graphql.api.cache.GraphQLCacheProvider
Attempts to retrieve a previously persisted query from the cache.
getQuery(String, String, String) - Method in class org.apache.sling.graphql.core.cache.SimpleGraphQLCacheProvider
 
getResolverOptions() - Method in interface org.apache.sling.graphql.api.SlingTypeResolverEnvironment
 
getResolverSource() - Method in interface org.apache.sling.graphql.api.SlingTypeResolverEnvironment
 
getSchema(Resource, String[]) - Method in interface org.apache.sling.graphql.api.SchemaProvider
Get a GraphQL Schema definition for the given resource and optional selectors
getSchema(Resource, String[]) - Method in class org.apache.sling.graphql.core.schema.DefaultSchemaProvider
 
getSchema(Resource, String[]) - Method in class org.apache.sling.graphql.core.schema.RankedSchemaProviders
 
getScriptEngine() - Method in class org.apache.sling.graphql.core.scripting.GraphQLScriptEngineFactory
 
getServiceObject() - Method in class org.apache.sling.graphql.core.osgi.ServiceReferenceObjectTuple
 
getServiceReference() - Method in class org.apache.sling.graphql.core.osgi.ServiceReferenceObjectTuple
 
getSlingFetcher(String) - Method in class org.apache.sling.graphql.core.engine.SlingDataFetcherSelector
 
getSlingTypeResolver(String) - Method in class org.apache.sling.graphql.core.engine.SlingTypeResolverSelector
 
getType(SlingTypeResolverEnvironment) - Method in interface org.apache.sling.graphql.api.SlingTypeResolver
 
GRAPHQL_ERROR_CAUSE - Static variable in class org.apache.sling.graphql.core.util.SlingGraphQLErrorHelper
 
GRAPHQL_ERROR_CAUSE_STACKTRACE - Static variable in class org.apache.sling.graphql.core.util.SlingGraphQLErrorHelper
 
GRAPHQL_ERROR_DETAIL - Static variable in class org.apache.sling.graphql.core.util.SlingGraphQLErrorHelper
 
GRAPHQL_ERROR_ERRORS - Static variable in class org.apache.sling.graphql.core.util.SlingGraphQLErrorHelper
 
GRAPHQL_ERROR_EXCEPTION - Static variable in class org.apache.sling.graphql.core.util.SlingGraphQLErrorHelper
 
GRAPHQL_ERROR_EXTENSIONS - Static variable in class org.apache.sling.graphql.core.util.SlingGraphQLErrorHelper
 
GRAPHQL_ERROR_MESSAGE - Static variable in class org.apache.sling.graphql.core.util.SlingGraphQLErrorHelper
 
GraphQLCacheProvider - Interface in org.apache.sling.graphql.api.cache
A GraphQLCacheProvider is responsible for caching GraphQL queries, in order to provide support for persisted queries for the GraphQLServlet.
GraphQLScriptEngine - Class in org.apache.sling.graphql.core.scripting
 
GraphQLScriptEngine(GraphQLScriptEngineFactory) - Constructor for class org.apache.sling.graphql.core.scripting.GraphQLScriptEngine
 
GraphQLScriptEngineFactory - Class in org.apache.sling.graphql.core.scripting
 
GraphQLScriptEngineFactory() - Constructor for class org.apache.sling.graphql.core.scripting.GraphQLScriptEngineFactory
 
GraphQLServlet - Class in org.apache.sling.graphql.core.servlet
Servlet that can be activated to implement the standard GraphQL "protocol" as per https://graphql.org/learn/serving-over-http/ This servlet is only active if the corresponding OSGi configurations are created.
GraphQLServlet() - Constructor for class org.apache.sling.graphql.core.servlet.GraphQLServlet
 
GraphQLServlet.Config - Annotation Type in org.apache.sling.graphql.core.servlet
 

H

hashCode() - Method in class org.apache.sling.graphql.core.osgi.ServiceReferenceObjectTuple
 

I

isValid() - Method in interface org.apache.sling.graphql.api.engine.ValidationResult
Provides a simple way check if a query is valid or not.
isValid() - Method in class org.apache.sling.graphql.core.engine.DefaultValidationResult
 

L

LANGUAGE_NAME - Static variable in class org.apache.sling.graphql.core.scripting.GraphQLScriptEngineFactory
 
LANGUAGE_VERSION - Static variable in class org.apache.sling.graphql.core.scripting.GraphQLScriptEngineFactory
 
LogSanitizer - Class in org.apache.sling.graphql.core.util
Sanitize strings for logging
LogSanitizer() - Constructor for class org.apache.sling.graphql.core.util.LogSanitizer
 

M

MAX_STACK_TRACE_DEPTH - Static variable in class org.apache.sling.graphql.core.util.SlingGraphQLErrorHelper
Keep only this many level of exception stack traces

N

NAME_SERVICE_PROPERTY - Static variable in interface org.apache.sling.graphql.api.SlingDataFetcher
Defines the service registration property with which all SlingDataFetcher services have to be registered.
NAME_SERVICE_PROPERTY - Static variable in interface org.apache.sling.graphql.api.SlingScalarConverter
 
NAME_SERVICE_PROPERTY - Static variable in interface org.apache.sling.graphql.api.SlingTypeResolver
Defines the service registration property with which all SlingTypeResolver services have to be registered.

O

org.apache.sling.graphql.api - package org.apache.sling.graphql.api
This package contains APIs which are independent of a specific implementation of the underlying graphQL engine.
org.apache.sling.graphql.api.cache - package org.apache.sling.graphql.api.cache
 
org.apache.sling.graphql.api.engine - package org.apache.sling.graphql.api.engine
 
org.apache.sling.graphql.core.cache - package org.apache.sling.graphql.core.cache
 
org.apache.sling.graphql.core.engine - package org.apache.sling.graphql.core.engine
 
org.apache.sling.graphql.core.osgi - package org.apache.sling.graphql.core.osgi
 
org.apache.sling.graphql.core.scalars - package org.apache.sling.graphql.core.scalars
 
org.apache.sling.graphql.core.schema - package org.apache.sling.graphql.core.schema
 
org.apache.sling.graphql.core.scripting - package org.apache.sling.graphql.core.scripting
 
org.apache.sling.graphql.core.servlet - package org.apache.sling.graphql.core.servlet
 
org.apache.sling.graphql.core.util - package org.apache.sling.graphql.core.util
 

P

P_QUERY - Static variable in class org.apache.sling.graphql.core.servlet.GraphQLServlet
 
parseValue(X) - Method in interface org.apache.sling.graphql.api.SlingScalarConverter
Parse an external value (a query argument for example) into its internal representation

Q

QueryExecutor - Interface in org.apache.sling.graphql.api.engine
A QueryExecutor service allows consumers to validate and execute GraphQL queries directly.
QueryParser - Class in org.apache.sling.graphql.core.servlet
 

R

RankedSchemaProviders - Class in org.apache.sling.graphql.core.schema
Uses multiple registered SchemaProvider services to get a schema, using the first one that returns non-null.
RankedSchemaProviders() - Constructor for class org.apache.sling.graphql.core.schema.RankedSchemaProviders
 
REPLACEMENT_CHAR - Static variable in class org.apache.sling.graphql.core.util.LogSanitizer
Character that replaces unwanted ones in input
RESERVED_NAME_PREFIX - Static variable in class org.apache.sling.graphql.core.engine.SlingDataFetcherSelector
Fetchers which have a name starting with this prefix must be under the {#link RESERVED_PACKAGE_PREFIX} package.
RESERVED_NAME_PREFIX - Static variable in class org.apache.sling.graphql.core.engine.SlingTypeResolverSelector
Resolvers which have a name starting with this prefix must be under the {#link RESERVED_PACKAGE_PREFIX} package.
RESERVED_PACKAGE_PREFIX - Static variable in class org.apache.sling.graphql.core.engine.SlingDataFetcherSelector
Package name prefix for fetchers which have names starting with the {#link RESERVED_NAME_PREFIX}.
RESERVED_PACKAGE_PREFIX - Static variable in class org.apache.sling.graphql.core.engine.SlingTypeResolverSelector
Package name prefix for resolvers which have names starting with the {#link RESERVED_NAME_PREFIX}.
RESOLVER_DIRECTIVE - Static variable in class org.apache.sling.graphql.core.engine.DefaultQueryExecutor
 
RESOLVER_NAME - Static variable in class org.apache.sling.graphql.core.engine.DefaultQueryExecutor
 
RESOLVER_OPTIONS - Static variable in class org.apache.sling.graphql.core.engine.DefaultQueryExecutor
 
RESOLVER_SOURCE - Static variable in class org.apache.sling.graphql.core.engine.DefaultQueryExecutor
 

S

sanitize(String) - Method in class org.apache.sling.graphql.core.util.LogSanitizer
 
ScalarConversionException - Exception in org.apache.sling.graphql.api
Exception thrown by Scalar converters
ScalarConversionException(String, Throwable) - Constructor for exception org.apache.sling.graphql.api.ScalarConversionException
 
ScalarConversionException(String) - Constructor for exception org.apache.sling.graphql.api.ScalarConversionException
 
SCHEMA_EXTENSION - Static variable in class org.apache.sling.graphql.core.schema.DefaultSchemaProvider
 
SchemaProvider - Interface in org.apache.sling.graphql.api
 
serialize(T) - Method in interface org.apache.sling.graphql.api.SlingScalarConverter
Serialize an internal value (provided by a SlingDataFetcher into its external representation.
SERVICE_RANKING - Static variable in class org.apache.sling.graphql.core.schema.DefaultSchemaProvider
 
ServiceReferenceObjectTuple<T> - Class in org.apache.sling.graphql.core.osgi
 
ServiceReferenceObjectTuple(ServiceReference<T>, T) - Constructor for class org.apache.sling.graphql.core.osgi.ServiceReferenceObjectTuple
 
SimpleGraphQLCacheProvider - Class in org.apache.sling.graphql.core.cache
 
SimpleGraphQLCacheProvider() - Constructor for class org.apache.sling.graphql.core.cache.SimpleGraphQLCacheProvider
 
SimpleGraphQLCacheProvider.Config - Annotation Type in org.apache.sling.graphql.core.cache
 
SlingDataFetcher<T> - Interface in org.apache.sling.graphql.api
Retrieves data for a given GraphQL field.
SlingDataFetcherEnvironment - Interface in org.apache.sling.graphql.api
Provides contextual information to the {#link SlingDataFetcher}
SlingDataFetcherSelector - Class in org.apache.sling.graphql.core.engine
Selects a SlingDataFetcher used to retrieve data, based on a name specified by a GraphQL schema directive.
SlingDataFetcherSelector() - Constructor for class org.apache.sling.graphql.core.engine.SlingDataFetcherSelector
 
SlingGraphQLErrorHelper - Class in org.apache.sling.graphql.core.util
 
SlingGraphQLException - Exception in org.apache.sling.graphql.api
The SlingGraphQLException defines the class of errors that can be thrown by the org.apache.sling.graphql.core bundle.
SlingGraphQLException(String) - Constructor for exception org.apache.sling.graphql.api.SlingGraphQLException
Creates a SlingGraphQLException without a known cause.
SlingGraphQLException(String, Throwable) - Constructor for exception org.apache.sling.graphql.api.SlingGraphQLException
Creates a SlingGraphQLException with a known cause.
SlingScalarConverter<T,X> - Interface in org.apache.sling.graphql.api
A service that parses and serializes a custom GraphQL Scalar by converting between an eXternal type X an an inTernal one T.
SlingScalarsProvider - Class in org.apache.sling.graphql.core.scalars
Provides GraphQL Scalars (leaf data types) for query execution
SlingScalarsProvider() - Constructor for class org.apache.sling.graphql.core.scalars.SlingScalarsProvider
 
SlingTypeResolver<T> - Interface in org.apache.sling.graphql.api
Resolves the GraphQL object type of a given result item.
SlingTypeResolverEnvironment<T> - Interface in org.apache.sling.graphql.api
Provides contextual information to the SlingTypeResolver
SlingTypeResolverSelector - Class in org.apache.sling.graphql.core.engine
Selects a SlingTypeProvider used to get the corresponding object type, based on a name specified by a GraphQL schema directive.
SlingTypeResolverSelector() - Constructor for class org.apache.sling.graphql.core.engine.SlingTypeResolverSelector
 

T

toSpecification(String, Exception) - Static method in class org.apache.sling.graphql.core.util.SlingGraphQLErrorHelper
Structures the given error information into a Map following GraphQL error specification.

U

unbindSchemaProvider(SchemaProvider, Map<String, Object>) - Method in class org.apache.sling.graphql.core.schema.RankedSchemaProviders
 

V

validate(String, Map<String, Object>, Resource, String[]) - Method in interface org.apache.sling.graphql.api.engine.QueryExecutor
Validates the passed query and variables, by checking if the query obeys the known schemas.
validate(String, Map<String, Object>, Resource, String[]) - Method in class org.apache.sling.graphql.core.engine.DefaultQueryExecutor
 
ValidationResult - Interface in org.apache.sling.graphql.api.engine
The ValidationResult interface defines the result returned by QueryExecutor.validate(String, Map, Resource, String[]) and helps additional services to pre-validate a GraphQL query without executing it.
B C D E F G H I L M N O P Q R S T U V 
Skip navigation links

Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.