Package | Description |
---|---|
com.avaje.ebean |
Core API (see EbeanServer and Ebean).
|
Modifier and Type | Method and Description |
---|---|
SqlRow |
SqlQuery.findUnique()
Execute the query returning a single row or null.
|
SqlRow |
EbeanServer.findUnique(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.
|
Modifier and Type | Method and Description |
---|---|
void |
SqlQuery.findEach(QueryEachConsumer<SqlRow> consumer)
Execute the SqlQuery iterating a row at a time.
|
void |
EbeanServer.findEach(SqlQuery query,
QueryEachConsumer<SqlRow> consumer,
Transaction transaction)
Execute the SqlQuery iterating a row at a time.
|
void |
SqlQuery.findEachWhile(QueryEachWhileConsumer<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,
QueryEachWhileConsumer<SqlRow> consumer,
Transaction transaction)
Execute the SqlQuery iterating a row at a time with the ability to stop consuming part way through.
|
Copyright © 2016. All rights reserved.