Class ShellScriptBasedStatisticRenovator
java.lang.Object
net.sf.jailer.database.ShellScriptBasedStatisticRenovator
- All Implemented Interfaces:
StatisticRenovator
- Direct Known Subclasses:
DB2ShellScriptBasedStatisticRenovator
Renews the DB table statistics for the working-tables
by executing a shell-script.
- Author:
- Ralf Wisser
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetScriptInvocation(Session session) Gets shell-invocation.voidrenew(Session session, ExecutionContext executionContext) Renews the DB table statistics for the working-tables by executing the shell-script.
-
Constructor Details
-
ShellScriptBasedStatisticRenovator
Constructor.- Parameters:
scriptInvocation- invocation of the script-file
-
-
Method Details
-
renew
Renews the DB table statistics for the working-tables by executing the shell-script.- Specified by:
renewin interfaceStatisticRenovator- Parameters:
session- for execution of SQL-statementsexecutionContext- the execution context- Throws:
Exception
-
getScriptInvocation
-