public abstract class AbstractPipeline extends PipelineObject implements DataReaderFactory, DataWriterFactory
internalId, internalName, log, TIMESTAMP_FORMAT
SERIALIZED_CLASS_NAME, TYPE
XML_SERIALIZED_CLASS_NAME
Constructor and Description |
---|
AbstractPipeline() |
addExceptionProperties, assertValid, assertValid, clone, exception, exception, exception, getInternalId, getInternalName, resetInternalId
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
fromArrayValue, fromArrayValue, fromArrayValue, fromJson, newInstanceFromRecord, newInstanceFromRecord, toArrayValue, toJson, toJson, toJson, toRecord
newInstanceFromJson
forEachGrandChildElement, fromXml, fromXml, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getChildElement, getChildElements, newInstanceFromXml, newInstanceFromXml, setAttribute, toXml, toXml, toXml, toXml, toXml, writeXml, writeXml
addExceptionProperties, contributeExceptionProperties, contributeExceptionProperties
public void generateJavaCode(JavaCodeBuilder code)
generateJavaCode
in interface JavaCodeGenerator
protected void generateJavaCodePreProcess(JavaCodeBuilder code)
protected abstract void generateJavaCodeImpl(JavaCodeBuilder code)
protected void generateJavaCodePostProcess(JavaCodeBuilder code)
public JavaCodeBuilder getJavaCode()
public String getName()
public AbstractPipeline setName(String name)
public String getDescription()
public AbstractPipeline setDescription(String description)
public PipelineInput getInput()
public AbstractPipeline setInput(PipelineInput input)
public AbstractPipeline setInputAsDataReaderFactory(DataReaderFactory factory)
public AbstractPipeline setInputAsDataReader(DataReader reader)
public EntityDef getSourceEntity()
public AbstractPipeline setSourceEntity(EntityDef sourceEntity)
public EntityDef getTargetEntity()
public AbstractPipeline setTargetEntity(EntityDef targetEntity)
public PipelineOutput getOutput()
public AbstractPipeline setOutput(PipelineOutput output)
public AbstractPipeline setOutputAsDataWriterFactory(DataWriterFactory factory)
public AbstractPipeline setOutputAsDataWriter(DataWriter writer)
public boolean isMultithreaded()
public AbstractPipeline setMultithreaded(boolean multithreaded)
public DataWriter getDiscardWriter()
public AbstractPipeline setDiscardWriter(DataWriter discardWriter)
public String getDiscardReasonFieldName()
public AbstractPipeline setDiscardReasonFieldName(String discardReasonFieldName)
public DateTimePatternDetector getDateTimePatternDetector()
public AbstractPipeline setDateTimePatternDetector(DateTimePatternDetector dateTimePatternDetector)
public NumberDetector getNumberDetector()
public AbstractPipeline setNumberDetector(NumberDetector numberDetector)
protected DataReader applySourceEntityTransformer(DataReader reader)
protected DataReader applyTargetEntityTransformer(DataReader reader)
public DataReader createDataReader()
createDataReader
in interface DataReaderFactory
public final DataReader applyDataProcessing(DataReader reader)
protected abstract DataReader applyDataProcessingImpl(DataReader reader)
public DataWriter createDataWriter()
createDataWriter
in interface DataWriterFactory
public Job createJob()
public Job run()
public Job runAsync()
public Record toRecord()
toRecord
in interface RecordSerializable
toRecord
in class Bean
public AbstractPipeline fromRecord(Record source)
RecordSerializable
this
(for fluid API call chaining).
For fluid API call chaining, the overridden method should change the declared return type to its class.fromRecord
in interface RecordSerializable
fromRecord
in class Bean
public AbstractPipeline fromJson(String jsonString)
fromJson
in interface JsonSerializable
fromJson
in interface RecordSerializable
public Element toXmlElement(Document document)
toXmlElement
in interface XmlSerializable
public AbstractPipeline fromXmlElement(Element pipelineElement)
fromXmlElement
in interface XmlSerializable
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.