Class ProxyPipelineInput
java.lang.Object
com.northconcepts.datapipeline.foundations.core.Bean
com.northconcepts.datapipeline.foundations.core.FoundationObject
com.northconcepts.datapipeline.foundations.pipeline.PipelineObject
com.northconcepts.datapipeline.foundations.pipeline.PipelineInput
com.northconcepts.datapipeline.foundations.pipeline.ProxyPipelineInput
- All Implemented Interfaces:
DataExceptionContributor,JsonSerializable,RecordSerializable,XmlSerializable,DataReaderDecorator<DataReader>,DataReaderFactory,JavaCodeGenerator,Serializable
public abstract class ProxyPipelineInput
extends PipelineInput
implements DataReaderDecorator<DataReader>
Base class for inputs that wrap another
PipelineInput and decorate each reader it creates.- See Also:
-
Field Summary
Fields inherited from class com.northconcepts.datapipeline.foundations.core.FoundationObject
internalId, internalName, log, TIMESTAMP_FORMATFields inherited from interface com.northconcepts.datapipeline.core.RecordSerializable
SERIALIZED_CLASS_NAME, TYPEFields inherited from interface com.northconcepts.datapipeline.core.XmlSerializable
XML_SERIALIZED_CLASS_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromRecord(Record source) Loads this instance's state from a record and returnsthis(for fluid API call chaining).fromXmlElement(Element element) getName()Returns a display name for this input, such as the source's name followed by its format.Returns thePipelineInputheld inside this one ornullif there isn't one.toRecord()Converts this object's state to a record thatRecordSerializable.fromRecord(Record)can load.toXml()Returns this object as indented XML without an XML declaration.Methods inherited from class com.northconcepts.datapipeline.foundations.pipeline.PipelineInput
getPipelineInput, getRootPipelineInput, isLineageSupported, isSaveLineage, setSaveLineage, toXmlElementMethods inherited from class com.northconcepts.datapipeline.foundations.core.FoundationObject
addExceptionProperties, assertValid, assertValid, clone, exception, exception, exception, getInternalId, getInternalName, resetInternalIdMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.northconcepts.datapipeline.core.DataExceptionContributor
addExceptionPropertiesMethods inherited from interface com.northconcepts.datapipeline.job.DataReaderDecorator
decorateMethods inherited from interface com.northconcepts.datapipeline.sourcecode.JavaCodeGenerator
generateJavaCode
-
Constructor Details
-
ProxyPipelineInput
-
-
Method Details
-
getNestedPipelineInput
Description copied from class:PipelineInputReturns thePipelineInputheld inside this one ornullif there isn't one.- Overrides:
getNestedPipelineInputin classPipelineInput
-
createDataReader
- Specified by:
createDataReaderin interfaceDataReaderFactory
-
getName
Description copied from class:PipelineInputReturns a display name for this input, such as the source's name followed by its format.- Specified by:
getNamein classPipelineInput
-
toRecord
Description copied from interface:RecordSerializableConverts this object's state to a record thatRecordSerializable.fromRecord(Record)can load.- Specified by:
toRecordin interfaceRecordSerializable- Overrides:
toRecordin classPipelineInput
-
fromRecord
Description copied from interface:RecordSerializableLoads this instance's state from a record and returnsthis(for fluid API call chaining). For fluid API call chaining, the overridden method should change the declared return type to its class.- Specified by:
fromRecordin interfaceRecordSerializable- Overrides:
fromRecordin classPipelineInput- Parameters:
source-- Returns:
- this instance.
-
toXml
Description copied from interface:XmlSerializableReturns this object as indented XML without an XML declaration.- Specified by:
toXmlin interfaceXmlSerializable
-
fromXmlElement
- Specified by:
fromXmlElementin interfaceXmlSerializable- Overrides:
fromXmlElementin classPipelineInput
-