public class OETLProcessor extends Object
Modifier and Type | Class and Description |
---|---|
static class |
OETLProcessor.LOG_LEVELS |
class |
OETLProcessor.OETLProcessorStats |
Modifier and Type | Field and Description |
---|---|
protected List<OETLBlock> |
beginBlocks |
protected OCommandContext |
context |
protected TimerTask |
dumpTask |
protected long |
elapsed |
protected List<OETLBlock> |
endBlocks |
protected OETLExtractor |
extractor |
protected OETLComponentFactory |
factory |
protected boolean |
haltOnError |
protected OETLLoader |
loader |
protected Level |
logLevel |
protected int |
maxRetries |
protected OETLSource |
source |
protected long |
startTime |
protected OETLProcessor.OETLProcessorStats |
stats |
protected List<OETLTransformer> |
transformers |
protected int |
workers |
Constructor and Description |
---|
OETLProcessor(List<OETLBlock> iBeginBlocks,
OETLSource iSource,
OETLExtractor iExtractor,
List<OETLTransformer> iTransformers,
OETLLoader iLoader,
List<OETLBlock> iEndBlocks,
OCommandContext iContext)
Creates an ETL processor by setting all the components on construction.
|
Modifier and Type | Method and Description |
---|---|
protected void |
analyzeFlow() |
protected void |
begin() |
protected void |
checkTypeCompatibility(OETLComponent iCurrentComponent,
OETLComponent iLastComponent) |
void |
close() |
protected void |
configRunBehaviour(OCommandContext context) |
protected void |
dumpProgress() |
protected void |
end() |
void |
execute() |
protected Class |
getClassByName(OETLComponent iComponent,
String iClassName) |
OCommandContext |
getContext() |
OETLExtractor |
getExtractor() |
OETLComponentFactory |
getFactory() |
OETLLoader |
getLoader() |
Level |
getLogLevel() |
OETLSource |
getSource() |
OETLProcessor.OETLProcessorStats |
getStats() |
List<OETLTransformer> |
getTransformers() |
static void |
main(String[] args) |
protected final OETLComponentFactory factory
protected final OETLProcessor.OETLProcessorStats stats
protected List<OETLTransformer> transformers
protected OETLSource source
protected OETLExtractor extractor
protected OETLLoader loader
protected OCommandContext context
protected long startTime
protected long elapsed
protected TimerTask dumpTask
protected Level logLevel
protected boolean haltOnError
protected int maxRetries
protected int workers
public OETLProcessor(List<OETLBlock> iBeginBlocks, OETLSource iSource, OETLExtractor iExtractor, List<OETLTransformer> iTransformers, OETLLoader iLoader, List<OETLBlock> iEndBlocks, OCommandContext iContext)
iBeginBlocks
- List of Blocks to execute at the beginning of processingiSource
- Source componentiExtractor
- Extractor componentiTransformers
- List of TransformersiLoader
- Loader componentiEndBlocks
- List of Blocks to execute at the end of processingiContext
- Execution Contextpublic static void main(String[] args)
protected void configRunBehaviour(OCommandContext context)
public OETLProcessor.OETLProcessorStats getStats()
public OETLExtractor getExtractor()
public OETLSource getSource()
public OETLLoader getLoader()
public List<OETLTransformer> getTransformers()
public Level getLogLevel()
public OCommandContext getContext()
public void execute()
public void close()
protected void begin()
protected void end()
protected void dumpProgress()
protected void analyzeFlow()
protected void checkTypeCompatibility(OETLComponent iCurrentComponent, OETLComponent iLastComponent)
protected Class getClassByName(OETLComponent iComponent, String iClassName)
public OETLComponentFactory getFactory()
Copyright © 2009–2020 OrientDB. All rights reserved.