Package | Description |
---|---|
io.ebean |
Core API (see EbeanServer and Ebean).
|
Modifier and Type | Method and Description |
---|---|
SqlRow |
SqlQuery.findOne()
Execute the query returning a single row or null.
|
SqlRow |
EbeanServer.findOne(SqlQuery query,
Transaction transaction)
Execute the sql query returning a single MapBean or null.
|
Modifier and Type | Method and Description |
---|---|
List<SqlRow> |
SqlQuery.findList()
Execute the query returning a list.
|
List<SqlRow> |
EbeanServer.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 |
EbeanServer.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 |
EbeanServer.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.
|
Copyright © 2018. All rights reserved.