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