Package io.fria.lilo
Class RemoteSchemaSource
java.lang.Object
io.fria.lilo.SchemaSource
io.fria.lilo.RemoteSchemaSource
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull SchemaSourcecreate(@NotNull String schemaName, @NotNull IntrospectionRetriever<?> introspectionRetriever, @NotNull QueryRetriever<?> queryRetriever) static @NotNull SchemaSourcecreate(@NotNull String schemaName, @NotNull IntrospectionRetriever<?> introspectionRetriever, @NotNull QueryRetriever<?> queryRetriever, @Nullable SubscriptionRetriever subscriptionRetriever) static @NotNull SchemaSource@NotNull CompletableFuture<graphql.ExecutionResult> execute(@NotNull LiloContext liloContext, @NotNull GraphQLQuery query, @Nullable Object localContext) @NotNull CompletableFuture<SchemaSource> loadSchema(@NotNull LiloContext liloContext, @Nullable Object localContext) Methods inherited from class io.fria.lilo.SchemaSource
getName, getRuntimeWiring, getTypeDefinitionRegistry, invalidate, isSchemaNotLoaded
-
Method Details
-
create
@NotNull public static @NotNull SchemaSource create(@NotNull @NotNull String schemaName, @NotNull @NotNull String schemaUrl) -
create
@NotNull public static @NotNull SchemaSource create(@NotNull @NotNull String schemaName, @NotNull @NotNull IntrospectionRetriever<?> introspectionRetriever, @NotNull @NotNull QueryRetriever<?> queryRetriever) -
create
@NotNull public static @NotNull SchemaSource create(@NotNull @NotNull String schemaName, @NotNull @NotNull IntrospectionRetriever<?> introspectionRetriever, @NotNull @NotNull QueryRetriever<?> queryRetriever, @Nullable @Nullable SubscriptionRetriever subscriptionRetriever) -
execute
@NotNull public @NotNull CompletableFuture<graphql.ExecutionResult> execute(@NotNull @NotNull LiloContext liloContext, @NotNull @NotNull GraphQLQuery query, @Nullable @Nullable Object localContext) -
loadSchema
@NotNull public @NotNull CompletableFuture<SchemaSource> loadSchema(@NotNull @NotNull LiloContext liloContext, @Nullable @Nullable Object localContext)
-