public class DataProcessDatabase extends Object implements DataProcessWriterIntf
| Modifier and Type | Field and Description |
|---|---|
protected int |
batchCount |
protected int |
counter |
protected DataStoreUtil |
dataStore |
protected boolean |
finished |
protected Map<String,String> |
outputMap |
protected String |
outputType |
protected int |
remaining |
protected List<Map<String,Object>> |
saveList |
protected String |
tableName |
protected Long |
userId |
| Constructor and Description |
|---|
DataProcessDatabase() |
| Modifier and Type | Method and Description |
|---|---|
void |
closeOutput() |
FileUtilIntf |
getFileUtil() |
void |
openOutput(DataProcessConfigIntf aConfig) |
void |
processBlockDetail(DataProcessEngine anEngine,
DataProcessBlock aBlock,
int aCount) |
void |
writeHeaderOutput() |
void |
writeOutput(String anOutputString) |
protected DataStoreUtil dataStore
protected Long userId
protected String outputType
protected String tableName
protected int counter
protected int remaining
protected int batchCount
protected boolean finished
public void openOutput(DataProcessConfigIntf aConfig) throws Exception
openOutput in interface DataProcessWriterIntfExceptionpublic void processBlockDetail(DataProcessEngine anEngine, DataProcessBlock aBlock, int aCount) throws Exception
processBlockDetail in interface DataProcessWriterIntfExceptionpublic void writeHeaderOutput()
throws Exception
writeHeaderOutput in interface DataProcessWriterIntfExceptionpublic void writeOutput(String anOutputString) throws Exception
writeOutput in interface DataProcessWriterIntfExceptionpublic FileUtilIntf getFileUtil()
getFileUtil in interface DataProcessWriterIntfpublic void closeOutput()
throws Exception
closeOutput in interface DataProcessWriterIntfExceptionCopyright © 2020. All rights reserved.