| Package | Description |
|---|---|
| com.holonplatform.datastore.jdbc.composer | |
| com.holonplatform.datastore.jdbc.composer.expression | |
| com.holonplatform.datastore.jdbc.composer.internal |
| Modifier and Type | Method and Description |
|---|---|
static <R> SQLResultConverter<R> |
SQLResultConverter.create(Class<? extends R> conversionType,
BiFunction<SQLExecutionContext,SQLResult,R> conversionFunction)
Create a new
SQLResultConverter for given conversionType, using provided BiFunction
as result conversion strategy. |
| Modifier and Type | Method and Description |
|---|---|
SQLResultConverter<?> |
SQLQuery.getResultConverter()
Get the SQL result converter to be used with this query.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<SQLResultConverter<R>> |
SQLProjection.getConverter()
Get the SQL result converter to be used with this projection, if available.
|
Optional<SQLResultConverter<?>> |
SQLQueryDefinition.getResultConverter()
Get the optional
SQLResultConverter. |
| Modifier and Type | Method and Description |
|---|---|
static SQLQuery |
SQLQuery.create(String sql,
SQLResultConverter<?> resultConverter)
Create a new
SQLQuery. |
static SQLQuery |
SQLQuery.create(String sql,
SQLResultConverter<?> resultConverter,
SQLParameter<?>[] parameters)
Create a new
SQLQuery. |
void |
SQLProjection.MutableSQLProjection.setConverter(SQLResultConverter<R> converter)
Set the result converter.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CallbackSQLResultConverter<R>
A
SQLResultConverter implementation which uses a callback Function to perform actual result
conversion. |
Copyright © 2019 The Holon Platform. All rights reserved.