Package ru.curs.celesta.dbutils.stmt
Class PreparedStatementHolderFactory
- java.lang.Object
-
- ru.curs.celesta.dbutils.stmt.PreparedStatementHolderFactory
-
public final class PreparedStatementHolderFactory extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PreparedStmtHolder
createFindSetHolder(DBAdaptor dbAdaptor, Connection conn, Supplier<FromClause> fromClauseSupplier, Supplier<FromTerm> fromTermSupplier, Supplier<WhereTerm> whereTermSupplier, Supplier<String> orderBySupplier, Supplier<Long> offsetSupplier, Supplier<Long> rowCountSupplier, Supplier<Set<String>> fieldsForStatementSupplier)
static PreparedStmtHolder
createGetHolder(TableElement meta, DBAdaptor dbAdaptor, Connection conn)
static MaskedStatementHolder
createInsertHolder(BasicTable meta, DBAdaptor dbAdaptor, Connection conn)
static PreparedStmtHolder
createUpdateHolder(BasicTable meta, DBAdaptor dbAdaptor, Connection conn, Supplier<boolean[]> updateMaskSupplier, Supplier<boolean[]> nullUpdateMaskSupplier)
-
-
-
Method Detail
-
createInsertHolder
public static MaskedStatementHolder createInsertHolder(BasicTable meta, DBAdaptor dbAdaptor, Connection conn)
-
createGetHolder
public static PreparedStmtHolder createGetHolder(TableElement meta, DBAdaptor dbAdaptor, Connection conn)
-
createUpdateHolder
public static PreparedStmtHolder createUpdateHolder(BasicTable meta, DBAdaptor dbAdaptor, Connection conn, Supplier<boolean[]> updateMaskSupplier, Supplier<boolean[]> nullUpdateMaskSupplier)
-
createFindSetHolder
public static PreparedStmtHolder createFindSetHolder(DBAdaptor dbAdaptor, Connection conn, Supplier<FromClause> fromClauseSupplier, Supplier<FromTerm> fromTermSupplier, Supplier<WhereTerm> whereTermSupplier, Supplier<String> orderBySupplier, Supplier<Long> offsetSupplier, Supplier<Long> rowCountSupplier, Supplier<Set<String>> fieldsForStatementSupplier)
-
-