public class AvroPipelineInput extends FileSourcePipelineInput
internalId, internalName, log, TIMESTAMP_FORMAT
SERIALIZED_CLASS_NAME, TYPE
XML_SERIALIZED_CLASS_NAME
Constructor and Description |
---|
AvroPipelineInput() |
Modifier and Type | Method and Description |
---|---|
DataReader |
createDataReader() |
AvroPipelineInput |
fromRecord(Record source)
Loads this instance's state from a record and returns
this (for fluid API call chaining). |
AvroPipelineInput |
fromXmlElement(Element pipelineInputElement) |
void |
generateJavaCode(JavaCodeBuilder code) |
FileSource |
getFileSource() |
int |
getMaxInvalidRecords()
Indicates the number of broken Avro records to skip before this reader should fail (default 1000).
|
String |
getName() |
AvroPipelineInput |
setFileSource(FileSource fileSource) |
AvroPipelineInput |
setMaxInvalidRecords(int maxInvalidRecords)
Indicates the number of broken Avro records to skip before this reader should fail (default 1000).
|
Record |
toRecord() |
Element |
toXmlElement(Document document) |
getNestedPipelineInput, getRootPipelineInput, isLineageSupported, isSaveLineage, setSaveLineage
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 int getMaxInvalidRecords()
public AvroPipelineInput setMaxInvalidRecords(int maxInvalidRecords)
public DataReader createDataReader()
public void generateJavaCode(JavaCodeBuilder code)
public FileSource getFileSource()
getFileSource
in class FileSourcePipelineInput
public AvroPipelineInput setFileSource(FileSource fileSource)
setFileSource
in class FileSourcePipelineInput
public String getName()
getName
in class FileSourcePipelineInput
public Record toRecord()
toRecord
in interface RecordSerializable
toRecord
in class PipelineInput
public AvroPipelineInput 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 PipelineInput
public Element toXmlElement(Document document)
toXmlElement
in interface XmlSerializable
toXmlElement
in class PipelineInput
public AvroPipelineInput fromXmlElement(Element pipelineInputElement)
fromXmlElement
in interface XmlSerializable
fromXmlElement
in class PipelineInput
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.