de.akquinet.jbosscc.guttenbase.tools.postgresql.PostgresqlReindexTablesTool Maven / Gradle / Ivy
package de.akquinet.jbosscc.guttenbase.tools.postgresql;
import java.sql.SQLException;
import de.akquinet.jbosscc.guttenbase.repository.ConnectorRepository;
import de.akquinet.jbosscc.guttenbase.tools.AbstractTablesOperationTool;
/**
* Will execute REINDEX TABLE table;
*
*
* © 2012 akquinet tech@spree
*
*
* @author M. Dahm
*/
public class PostgresqlReindexTablesTool extends AbstractTablesOperationTool {
public PostgresqlReindexTablesTool(final ConnectorRepository connectorRepository) {
super(connectorRepository, "REINDEX TABLE " + TABLE_PLACEHOLDER + ";");
}
public void executeOnAllTables(final String target) throws SQLException {
executeOnAllTables(target, false, false);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy