public class AvroPipelineOutput extends FileSinkPipelineOutput
internalId, internalName, log, TIMESTAMP_FORMAT
SERIALIZED_CLASS_NAME, TYPE
XML_SERIALIZED_CLASS_NAME
Constructor and Description |
---|
AvroPipelineOutput() |
Modifier and Type | Method and Description |
---|---|
DataWriter |
createDataWriter() |
AvroPipelineOutput |
fromRecord(Record source)
Loads this instance's state from a record and returns
this (for fluid API call chaining). |
AvroPipelineOutput |
fromXmlElement(Element pipelineInputElement) |
void |
generateJavaCode(JavaCodeBuilder code) |
DataWriter |
getDiscardWriter() |
FileSink |
getFileSink() |
String |
getName() |
AvroPipelineOutput |
setDiscardWriter(DataWriter discardWriter) |
AvroPipelineOutput |
setFileSink(FileSink fileSink) |
Record |
toRecord() |
Element |
toXmlElement(Document document) |
generateSaveCode
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
public DataWriter createDataWriter()
public void generateJavaCode(JavaCodeBuilder code)
public FileSink getFileSink()
getFileSink
in class FileSinkPipelineOutput
public AvroPipelineOutput setFileSink(FileSink fileSink)
setFileSink
in class FileSinkPipelineOutput
public DataWriter getDiscardWriter()
public AvroPipelineOutput setDiscardWriter(DataWriter discardWriter)
public String getName()
getName
in class FileSinkPipelineOutput
public Record toRecord()
toRecord
in interface RecordSerializable
toRecord
in class Bean
public AvroPipelineOutput 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 AvroPipelineOutput fromXmlElement(Element pipelineInputElement)
Copyright (c) 2006-2023 North Concepts Inc. All Rights Reserved.