public class OrcPipelineInput extends FileSourcePipelineInput
internalId, internalName, log, TIMESTAMP_FORMAT
SERIALIZED_CLASS_NAME, TYPE
XML_SERIALIZED_CLASS_NAME
Constructor and Description |
---|
OrcPipelineInput() |
Modifier and Type | Method and Description |
---|---|
OrcPipelineInput |
addConfig(Map<String,String> config)
Sets the Orc configuration parameters.
|
OrcPipelineInput |
addConfig(String key,
String value) |
DataReader |
createDataReader() |
OrcPipelineInput |
fromRecord(Record source)
Loads this instance's state from a record and returns
this (for fluid API call chaining). |
OrcPipelineInput |
fromXmlElement(Element pipelineInputElement) |
void |
generateJavaCode(JavaCodeBuilder javaCodeBuilder) |
int |
getBatchSize() |
FieldList |
getColumns()
Indicates the columns to read from ORC file.
|
Map<String,String> |
getConfig()
Returns the Orc configuration parameters.
|
FileSource |
getFileSource() |
String |
getName() |
TypeDescription |
getSchema()
Indicates the schema used to read the file.
|
boolean |
isLineageSupported() |
boolean |
isSaveLineage() |
OrcPipelineInput |
setBatchSize(int batchSize) |
OrcPipelineInput |
setColumns(FieldList columns)
Indicates the columns to read from ORC file.
|
OrcPipelineInput |
setFileSource(FileSource fileSource) |
OrcPipelineInput |
setSaveLineage(boolean saveLineage) |
OrcPipelineInput |
setSchema(String schema)
Sets the schema used to read the file as a string.
|
OrcPipelineInput |
setSchema(TypeDescription schema)
Indicates the schema used to read the file.
|
Record |
toRecord() |
Element |
toXmlElement(Document document) |
getNestedPipelineInput, getRootPipelineInput
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 String getName()
getName
in class FileSourcePipelineInput
public FileSource getFileSource()
getFileSource
in class FileSourcePipelineInput
public OrcPipelineInput setFileSource(FileSource fileSource)
setFileSource
in class FileSourcePipelineInput
public boolean isSaveLineage()
isSaveLineage
in class PipelineInput
public OrcPipelineInput setSaveLineage(boolean saveLineage)
setSaveLineage
in class PipelineInput
public DataReader createDataReader()
public void generateJavaCode(JavaCodeBuilder javaCodeBuilder)
public boolean isLineageSupported()
isLineageSupported
in class PipelineInput
public int getBatchSize()
public OrcPipelineInput setBatchSize(int batchSize)
public TypeDescription getSchema()
public OrcPipelineInput setSchema(String schema)
public OrcPipelineInput setSchema(TypeDescription schema)
public FieldList getColumns()
public OrcPipelineInput setColumns(FieldList columns)
public OrcPipelineInput addConfig(Map<String,String> config)
public OrcPipelineInput addConfig(String key, String value)
public Record toRecord()
toRecord
in interface RecordSerializable
toRecord
in class PipelineInput
public OrcPipelineInput 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 OrcPipelineInput fromXmlElement(Element pipelineInputElement)
fromXmlElement
in interface XmlSerializable
fromXmlElement
in class PipelineInput
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.