Package io.fria.lilo
Interface SchemaSource
- All Known Implementing Classes:
DefinedSchemaSource,RemoteSchemaSource
public interface SchemaSource
-
Method Summary
Modifier and TypeMethodDescription@NotNull CompletableFuture<graphql.ExecutionResult>execute(@NotNull LiloContext liloContext, @NotNull GraphQLQuery query, @Nullable Object localContext) @NotNull StringgetName()@NotNull graphql.schema.idl.RuntimeWiring@NotNull graphql.schema.idl.TypeDefinitionRegistryvoidboolean@NotNull CompletableFuture<SchemaSource>loadSchema(@NotNull LiloContext context, @Nullable Object localContext)
-
Method Details
-
execute
@NotNull @NotNull CompletableFuture<graphql.ExecutionResult> execute(@NotNull @NotNull LiloContext liloContext, @NotNull @NotNull GraphQLQuery query, @Nullable @Nullable Object localContext) -
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)
-