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() |
boolean |
isWriteUuidAsString()
Indicates whether UUID values are written as strings or bytes.
|
AvroPipelineOutput |
setDiscardWriter(DataWriter discardWriter) |
AvroPipelineOutput |
setFileSink(FileSink fileSink) |
AvroPipelineOutput |
setWriteUuidAsString(boolean writeUuidAsString)
Indicates whether UUID values are written as strings or bytes.
|
Record |
toRecord() |
Element |
toXmlElement(Document document) |
generateSaveCode
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 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 boolean isWriteUuidAsString()
Indicates whether UUID values are written as strings or bytes. If set to false, UUID values will be written as bytes.
Default value is true.
public AvroPipelineOutput setWriteUuidAsString(boolean writeUuidAsString)
Indicates whether UUID values are written as strings or bytes. If set to false, UUID values will be written as bytes.
Default value is true.
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-2024 North Concepts Inc. All Rights Reserved.