Package | Description |
---|---|
com.codelanx.codelanxlib.data |
Modifier and Type | Method and Description |
---|---|
default <V> SQLFunction<T,V> |
SQLFunction.andThen(Function<? super R,? extends V> after)
Returns a composed function that first applies this function to
its input, and then applies the
after function to the result. |
default <V> SQLFunction<V,R> |
SQLFunction.compose(Function<? super V,? extends T> before)
Returns a composed function that first applies the
before
function to its input, and then applies this function to the result. |
static <T> SQLFunction<T,T> |
SQLFunction.identity()
Returns a function that always returns its input argument.
|
Modifier and Type | Method and Description |
---|---|
default <R> SQLResponse<R> |
SQLDataType.operate(SQLFunction<? super PreparedStatement,R> oper,
String sql,
Object... params)
Runs a
PreparedStatement using the provided sql parameter. |
default <R> SQLResponse<R> |
SQLDataType.query(SQLFunction<? super ResultSet,R> oper,
String sql,
Object... params)
Executes a query, and applies the resulting
ResultSet to the
passed SQLFunction . |
Copyright © 2015. All rights reserved.