public class Collectors extends Object
| Constructor and Description |
|---|
Collectors() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Entity> |
fromRow(io.vertx.sqlclient.Row row,
Class<T> clasz) |
static io.vertx.core.json.JsonObject |
fromRow(io.vertx.sqlclient.Row row,
String... columnNames) |
static <T> T |
getRowValue(io.vertx.sqlclient.Row row,
Class<T> type,
String column) |
static <T> T |
getRowValue(io.vertx.sqlclient.Row row,
Class<T> type,
String column,
T def) |
static <T extends Entity> |
ofEntities(Class<T> clasz) |
static Collector<io.vertx.sqlclient.Row,?,io.vertx.core.json.JsonArray> |
ofJsonObjects(String... columnNames) |
public static <T extends Entity> Collector<io.vertx.sqlclient.Row,?,List<T>> ofEntities(Class<T> clasz)
public static Collector<io.vertx.sqlclient.Row,?,io.vertx.core.json.JsonArray> ofJsonObjects(String... columnNames)
public static io.vertx.core.json.JsonObject fromRow(io.vertx.sqlclient.Row row,
String... columnNames)
public static <T> T getRowValue(io.vertx.sqlclient.Row row,
Class<T> type,
String column,
T def)
Copyright © 2021. All rights reserved.