public class CollectedRowsCounter extends java.lang.Object implements ProgressListener
| Constructor and Description |
|---|
CollectedRowsCounter() |
| Modifier and Type | Method and Description |
|---|---|
void |
collected(int day,
ModelElement modelElement,
long rc)
Rows have been collected.
|
void |
collectionJobEnqueued(int day,
ModelElement modelElement)
A collection-job has been enqueued.
|
void |
collectionJobStarted(int day,
ModelElement modelElement)
Collection of rows has been started.
|
java.util.List<java.lang.String> |
createStatistic(boolean forDelete,
DataModel datamodel,
ExportStatistic exportStatistic)
Creates the statistic.
|
void |
exported(Table table,
long rc)
Rows have been exported.
|
java.util.Map<Table,java.lang.Long> |
getCollectedRowsCount() |
java.util.Map<Table,java.lang.Long> |
getDeletedRowsCount() |
void |
newStage(java.lang.String stage,
boolean isErrorStage,
boolean isFinalStage)
New stage has begun.
|
void |
prepareExport()
Export is ready.
|
public java.util.Map<Table,java.lang.Long> getCollectedRowsCount()
public java.util.Map<Table,java.lang.Long> getDeletedRowsCount()
public java.util.List<java.lang.String> createStatistic(boolean forDelete,
DataModel datamodel,
ExportStatistic exportStatistic)
public void collected(int day,
ModelElement modelElement,
long rc)
ProgressListenercollected in interface ProgressListenerday - the daymodelElement - the association or table which has been resolvedrc - the number of rows which have been collectedpublic void newStage(java.lang.String stage,
boolean isErrorStage,
boolean isFinalStage)
ProgressListenernewStage in interface ProgressListenerstage - the stagepublic void exported(Table table, long rc)
ProgressListenerexported in interface ProgressListenertable - the table from which the rows have been exportedrc - the number of rowspublic void collectionJobEnqueued(int day,
ModelElement modelElement)
ProgressListenercollectionJobEnqueued in interface ProgressListenerday - the daymodelElement - the association or table to be resolvedpublic void collectionJobStarted(int day,
ModelElement modelElement)
ProgressListenercollectionJobStarted in interface ProgressListenerday - the daymodelElement - the association or table to be resolvedpublic void prepareExport()
throws CancellationException
ProgressListenerprepareExport in interface ProgressListenerCancellationException