public class JsonRecordPipelineOutput extends FileSinkPipelineOutput
internalId, internalName, log, TIMESTAMP_FORMATSERIALIZED_CLASS_NAME, TYPEXML_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, getRootPipelineOutputaddExceptionProperties, assertValid, assertValid, clone, exception, exception, exception, getInternalId, getInternalName, resetInternalIdequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfromArrayValue, fromArrayValue, fromArrayValue, fromJson, fromJson, newInstanceFromRecord, newInstanceFromRecord, toArrayValue, toJson, toJson, toJson, toRecordnewInstanceFromJsonforEachGrandChildElement, fromXml, fromXml, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getChildElement, getChildElements, newInstanceFromXml, newInstanceFromXml, setAttribute, toXml, toXml, toXml, toXml, toXml, writeXml, writeXmladdExceptionProperties, contributeExceptionProperties, contributeExceptionPropertiespublic DataWriter createDataWriter()
public FileSink getFileSink()
getFileSink in class FileSinkPipelineOutputpublic JsonRecordPipelineOutput setFileSink(FileSink fileSink)
setFileSink in class FileSinkPipelineOutputpublic String getName()
getName in class FileSinkPipelineOutputpublic 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 FileSinkPipelineOutputpublic void generateJavaCode(JavaCodeBuilder code)
public Record toRecord()
toRecord in interface RecordSerializabletoRecord in class Beanpublic JsonRecordPipelineOutput fromRecord(Record source)
RecordSerializablethis (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 RecordSerializablefromRecord in class PipelineOutputpublic Element toXmlElement(Document document)
toXmlElement in interface XmlSerializabletoXmlElement in class PipelineOutputpublic JsonRecordPipelineOutput fromXmlElement(Element pipelineInputElement)
Copyright (c) 2006-2025 North Concepts Inc. All Rights Reserved.