Uses of Interface
cc.carm.lib.easysql.api.function.SQLFunction
-
Packages that use SQLFunction Package Description cc.carm.lib.easysql.api cc.carm.lib.easysql.api.action.query cc.carm.lib.easysql.api.builder cc.carm.lib.easysql.api.function -
-
Uses of SQLFunction in cc.carm.lib.easysql.api
Methods in cc.carm.lib.easysql.api with parameters of type SQLFunction Modifier and Type Method Description default <R> R
SQLAction. execute(@NotNull SQLFunction<T,R> function, @Nullable SQLExceptionHandler exceptionHandler)
执行语句并处理返回值default <R> R
SQLAction. execute(@NotNull SQLFunction<T,R> function, R defaultResult, @Nullable SQLExceptionHandler exceptionHandler)
执行语句并处理返回值default <R> R
SQLAction. executeFunction(@NotNull SQLFunction<@NotNull T,R> function)
执行语句并处理返回值default <R> R
SQLAction. executeFunction(@NotNull SQLFunction<@NotNull T,R> function, R defaultResult)
执行语句并处理返回值<R> @NotNull java.util.concurrent.CompletableFuture<R>
SQLAction. executeFuture(@NotNull SQLFunction<T,R> handler)
以异步Future方式执行SQL语句。<R> java.util.concurrent.CompletableFuture<R>
SQLManager. fetchMetadata(@NotNull SQLBiFunction<java.sql.DatabaseMetaData,java.sql.Connection,java.sql.ResultSet> supplier, @NotNull SQLFunction<@NotNull java.sql.ResultSet,R> reader)
获取并操作DatabaseMetaData
提供的指定ResultSet
以得到需要的数据库消息。default <R> java.util.concurrent.CompletableFuture<R>
SQLManager. fetchMetadata(@NotNull SQLFunction<java.sql.DatabaseMetaData,java.sql.ResultSet> supplier, @NotNull SQLFunction<@NotNull java.sql.ResultSet,R> reader)
获取并操作DatabaseMetaData
提供的指定ResultSet
以得到需要的数据库消息。default <R> java.util.concurrent.CompletableFuture<R>
SQLManager. fetchMetadata(@NotNull SQLFunction<java.sql.DatabaseMetaData,R> reader)
获取并操作DatabaseMetaData
以得到需要的数据库消息。 -
Uses of SQLFunction in cc.carm.lib.easysql.api.action.query
Methods in cc.carm.lib.easysql.api.action.query with parameters of type SQLFunction Modifier and Type Method Description default <R> R
QueryAction. executeFunction(@NotNull SQLFunction<@NotNull SQLQuery,R> function, R defaultResult)
-
Uses of SQLFunction in cc.carm.lib.easysql.api.builder
Methods in cc.carm.lib.easysql.api.builder with parameters of type SQLFunction Modifier and Type Method Description <R> java.util.concurrent.CompletableFuture<R>
TableMetadataBuilder. fetchColumns(@Nullable java.lang.String columnPattern, @NotNull SQLFunction<java.sql.ResultSet,R> reader)
对表内的数据列元数据进行读取 -
Uses of SQLFunction in cc.carm.lib.easysql.api.function
Methods in cc.carm.lib.easysql.api.function that return SQLFunction Modifier and Type Method Description default <V> SQLFunction<V,R>
SQLFunction. compose(@NotNull SQLFunction<? super V,? extends T> before)
default <V> SQLFunction<T,V>
SQLFunction. then(@NotNull SQLFunction<? super R,? extends V> after)
Methods in cc.carm.lib.easysql.api.function with parameters of type SQLFunction Modifier and Type Method Description default <V> SQLFunction<V,R>
SQLFunction. compose(@NotNull SQLFunction<? super V,? extends T> before)
default <V> SQLBiFunction<T,U,V>
SQLBiFunction. then(@NotNull SQLFunction<? super R,? extends V> after)
default <V> SQLFunction<T,V>
SQLFunction. then(@NotNull SQLFunction<? super R,? extends V> after)
-