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)
ProgressListener
collected
in interface ProgressListener
day
- 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)
ProgressListener
newStage
in interface ProgressListener
stage
- the stagepublic void exported(Table table, long rc)
ProgressListener
exported
in interface ProgressListener
table
- the table from which the rows have been exportedrc
- the number of rowspublic void collectionJobEnqueued(int day, ModelElement modelElement)
ProgressListener
collectionJobEnqueued
in interface ProgressListener
day
- the daymodelElement
- the association or table to be resolvedpublic void collectionJobStarted(int day, ModelElement modelElement)
ProgressListener
collectionJobStarted
in interface ProgressListener
day
- the daymodelElement
- the association or table to be resolvedpublic void prepareExport() throws CancellationException
ProgressListener
prepareExport
in interface ProgressListener
CancellationException