public class FixedWidthPipelineInput extends FileSourcePipelineInput
internalId, internalName, log, TIMESTAMP_FORMAT
SERIALIZED_CLASS_NAME, TYPE
XML_SERIALIZED_CLASS_NAME
Constructor and Description |
---|
FixedWidthPipelineInput() |
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
public String getName()
getName
in class FileSourcePipelineInput
public FileSource getFileSource()
getFileSource
in class FileSourcePipelineInput
public FixedWidthPipelineInput setFileSource(FileSource fileSource)
setFileSource
in class FileSourcePipelineInput
public List<FixedWidthField> getFields()
public FixedWidthPipelineInput setFields(List<FixedWidthField> fields)
public FixedWidthPipelineInput addField(FixedWidthField field)
public FixedWidthPipelineInput addFields(int... width)
public FixedWidthPipelineInput addField(String name, int width)
public FixedWidthPipelineInput addField(String name, int width, FixedWidthAlign align, Character fillChar)
public FixedWidthPipelineInput skipField(int width)
public char getFillChar()
public FixedWidthPipelineInput setFillChar(char fillChar)
public boolean isLastFieldConsumesRemaining()
public FixedWidthPipelineInput setLastFieldConsumesRemaining(boolean lastFieldConsumesRemaining)
public boolean isSkipEmptyRows()
public FixedWidthPipelineInput setSkipEmptyRows(boolean skipEmptyRows)
public boolean isFieldNamesInFirstRow()
public FixedWidthPipelineInput setFieldNamesInFirstRow(boolean fieldNamesInFirstRow)
public DataReader createDataReader()
public void generateJavaCode(JavaCodeBuilder code)
public String getCharset()
public FixedWidthPipelineInput setCharset(String charset)
public boolean isLineageSupported()
isLineageSupported
in class PipelineInput
public Record toRecord()
toRecord
in interface RecordSerializable
toRecord
in class PipelineInput
public FixedWidthPipelineInput 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 PipelineInput
public Element toXmlElement(Document document)
toXmlElement
in interface XmlSerializable
toXmlElement
in class PipelineInput
public FixedWidthPipelineInput fromXmlElement(Element pipelineInputElement)
fromXmlElement
in interface XmlSerializable
fromXmlElement
in class PipelineInput
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.