Package | Description |
---|---|
org.skife.jdbi.v2 |
Start with
DBI and Handle |
Modifier and Type | Method and Description |
---|---|
Query<ResultType> |
Query.concurrentUpdatable()
Specify that the result set should be concurrent updatable.
|
Query<Map<String,Object>> |
Handle.createQuery(String sql)
Return a default Query instance which can be executed later, as long as this handle remains open.
|
Query<ResultType> |
Query.fetchForward()
Specify that the fetch order should be forward, uses the underlying
Statement.setFetchDirection(int) |
Query<ResultType> |
Query.fetchReverse()
Specify that the fetch order should be reversed, uses the underlying
Statement.setFetchDirection(int) |
<Type> Query<Type> |
Query.map(Class<Type> resultType)
Provide basic JavaBean mapping capabilities.
|
<T> Query<T> |
Query.map(ResultColumnMapper<T> mapper) |
<T> Query<T> |
Query.map(ResultSetMapper<T> mapper) |
<T> Query<T> |
Query.mapTo(Class<T> resultType)
Makes use of registered mappers to map the result set to the desired type.
|
Query<ResultType> |
Query.setFetchSize(int fetchSize)
Specify the fetch size for the query.
|
Query<ResultType> |
Query.setMaxFieldSize(int maxFields)
Specify the maimum field size in the result set.
|
Query<ResultType> |
Query.setMaxRows(int maxRows)
Specify the maimum number of rows the query is to return.
|
Copyright © 2018. All rights reserved.