public class DataProcessReaderBase extends Object implements DataProcessReaderIntf
| Modifier and Type | Field and Description |
|---|---|
protected String |
bucketName |
protected CloudFactory |
cloudFactory |
protected DataProcessConfigIntf |
dataProcessConfig |
protected DataProcessEngine |
engine |
protected String |
filePath |
protected BufferedReader |
fileReader |
protected String |
fileToken |
protected FileUtilIntf |
fileUtil |
protected int |
limitRows |
protected List<List<String>> |
pageList |
protected List<String> |
pages |
protected List<List<List<List<String>>>> |
pagesTokenData |
protected String |
scriptPath |
protected DataProcessTemplateIntf |
template |
| Constructor and Description |
|---|
DataProcessReaderBase() |
| Modifier and Type | Method and Description |
|---|---|
int |
getCount() |
int |
getDefError() |
int |
getErrorCount() |
String |
getFileToken() |
FileUtilIntf |
getFileUtil() |
String |
getHeader() |
void |
limitLoadRows(int aRows) |
void |
loadDataFile() |
void |
loadDataFile(DataProcess aLoader,
DataStoreUtil aDataStore) |
void |
openInput(DataProcessConfigIntf aConfig,
DataProcessTemplateIntf aTemplate,
BufferedReader aBufferedReader) |
void |
processTemplate(DataProcessTemplateIntf aTemplate,
DataProcess aDataProcess) |
void |
setFileData(String aBucketName,
String aFilePath) |
void |
shutdown() |
protected CloudFactory cloudFactory
protected FileUtilIntf fileUtil
protected DataProcessConfigIntf dataProcessConfig
protected DataProcessTemplateIntf template
protected DataProcessEngine engine
protected BufferedReader fileReader
protected String filePath
protected String bucketName
protected String fileToken
protected String scriptPath
protected int limitRows
public String getFileToken()
getFileToken in interface DataProcessReaderIntfpublic void setFileData(String aBucketName, String aFilePath)
setFileData in interface DataProcessReaderIntfpublic void openInput(DataProcessConfigIntf aConfig, DataProcessTemplateIntf aTemplate, BufferedReader aBufferedReader) throws Exception
openInput in interface DataProcessReaderIntfExceptionpublic int getCount()
getCount in interface DataProcessReaderIntfpublic int getErrorCount()
getErrorCount in interface DataProcessReaderIntfpublic void limitLoadRows(int aRows)
limitLoadRows in interface DataProcessReaderIntfpublic void loadDataFile()
throws Exception
loadDataFile in interface DataProcessReaderIntfExceptionpublic void loadDataFile(DataProcess aLoader, DataStoreUtil aDataStore) throws Exception
loadDataFile in interface DataProcessReaderIntfExceptionpublic String getHeader() throws Exception
getHeader in interface DataProcessReaderIntfExceptionpublic void processTemplate(DataProcessTemplateIntf aTemplate, DataProcess aDataProcess) throws Exception
processTemplate in interface DataProcessReaderIntfExceptionpublic void shutdown()
throws Exception
shutdown in interface DataProcessReaderIntfExceptionpublic FileUtilIntf getFileUtil()
getFileUtil in interface DataProcessReaderIntfpublic int getDefError()
Copyright © 2020. All rights reserved.