Package scriptella.execution
Class ExecutionStatistics
java.lang.Object
scriptella.execution.ExecutionStatistics
Represents script execution statistics
The statistics is groupped by script elements i.e. script or query.
- Version:
- 1.0
- Author:
- Fyodor Kupolov
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the statistics on executed categories, e.g.intReturns date/time when ETL was completed.Returns date/time when ETL was started.longTotal ETL execution time or -1 if ETL hasn't completed.toString()
-
Constructor Details
-
ExecutionStatistics
public ExecutionStatistics()
-
-
Method Details
-
getExecutedStatementsCount
public int getExecutedStatementsCount()- Returns:
- number of statements executed for all elements.
-
getElements
-
getCategoriesStatistics
Returns the statistics on executed categories, e.g. queries-5times, scripts-10times.Note the category names are xml element names, no plural form used.
- Returns:
- xmlelement->count map .
-
toString
-
getTotalTime
public long getTotalTime()Total ETL execution time or -1 if ETL hasn't completed.- Returns:
- ETL execution time in milliseconds.
-
getStartDate
Returns date/time when ETL was started.- Returns:
- ETL start date/time.
-
getFinishDate
Returns date/time when ETL was completed.- Returns:
- ETL finish date/time.
-