public class FlatFileLoaderReport
extends java.lang.Object
Constructor and Description |
---|
FlatFileLoaderReport(java.lang.String context,
int inserted,
int updated,
int untouched,
int error,
int postprocerror,
long loadingtimems,
Csvloadererror[] errordetails)
creates a new report
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContext()
gets the context of the loading
|
int |
getError()
gets the number of errors (nothing inserted / updated at all)
|
Csvloadererror[] |
getErrordetails()
gets the number of erros
|
int |
getInserted()
gets the number of elements inserted
|
long |
getLoadingtimems()
return the loading time in ms
|
int |
getPostprocError()
get the number of post processing errors: main object insert / update
proceeded, but some post-processing statement failed
|
int |
getUntouched()
returns the number of lines left untouched
|
int |
getUpdated()
gets the number of elements updated
|
public FlatFileLoaderReport(java.lang.String context, int inserted, int updated, int untouched, int error, int postprocerror, long loadingtimems, Csvloadererror[] errordetails)
context
- context for loadinginserted
- number of lines insertedupdated
- number of lines updateduntouched
- number of lines untouchederror
- number of lines in error (nothing inserted)postprocerror
- number of lines with post-processing errors (main values
inserted but further processing failed)loadingtimems
- loading time in mserrordetails
- list of errorspublic java.lang.String getContext()
public int getInserted()
public int getUpdated()
public int getError()
public int getPostprocError()
public long getLoadingtimems()
public Csvloadererror[] getErrordetails()
public int getUntouched()