Package io.fria.lilo
Interface SchemaSource
-
- All Known Implementing Classes:
DefinedSchemaSource,RemoteSchemaSource
public interface SchemaSource
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull CompletableFuture<graphql.ExecutionResult>execute(@NotNull LiloContext liloContext, @NotNull GraphQLQuery query, @Nullable Object localContext)@NotNull StringgetName()@NotNull graphql.schema.idl.RuntimeWiringgetRuntimeWiring()@NotNull graphql.schema.idl.TypeDefinitionRegistrygetTypeDefinitionRegistry()voidinvalidate()booleanisSchemaNotLoaded()@NotNull CompletableFuture<SchemaSource>loadSchema(@NotNull LiloContext context, @Nullable Object localContext)
-
-
-
Method Detail
-
execute
@NotNull @NotNull CompletableFuture<graphql.ExecutionResult> execute(@NotNull @NotNull LiloContext liloContext, @NotNull @NotNull GraphQLQuery query, @Nullable @Nullable Object localContext)
-
getName
@NotNull @NotNull String getName()
-
getRuntimeWiring
@NotNull @NotNull graphql.schema.idl.RuntimeWiring getRuntimeWiring()
-
getTypeDefinitionRegistry
@NotNull @NotNull graphql.schema.idl.TypeDefinitionRegistry getTypeDefinitionRegistry()
-
invalidate
void invalidate()
-
isSchemaNotLoaded
boolean isSchemaNotLoaded()
-
loadSchema
@NotNull @NotNull CompletableFuture<SchemaSource> loadSchema(@NotNull @NotNull LiloContext context, @Nullable @Nullable Object localContext)
-
-