Package | Description |
---|---|
io.vertx.ext.web.handler.graphql.schema | |
io.vertx.reactivex.ext.web.handler.graphql.schema | |
io.vertx.rxjava.ext.web.handler.graphql.schema |
Modifier and Type | Method and Description |
---|---|
static <T> VertxDataFetcher<T> |
VertxDataFetcher.create(java.util.function.BiConsumer<graphql.schema.DataFetchingEnvironment,Promise<T>> dataFetcher)
Create a new data fetcher that works well with callback based APIs.
|
static <T> VertxDataFetcher<T> |
VertxDataFetcher.create(java.util.function.BiConsumer<graphql.schema.DataFetchingEnvironment,Promise<T>> dataFetcher,
java.util.function.Function<graphql.schema.DataFetchingEnvironment,Context> contextProvider)
Like
create(BiConsumer) , except the method uses the provided contextProvider instead of capturing the current one. |
static <T> VertxDataFetcher<T> |
VertxDataFetcher.create(java.util.function.Function<graphql.schema.DataFetchingEnvironment,Future<T>> dataFetcher)
Create a new data fetcher that works well with
Future based APIs. |
static <T> VertxDataFetcher<T> |
VertxDataFetcher.create(java.util.function.Function<graphql.schema.DataFetchingEnvironment,Future<T>> dataFetcher,
java.util.function.Function<graphql.schema.DataFetchingEnvironment,Context> contextProvider)
Like
create(Function) , except the method uses the provided contextProvider instead of capturing the current one. |
Modifier and Type | Method and Description |
---|---|
VertxDataFetcher |
VertxDataFetcher.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static <T> VertxDataFetcher<T> |
VertxDataFetcher.newInstance(VertxDataFetcher arg) |
static <T> VertxDataFetcher<T> |
VertxDataFetcher.newInstance(VertxDataFetcher arg,
io.vertx.lang.rx.TypeArg<T> __typeArg_T) |
Constructor and Description |
---|
VertxDataFetcher(VertxDataFetcher delegate) |
Modifier and Type | Method and Description |
---|---|
VertxDataFetcher |
VertxDataFetcher.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static <T> VertxDataFetcher<T> |
VertxDataFetcher.newInstance(VertxDataFetcher arg) |
static <T> VertxDataFetcher<T> |
VertxDataFetcher.newInstance(VertxDataFetcher arg,
io.vertx.lang.rx.TypeArg<T> __typeArg_T) |
Constructor and Description |
---|
VertxDataFetcher(VertxDataFetcher delegate) |
Copyright © 2021 Eclipse. All rights reserved.