public class CommonDatabaseDataExporter extends Object
| Modifier and Type | Field and Description | 
|---|---|
| protected AtomicInteger | batchCounter | 
| protected AtomicLong | fullDuration | 
| protected org.slf4j.Logger | log | 
| protected AtomicInteger | processedObjectsCounter | 
| Constructor and Description | 
|---|
| CommonDatabaseDataExporter(Converter converter,
                          DatabaseExporterHelper helper,
                          CommonPersister persister) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | exportInBatchByQueryWithInCondition(String query,
                                   String fieldName,
                                   Collection<Object> objectIdList,
                                   String callerName) | 
| void | exportUniqueInBatchByQueryWithInCondition(String query,
                                         String fieldName,
                                         Collection<Object> objectIdList,
                                         String callerName) | 
| Converter | getConverter() | 
| List<EntityObjectReadyForExport> | getEntityObjectReadyForExports(String query,
                              String fieldName,
                              Collection<?> ids) | 
| DatabaseExporterHelper | getHelper() | 
protected final org.slf4j.Logger log
protected final AtomicInteger batchCounter
protected final AtomicLong fullDuration
protected final AtomicInteger processedObjectsCounter
public CommonDatabaseDataExporter(Converter converter, DatabaseExporterHelper helper, CommonPersister persister)
public void exportInBatchByQueryWithInCondition(String query, String fieldName, Collection<Object> objectIdList, String callerName)
public void exportUniqueInBatchByQueryWithInCondition(String query, String fieldName, Collection<Object> objectIdList, String callerName)
public List<EntityObjectReadyForExport> getEntityObjectReadyForExports(String query, String fieldName, Collection<?> ids)
public Converter getConverter()
public DatabaseExporterHelper getHelper()
Copyright © 2003–2022 Atlassian. All rights reserved.