public class FixedWidthPipelineOutput extends FileSinkPipelineOutput
internalId, internalName, log, TIMESTAMP_FORMAT
SERIALIZED_CLASS_NAME, TYPE
XML_SERIALIZED_CLASS_NAME
Constructor and Description |
---|
FixedWidthPipelineOutput() |
getNestedPipelineOutput, getRootPipelineOutput
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 FileSinkPipelineOutput
public FileSink getFileSink()
getFileSink
in class FileSinkPipelineOutput
public FixedWidthPipelineOutput setFileSink(FileSink fileSink)
setFileSink
in class FileSinkPipelineOutput
public List<FixedWidthField> getFields()
public FixedWidthPipelineOutput setFields(List<FixedWidthField> fields)
public FixedWidthPipelineOutput addField(FixedWidthField field)
public FixedWidthPipelineOutput addFields(int... width)
public FixedWidthPipelineOutput addField(String name, int width)
public FixedWidthPipelineOutput addField(String name, int width, FixedWidthAlign align, Character fillChar)
public FixedWidthPipelineOutput skipField(int width)
public char getFillChar()
public FixedWidthPipelineOutput setFillChar(char fillChar)
public boolean isTruncateFields()
public FixedWidthPipelineOutput setTruncateFields(boolean truncateFields)
public String getNewLine()
public FixedWidthPipelineOutput setNewLine(String newLine)
public boolean isAutoCloseWriter()
public FixedWidthPipelineOutput setAutoCloseWriter(boolean autoCloseWriter)
public boolean isFlushOnWrite()
public FixedWidthPipelineOutput setFlushOnWrite(boolean flushOnWrite)
public boolean isFieldNamesInFirstRow()
public FixedWidthPipelineOutput setFieldNamesInFirstRow(boolean fieldNamesInFirstRow)
public DataWriter createDataWriter()
public void generateSaveCode(JavaCodeBuilder javaCodeBuilder)
generateSaveCode
in class FileSinkPipelineOutput
public void generateJavaCode(JavaCodeBuilder code)
public String getCharset()
public FixedWidthPipelineOutput setCharset(String charset)
public Record toRecord()
toRecord
in interface RecordSerializable
toRecord
in class Bean
public FixedWidthPipelineOutput 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 PipelineOutput
public Element toXmlElement(Document document)
toXmlElement
in interface XmlSerializable
toXmlElement
in class PipelineOutput
public FixedWidthPipelineOutput fromXmlElement(Element pipelineInputElement)
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.