Package | Description |
---|---|
io.vertx.ext.web.handler.graphql.dataloader |
Modifier and Type | Method and Description |
---|---|
static <K,V> VertxMappedBatchLoader<K,V> |
VertxMappedBatchLoader.create(BiFunction<Set<K>,org.dataloader.BatchLoaderEnvironment,io.vertx.core.Future<Map<K,V>>> batchLoader)
Create a new batch loader that works well with
Future based APIs. |
static <K,V> VertxMappedBatchLoader<K,V> |
VertxMappedBatchLoader.create(BiFunction<Set<K>,org.dataloader.BatchLoaderEnvironment,io.vertx.core.Future<Map<K,V>>> batchLoader,
Function<org.dataloader.BatchLoaderEnvironment,io.vertx.core.Context> contextProvider)
Like
create(BiFunction) , except the method uses the provided contextProvider instead of capturing the current one. |
static <K,V> VertxMappedBatchLoader<K,V> |
VertxMappedBatchLoader.create(TriConsumer<Set<K>,org.dataloader.BatchLoaderEnvironment,io.vertx.core.Promise<Map<K,V>>> batchLoader)
Create a new batch loader that works well with callback based APIs.
|
static <K,V> VertxMappedBatchLoader<K,V> |
VertxMappedBatchLoader.create(TriConsumer<Set<K>,org.dataloader.BatchLoaderEnvironment,io.vertx.core.Promise<Map<K,V>>> batchLoader,
Function<org.dataloader.BatchLoaderEnvironment,io.vertx.core.Context> contextProvider)
Like
create(TriConsumer) , except the method uses the provided contextProvider instead of capturing the current one. |
Copyright © 2020 Eclipse. All rights reserved.