public class PartitionEventDetailsPurge extends Object
| Modifier and Type | Method and Description |
|---|---|
int |
execute() |
protected String |
getDeleteRowByKeyQuery(DatabaseType databaseType) |
protected String |
getEntityName() |
protected String |
getFindRowKeysQuery(DatabaseType databaseType) |
protected Integer |
getKeyFromResultSet(ResultSet resultSet) |
protected void |
setDeleteRowByKeyQueryParams(PreparedStatement preparedStatement,
Integer key)
Set the deletion query parameters.
|
protected void |
setFindRowKeysQueryParams(PreparedStatement preparedStatement)
Set the row keys selection query parameters.
|
protected String getEntityName()
protected String getFindRowKeysQuery(DatabaseType databaseType)
protected void setFindRowKeysQueryParams(PreparedStatement preparedStatement) throws SQLException
preparedStatement - the prepared statement created for the row keys selection querySQLExceptionprotected Integer getKeyFromResultSet(ResultSet resultSet) throws SQLException
resultSet columns valuesSQLExceptionprotected String getDeleteRowByKeyQuery(DatabaseType databaseType)
protected void setDeleteRowByKeyQueryParams(PreparedStatement preparedStatement, Integer key) throws SQLException
key provided.preparedStatement - the prepared statement created for the row deletion querykey - the row key object representationSQLExceptionpublic int execute()
Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.