public class SqlScriptBasedStatisticRenovator extends java.lang.Object implements StatisticRenovator
Constructor and Description |
---|
SqlScriptBasedStatisticRenovator()
Constructor.
|
SqlScriptBasedStatisticRenovator(java.lang.String scriptFileName)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.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(java.lang.String scriptFileName)
Sets name of SQL-script file.
|
public SqlScriptBasedStatisticRenovator(java.lang.String scriptFileName)
scriptFileName
- name of SQL-script filepublic SqlScriptBasedStatisticRenovator()
public java.lang.String getScriptFileName()
public void setScriptFileName(java.lang.String scriptFileName)
scriptFileName
- Name of SQL-script filepublic void renew(Session session, ExecutionContext executionContext) throws java.lang.Exception
renew
in interface StatisticRenovator
session
- for execution of SQL-statementsjava.lang.Exception