public class ShellScriptBasedStatisticRenovator extends java.lang.Object implements StatisticRenovator
Constructor and Description |
---|
ShellScriptBasedStatisticRenovator(java.lang.String scriptInvocation)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getScriptInvocation(Session session)
Gets shell-invocation.
|
void |
renew(Session session,
ExecutionContext executionContext)
Renews the DB table statistics for the working-tables
by executing the shell-script.
|
public ShellScriptBasedStatisticRenovator(java.lang.String scriptInvocation)
scriptInvocation
- invocation of the script-filepublic void renew(Session session, ExecutionContext executionContext) throws java.lang.Exception
renew
in interface StatisticRenovator
session
- for execution of SQL-statementsjava.lang.Exception
protected java.lang.String getScriptInvocation(Session session) throws java.lang.Exception
session
- for execution of SQL-statementsjava.lang.Exception