Package | Description |
---|---|
io.ebean | |
io.ebean.service |
Modifier and Type | Method and Description |
---|---|
SqlRow |
SqlQuery.findOne()
Execute the query returning a single row or null.
|
SqlRow |
ExtendedServer.findOne(SqlQuery query,
Transaction transaction)
Execute the sql query returning a single MapBean or null.
|
static SqlRow |
RawSqlBuilder.sqlRow(ResultSet resultSet,
String dbTrueValue,
boolean binaryOptimizedUUID)
Create and return a SqlRow based on the resultSet with dbTrueValue and binaryOptimizedUUID options.
|
Modifier and Type | Method and Description |
---|---|
List<SqlRow> |
SqlQuery.findList()
Execute the query returning a list.
|
List<SqlRow> |
ExtendedServer.findList(SqlQuery query,
Transaction transaction)
Execute the sql query returning a list of MapBean.
|
Optional<SqlRow> |
SqlQuery.findOneOrEmpty()
Execute the query returning an optional row.
|
Modifier and Type | Method and Description |
---|---|
void |
SqlQuery.findEach(java.util.function.Consumer<SqlRow> consumer)
Execute the SqlQuery iterating a row at a time.
|
void |
ExtendedServer.findEach(SqlQuery query,
java.util.function.Consumer<SqlRow> consumer,
Transaction transaction)
Execute the SqlQuery iterating a row at a time.
|
void |
SqlQuery.findEachWhile(java.util.function.Predicate<SqlRow> consumer)
Execute the SqlQuery iterating a row at a time with the ability to stop consuming part way through.
|
void |
ExtendedServer.findEachWhile(SqlQuery query,
java.util.function.Predicate<SqlRow> consumer,
Transaction transaction)
Execute the SqlQuery iterating a row at a time with the ability to stop consuming part way through.
|
Modifier and Type | Method and Description |
---|---|
SqlRow |
SpiRawSqlService.sqlRow(ResultSet resultSet,
String dbTrueValue,
boolean binaryOptimizedUUID)
Create based on a JDBC ResultSet.
|
Copyright © 2019. All rights reserved.