Interface RDBMSActionStrategyInterface
- All Known Implementing Classes:
BaseRDBMSActionStrategy
,MySQLFullTextIndexFieldStrategy
,SQLiteRDBMSActionStrategy
public interface RDBMSActionStrategyInterface
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
-
Method Summary
Modifier and TypeMethodDescriptionappendCriterionToWhereClause
(QFilterCriteria criterion, StringBuilder clause, String column, List<Serializable> values, QFieldMetaData field) modifies the clause StringBuilder (appending to it) returning the number of expected number of params to bindvoid
executeBatchUpdate
(Connection connection, String updateSQL, List<List<Serializable>> values) executeInsertForGeneratedIds
(Connection connection, String sql, List<Object> params, QFieldMetaData primaryKeyField) void
executeStatement
(PreparedStatement statement, CharSequence sql, RDBMSActionStrategyInterface.ResultSetProcessor processor, Object... params) executeUpdate
(Connection connection, String sql, List<Object> params) executeUpdateForRowCount
(Connection connection, String sql, Object... params) getFieldValueFromResultSet
(QFieldType type, ResultSet resultSet, int i) getPageSize
(AbstractActionInput actionInput)
-
Method Details
-
appendCriterionToWhereClause
Integer appendCriterionToWhereClause(QFilterCriteria criterion, StringBuilder clause, String column, List<Serializable> values, QFieldMetaData field) modifies the clause StringBuilder (appending to it) returning the number of expected number of params to bind -
getFieldValueFromResultSet
Serializable getFieldValueFromResultSet(QFieldType type, ResultSet resultSet, int i) throws SQLException - Throws:
SQLException
-
executeUpdate
PreparedStatement executeUpdate(Connection connection, String sql, List<Object> params) throws SQLException - Throws:
SQLException
-
executeBatchUpdate
void executeBatchUpdate(Connection connection, String updateSQL, List<List<Serializable>> values) throws SQLException - Throws:
SQLException
-
executeInsertForGeneratedIds
List<Serializable> executeInsertForGeneratedIds(Connection connection, String sql, List<Object> params, QFieldMetaData primaryKeyField) throws SQLException - Throws:
SQLException
-
executeUpdateForRowCount
Integer executeUpdateForRowCount(Connection connection, String sql, Object... params) throws SQLException - Throws:
SQLException
-
executeStatement
void executeStatement(PreparedStatement statement, CharSequence sql, RDBMSActionStrategyInterface.ResultSetProcessor processor, Object... params) throws SQLException, QException - Throws:
SQLException
QException
-
getPageSize
-