Uses of Class
fj.control.db.DB
-
Packages that use DB Package Description fj.control.db Abstractions for JDBC connections. -
-
Uses of DB in fj.control.db
Fields in fj.control.db declared as DB Modifier and Type Field Description private static DB<Unit>DbState. commitprivate static DB<Unit>DbState. rollbackprivate DB<Unit>DbState. terminalMethods in fj.control.db that return DB Modifier and Type Method Description <B> DB<B>DB. bind(F<A,DB<B>> f)Binds the given action across the result of this database action.static <A> DB<A>DB. db(F<java.sql.Connection,A> f)Constructs a database action as a function from a database connection to a value.static <A> DB<A>DB. db(Try1<java.sql.Connection,A,java.sql.SQLException> t)Constructs a database action as a function from a database connection to a value.static <A> DB<A>DB. join(DB<DB<A>> a)Removes one layer of monadic structure.<B> DB<B>DB. map(F<A,B> f)Map a function over the result of this action.static <A> DB<A>DB. unit(A a)Constructs a database action that returns the given value completely intact.Methods in fj.control.db that return types with arguments of type DB Modifier and Type Method Description static <A,B>
F<DB<A>,DB<B>>DB. liftM(F<A,B> f)Promotes any given function so that it transforms between values in the database.static <A,B>
F<DB<A>,DB<B>>DB. liftM(F<A,B> f)Promotes any given function so that it transforms between values in the database.Methods in fj.control.db with parameters of type DB Modifier and Type Method Description static <A> DB<A>DB. join(DB<DB<A>> a)Removes one layer of monadic structure.<A> ADbState. run(DB<A> dba)Runs the given database action as a single transaction.Method parameters in fj.control.db with type arguments of type DB Modifier and Type Method Description <B> DB<B>DB. bind(F<A,DB<B>> f)Binds the given action across the result of this database action.static <A> DB<A>DB. join(DB<DB<A>> a)Removes one layer of monadic structure.Constructors in fj.control.db with parameters of type DB Constructor Description DbState(Connector pc, DB<Unit> terminal)
-