public class BatchingImportReader extends ImpExReader
ImpExReader.ResultSetCSVReaderFIRST| Constructor and Description |
|---|
BatchingImportReader(java.io.InputStream input,
ImportDataDumpStrategy dumpStrategy,
java.lang.String processCode) |
| Modifier and Type | Method and Description |
|---|---|
void |
enableCodeExecution(boolean isOn)
Sets the code execution flag.
|
ImpExMedia |
findExternalDataMedia(java.lang.String code)
Searches the media with the given code in the context of the reader and returns it.
|
ImportBatchCreationData |
getNextBatch() |
protected void |
processCodeLine(AbstractCodeLine line)
Processes given code line.
|
void |
setCurrentHeader(HeaderDescriptor header)
Sets the given header instance as current header.
|
addDefinition, addExternalDataMedia, addExternalDataMedias, addHeaderExceptionInfoAsComment, addHeaderReplacementRule, addToBeanShellContext, adjustLineIndexes, applyHeaderReplacements, assureBeanShellLoaded, checkDefinitonKey, close, createCodeLine, createCodeLineLegacyWay, createCodeLineModernWay, createInvalidHeader, createNewHeader, createValueLine, debug, debug, enableExternalCodeExecution, enableExternalDataCodeExecution, enableExternalImpExSyntaxParsing, enableExternalSyntaxParsing, enterIfBlock, error, error, execute, execute, exitIfBlock, findExternalDataMedia, findMarker, getAllExternalDataMediaCodes, getAttributeConstraintFilter, getBeforeEachCode, getCellDecorators, getCSVReader, getCurrentHeader, getCurrentLocation, getCurrentReader, getDefaultReplacements, getDocumentIDRegistry, getFromBeanShellContext, getInvalidHeaderPolicy, getLineSize, getLocale, getScriptExecutionContext, getStrictMode, getValidationMode, gotInsertedLines, hasCellDecorators, includeExternalData, includeExternalData, includeExternalData, includeExternalData, includeExternalData, includeExternalData, includeExternalData, includeExternalData, includeExternalData, includeExternalData, includeExternalDataMedia, includeExternalDataMedia, includeExternalDataMedia, includeExternalDataMedia, includeExternalDataMedia, includeExternalDataMedia, includeExternalDataMedia, includeExternalDataMedia, includeExternalDataMedia, includeExternalDataMedia, includeSQLData, includeSQLData, includeSQLData, info, info, initDatabase, insertLine, isCodeExecutionEnabled, isCodeLine, isCombinedSearchEnabled, isCommentLine, isDebugEnabled, isDefinition, isEmptyLine, isEndUserRights, isExternalCodeExecutionEnabled, isExternalSyntaxParsingEnabled, isHeaderLine, isIncludingExternalData, isInfoEnabled, isNotInInactiveIfBlock, isStartUserRights, legacyExecute, lineToList, modernExecute, parseHeader, parseHeader, parseHeader, parseHeader, processMarkerCodeLine, readLine, readNextCSVLine, removeExternalDataMedia, removeExternalDataMedias, replaceDefinitions, setAttributeConstraintFilter, setBeanShellContext, setBeforeEachCode, setCellDecorators, setCurrentHeader, setInvalidHeaderPolicy, setLocale, setRelaxedMode, setRelaxedMode, setValidationMode, setValidationMode, sortRulesList, splitDefinitonCell, storeUserRightsLine, warn, warn, writeUserRightsLinespublic BatchingImportReader(java.io.InputStream input,
ImportDataDumpStrategy dumpStrategy,
java.lang.String processCode)
throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingExceptionpublic ImpExMedia findExternalDataMedia(java.lang.String code) throws JaloBusinessException
ImpExReaderfindExternalDataMedia in class ImpExReadercode - code of the mediaJaloBusinessException - a media with the code was found but has had no data attachedpublic void enableCodeExecution(boolean isOn)
ImpExReaderenableCodeExecution in class ImpExReaderisOn - Should code execution be enabled?protected final void processCodeLine(AbstractCodeLine line) throws ImpExException
ImpExReaderprocessCodeLine in class ImpExReaderline - line to executeImpExException - error while execution of code linepublic void setCurrentHeader(HeaderDescriptor header)
ImpExReadersetCurrentHeader in class ImpExReaderheader - the header which will be used from now as header for read value linespublic ImportBatchCreationData getNextBatch()
Copyright © 2018 SAP SE. All Rights Reserved.