public class JsonRecordPipelineOutput extends FileSinkPipelineOutput
internalId, internalName, log, TIMESTAMP_FORMAT
SERIALIZED_CLASS_NAME, TYPE
XML_SERIALIZED_CLASS_NAME
Constructor and Description |
---|
JsonRecordPipelineOutput() |
Modifier and Type | Method and Description |
---|---|
DataWriter |
createDataWriter() |
JsonRecordPipelineOutput |
fromRecord(Record source)
Loads this instance's state from a record and returns
this (for fluid API call chaining). |
JsonRecordPipelineOutput |
fromXmlElement(Element pipelineInputElement) |
void |
generateJavaCode(JavaCodeBuilder code) |
void |
generateSaveCode(JavaCodeBuilder javaCodeBuilder) |
String |
getCharset() |
FileSink |
getFileSink() |
String |
getName() |
String |
getRootFieldName() |
boolean |
isAutoCloseWriter() |
boolean |
isFlushOnWrite() |
boolean |
isPretty() |
JsonRecordPipelineOutput |
setAutoCloseWriter(boolean autoCloseWriter) |
JsonRecordPipelineOutput |
setCharset(String charset) |
JsonRecordPipelineOutput |
setFileSink(FileSink fileSink) |
JsonRecordPipelineOutput |
setFlushOnWrite(boolean flushOnWrite) |
JsonRecordPipelineOutput |
setPretty(boolean pretty) |
JsonRecordPipelineOutput |
setRootFieldName(String rootFieldName) |
Record |
toRecord() |
Element |
toXmlElement(Document document) |
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 FileSink getFileSink()
getFileSink
in class FileSinkPipelineOutput
public JsonRecordPipelineOutput setFileSink(FileSink fileSink)
setFileSink
in class FileSinkPipelineOutput
public String getName()
getName
in class FileSinkPipelineOutput
public String getRootFieldName()
public JsonRecordPipelineOutput setRootFieldName(String rootFieldName)
public boolean isPretty()
public JsonRecordPipelineOutput setPretty(boolean pretty)
public String getCharset()
public JsonRecordPipelineOutput setCharset(String charset)
public boolean isAutoCloseWriter()
public JsonRecordPipelineOutput setAutoCloseWriter(boolean autoCloseWriter)
public boolean isFlushOnWrite()
public JsonRecordPipelineOutput setFlushOnWrite(boolean flushOnWrite)
public void generateSaveCode(JavaCodeBuilder javaCodeBuilder)
generateSaveCode
in class FileSinkPipelineOutput
public void generateJavaCode(JavaCodeBuilder code)
public Record toRecord()
toRecord
in interface RecordSerializable
toRecord
in class Bean
public JsonRecordPipelineOutput 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 JsonRecordPipelineOutput fromXmlElement(Element pipelineInputElement)
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.