de.akquinet.jbosscc.guttenbase.tools.derby.DerbyCompressTablesTool Maven / Gradle / Ivy
package de.akquinet.jbosscc.guttenbase.tools.derby;
import java.sql.SQLException;
import de.akquinet.jbosscc.guttenbase.repository.ConnectorRepository;
import de.akquinet.jbosscc.guttenbase.tools.AbstractTablesOperationTool;
/**
* Will execute SYSCS_UTIL.SYSCS_INPLACE_COMPRESS_TABLE system procedure
*
* © 2012-2020 akquinet tech@spree
*
*
* @author M. Dahm
*/
public class DerbyCompressTablesTool extends AbstractTablesOperationTool
{
public DerbyCompressTablesTool(final ConnectorRepository connectorRepository)
{
super(connectorRepository, "CALL SYSCS_UTIL.SYSCS_INPLACE_COMPRESS_TABLE ('sa', '" + TABLE_PLACEHOLDER + "', 1, 1, 1);");
}
public void executeOnAllTables(final String target) throws SQLException
{
executeOnAllTables(target, false, false);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy