1 package guru.mikelue.jdut;
2
3 import java.sql.Connection;
4 import guru.mikelue.jdut.jdbc.JdbcFunction;
5
6 /**
7 * Represents the function provider for building/clean.
8 *
9 * @see DuetConductor
10 */
11 public interface DuetFunctions {
12 /**
13 * Gets the function for building data.
14 *
15 * @return The function with accepting {@link Connection}
16 */
17 public JdbcFunction<Connection, ?> getBuildFunction();
18 /**
19 * Gets the function for cleaning data.
20 *
21 * @return The function with accepting {@link Connection}
22 */
23 public JdbcFunction<Connection, ?> getCleanFunction();
24 }