Package | Description |
---|---|
com.glyart.mystral.database |
Contains the implementations of the main functionalities of this library.
|
com.glyart.mystral.sql |
Contains interfaces used by
DataOperations and AsyncDataOperations implementations. |
Modifier and Type | Method and Description |
---|---|
<T> T |
Database.queryForObject(@NotNull String sql,
Object[] args,
@NotNull ResultSetRowMapper<T> resultSetRowMapper) |
<T> T |
Database.queryForObject(@NotNull String sql,
Object[] args,
ResultSetRowMapper<T> resultSetRowMapper,
int... sqlTypes) |
<T> T |
Database.queryForObject(@NotNull String sql,
ResultSetRowMapper<T> resultSetRowMapper) |
<T> T |
Database.queryForObjectOrElseGet(@NotNull String sql,
Object[] args,
ResultSetRowMapper<T> resultSetRowMapper,
@NotNull Supplier<T> supplier,
int... sqlTypes) |
<T> T |
Database.queryForObjectOrElseGet(@NotNull String sql,
ResultSetRowMapper<T> resultSetRowMapper,
@NotNull Supplier<T> supplier) |
Modifier and Type | Method and Description |
---|---|
<T> CompletableFuture<T> |
AsyncDataOperations.queryForObject(@NotNull String sql,
Object[] args,
@NotNull ResultSetRowMapper<T> resultSetRowMapper)
Executes a query given an SQL statement: it will be used to create a PreparedStatement.
|
<T> T |
DataOperations.queryForObject(@NotNull String sql,
Object[] args,
@NotNull ResultSetRowMapper<T> resultSetRowMapper)
Executes a query given an SQL statement: it will be used to create a PreparedStatement.
|
<T> T |
DataOperations.queryForObject(@NotNull String sql,
Object[] args,
ResultSetRowMapper<T> resultSetRowMapper,
int... sqlTypes)
Executes a query given an SQL statement: it will be used to create a PreparedStatement.
|
<T> T |
DataOperations.queryForObject(@NotNull String sql,
ResultSetRowMapper<T> resultSetRowMapper)
Executes a query given static SQL statement, then it maps the first
ResultSet row to a result object using the
ResultSetRowMapper implementation. |
<T> CompletableFuture<T> |
AsyncDataOperations.queryForObjectOrElseGet(@NotNull String sql,
Object[] args,
ResultSetRowMapper<T> resultSetRowMapper,
@NotNull Supplier<T> supplier,
int... sqlTypes)
Executes a query given an SQL statement: it will be used to create a PreparedStatement.
|
<T> T |
DataOperations.queryForObjectOrElseGet(@NotNull String sql,
Object[] args,
ResultSetRowMapper<T> resultSetRowMapper,
@NotNull Supplier<T> supplier,
int... sqlTypes)
Executes a query given an SQL statement: it will be used to create a PreparedStatement.
|
<T> CompletableFuture<T> |
AsyncDataOperations.queryForObjectOrElseGet(@NotNull String sql,
ResultSetRowMapper<T> resultSetRowMapper,
@NotNull Supplier<T> supplier)
Executes a query given static SQL statement, then it maps the first
ResultSet row to a result object using the
ResultSetRowMapper implementation. |
<T> T |
DataOperations.queryForObjectOrElseGet(@NotNull String sql,
ResultSetRowMapper<T> resultSetRowMapper,
@NotNull Supplier<T> supplier)
Executes a query given static SQL statement, then it maps the first
ResultSet row to a result object using the
ResultSetRowMapper implementation. |
Copyright © 2021. All rights reserved.