| Package | Description |
|---|---|
| ph.com.nightowlstudios.entity | |
| ph.com.nightowlstudios.persistence | |
| ph.com.nightowlstudios.persistence.query | |
| ph.com.nightowlstudios.repository | |
| ph.com.nightowlstudios.utils |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Entity> |
Entity.fromJson(io.vertx.core.json.JsonObject json,
Class<T> entityClass) |
static <T extends Entity> |
Entity.getColumns(Class<T> clasz) |
static <T extends Entity> |
Entity.getTableName(Class<T> entity) |
static <T extends Entity> |
Entity.toJson(T entity) |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Entity> |
Collectors.fromRow(io.vertx.sqlclient.Row row,
Class<T> clasz) |
static <T extends Entity> |
Collectors.ofEntities(Class<T> clasz) |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Entity> |
QueryBuilder.delete(Class<T> tClass) |
static <T extends Entity> |
Query.delete(Class<T> from) |
static <T extends Entity> |
QueryBuilder.delete(T entity) |
static <T extends Entity> |
Query.delete(T entity) |
<T extends Entity> |
QueryBuilder.fullJoin(Class<T> toEntity,
String toColumn,
String fromColumn) |
<T extends Entity> |
QueryBuilder.fullOuterJoin(Class<T> toEntity,
String toColumn,
String fromColumn) |
<T extends Entity> |
QueryBuilder.innerJoin(Class<T> toEntity,
String toColumn,
String fromColumn) |
static <T extends Entity> |
QueryBuilder.insert(Class<T> tClass) |
static <T extends Entity> |
Query.insert(Class<T> entityClass) |
static <T extends Entity> |
QueryBuilder.insert(T entity) |
static <T extends Entity> |
Query.insert(T entity) |
<T extends Entity> |
QueryBuilder.leftJoin(Class<T> toEntity,
String toColumn,
String fromColumn) |
<T extends Entity> |
QueryBuilder.rightJoin(Class<T> toEntity,
String toColumn,
String fromColumn) |
static <T extends Entity> |
QueryBuilder.select(Class<T> tClass) |
static <T extends Entity> |
Query.select(Class<T> entityClass) |
static <T extends Entity> |
Query.select(Class<T> entityClass,
UUID id) |
static <T extends Entity> |
QueryBuilder.update(Class<T> tClass) |
static <T extends Entity> |
Query.update(Class<T> entityClass) |
static <T extends Entity> |
QueryBuilder.update(T entity) |
static <T extends Entity> |
Query.update(T entity) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Entity> |
Repository.findMany(Query query,
Collector<io.vertx.sqlclient.Row,?,List<T>> collector) |
<T extends Entity> |
Repository.findOneById(Class<T> entityClass,
String id) |
<T extends Entity,R> |
Repository.findOneById(Class<T> entityClass,
String id,
Function<io.vertx.sqlclient.Row,R> rowMapper) |
<T extends Entity> |
Repository.findOneById(Class<T> entityClass,
UUID id) |
<T extends Entity> |
Repository.findOneById(Class<T> entityClass,
UUID id,
Collector<io.vertx.sqlclient.Row,?,List<T>> collector) |
<T extends Entity,R> |
Repository.findOneById(Class<T> entityClass,
UUID id,
Function<io.vertx.sqlclient.Row,R> rowMapper) |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Entity> |
Utils.merge(T from,
T to)
Merges the field values of
to onto from, replacing from's value
with to's non-null value. |
Copyright © 2021. All rights reserved.