public class JsonPipelineInput extends XmlPipelineInput
internalId, internalName, log, TIMESTAMP_FORMAT
SERIALIZED_CLASS_NAME, TYPE
XML_SERIALIZED_CLASS_NAME
Constructor and Description |
---|
JsonPipelineInput() |
createDataReader, generateJavaCode, getDuplicateFieldPolicy, getFields, getFields, getFileSource, getRecordBreaks, getRecordBreaks, isAutoCloseReader, isDebug, isLineageSupported
getNestedPipelineInput, getRootPipelineInput, isSaveLineage, setSaveLineage
addExceptionProperties, assertValid, assertValid, clone, exception, exception, exception, getInternalId, getInternalName, resetInternalId
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
fromArrayValue, fromArrayValue, fromArrayValue, fromJson, 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
protected XmlReader createDataReaderImpl(InputStream in)
createDataReaderImpl
in class XmlPipelineInput
public JsonPipelineInput setFileSource(FileSource fileSource)
setFileSource
in class XmlPipelineInput
public String getName()
getName
in class XmlPipelineInput
public boolean isUseBigDecimal()
public JsonPipelineInput setUseBigDecimal(boolean useBigDecimal)
public JsonPipelineInput addField(XmlField xmlField)
addField
in class XmlPipelineInput
public JsonPipelineInput addField(String name, String locationPathAsString)
addField
in class XmlPipelineInput
public JsonPipelineInput addField(String name, String locationPathAsString, boolean cascadeValues)
addField
in class XmlPipelineInput
public JsonPipelineInput addField(String name, String locationPathAsString, String cascadeResetLocationPath)
addField
in class XmlPipelineInput
public JsonPipelineInput addRecordBreak(String locationPathAsString)
addRecordBreak
in class XmlPipelineInput
public JsonPipelineInput setDuplicateFieldPolicy(XmlReader.DuplicateFieldPolicy duplicateFieldPolicy)
setDuplicateFieldPolicy
in class XmlPipelineInput
public JsonPipelineInput setAutoCloseReader(boolean autoCloseReader)
setAutoCloseReader
in class XmlPipelineInput
public JsonPipelineInput setDebug(boolean debug)
setDebug
in class XmlPipelineInput
protected void generateJavaCodeImpl(JavaCodeBuilder code, CodeWriter writer)
generateJavaCodeImpl
in class XmlPipelineInput
public Record toRecord()
toRecord
in interface RecordSerializable
toRecord
in class XmlPipelineInput
public JsonPipelineInput 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 XmlPipelineInput
public Element toXmlElement(Document document)
toXmlElement
in interface XmlSerializable
toXmlElement
in class XmlPipelineInput
public JsonPipelineInput fromXmlElement(Element pipelineInputElement)
fromXmlElement
in interface XmlSerializable
fromXmlElement
in class XmlPipelineInput
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.