public class SqlScriptBasedStatisticRenovator extends Object implements StatisticRenovator
| Constructor and Description |
|---|
SqlScriptBasedStatisticRenovator()
Constructor.
|
SqlScriptBasedStatisticRenovator(String scriptFileName)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getScriptFileName()
Gets name of SQL-script file.
|
void |
renew(Session session,
ExecutionContext executionContext)
Renews the DB table statistics for the working-tables
by executing the SQL-script.
|
void |
setScriptFileName(String scriptFileName)
Sets name of SQL-script file.
|
public SqlScriptBasedStatisticRenovator(String scriptFileName)
scriptFileName - name of SQL-script filepublic SqlScriptBasedStatisticRenovator()
public String getScriptFileName()
public void setScriptFileName(String scriptFileName)
scriptFileName - Name of SQL-script filepublic void renew(Session session, ExecutionContext executionContext) throws Exception
renew in interface StatisticRenovatorsession - for execution of SQL-statementsException