
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<OBlock> |
beginBlocks |
protected OCommandContext |
context |
protected TimerTask |
dumpTask |
protected long |
elapsed |
protected List<OBlock> |
endBlocks |
protected OExtractor |
extractor |
protected OETLComponentFactory |
factory |
protected boolean |
haltOnError |
protected OLoader |
loader |
protected OETLProcessor.LOG_LEVELS |
logLevel |
protected int |
maxRetries |
protected OSource |
source |
protected long |
startTime |
protected OETLProcessor.OETLProcessorStats |
stats |
protected List<OTransformer> |
transformers |
protected Collection<ODocument> |
transformersRaw |
protected int |
workers |
| Constructor and Description |
|---|
OETLProcessor() |
OETLProcessor(List<OBlock> iBeginBlocks,
OSource iSource,
OExtractor iExtractor,
List<OTransformer> iTransformers,
OLoader iLoader,
List<OBlock> iEndBlocks,
OCommandContext ctx)
Creates an ETL processor by setting all the components on construction.
|
protected final OETLComponentFactory factory
protected final OETLProcessor.OETLProcessorStats stats
protected OSource source
protected OExtractor extractor
protected OLoader loader
protected List<OTransformer> transformers
protected Collection<ODocument> transformersRaw
protected OCommandContext context
protected long startTime
protected long elapsed
protected TimerTask dumpTask
protected OETLProcessor.LOG_LEVELS logLevel
protected boolean haltOnError
protected int maxRetries
protected int workers
public OETLProcessor(List<OBlock> iBeginBlocks, OSource iSource, OExtractor iExtractor, List<OTransformer> iTransformers, OLoader iLoader, List<OBlock> iEndBlocks, OCommandContext ctx)
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 processingctx - Execution Contextpublic OETLProcessor()
public static void main(String[] args)
public static OETLProcessor parseConfigAndParameters(String[] args)
protected static OCommandContext createDefaultContext()
protected void init()
public OETLProcessor parse(ODocument cfg, OCommandContext ctx)
public OETLProcessor parse(Collection<ODocument> iBeginBlocks, ODocument iSource, ODocument iExtractor, Collection<ODocument> iTransformers, ODocument iLoader, Collection<ODocument> iEndBlocks, OCommandContext ctx)
iBeginBlocks - List of Block configurations to execute at the beginning of processingiSource - Source component configurationiExtractor - Extractor component configurationiTransformers - List of Transformer configurationsiLoader - Loader component configurationiEndBlocks - List of Block configurations to execute at the end of processingctx - Execution Contextpublic OETLComponentFactory getFactory()
public void out(OETLProcessor.LOG_LEVELS iLogLevel, String iText, Object... iArgs)
public OETLProcessor.OETLProcessorStats getStats()
public OExtractor getExtractor()
public OSource getSource()
public OLoader getLoader()
public List<OTransformer> getTransformers()
public OETLProcessor.LOG_LEVELS getLogLevel()
public OCommandContext getContext()
protected void execute()
protected void begin()
protected void end()
protected void configureComponent(OETLComponent iComponent, ODocument iCfg, OCommandContext ctx)
protected void dumpProgress()
protected void analyzeFlow()
protected void checkTypeCompatibility(OETLComponent iCurrentComponent, OETLComponent iLastComponent)
protected Class getClassByName(OETLComponent iComponent, String iClassName)
Copyright © 2009–2025 OrientDB. All rights reserved.