public class OrcPipelineInput extends FileSourcePipelineInput
internalId, internalName, log, TIMESTAMP_FORMATSERIALIZED_CLASS_NAME, TYPEXML_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, getRootPipelineInputaddExceptionProperties, 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 String getName()
getName in class FileSourcePipelineInputpublic FileSource getFileSource()
getFileSource in class FileSourcePipelineInputpublic OrcPipelineInput setFileSource(FileSource fileSource)
setFileSource in class FileSourcePipelineInputpublic boolean isSaveLineage()
isSaveLineage in class PipelineInputpublic OrcPipelineInput setSaveLineage(boolean saveLineage)
setSaveLineage in class PipelineInputpublic DataReader createDataReader()
public void generateJavaCode(JavaCodeBuilder javaCodeBuilder)
public boolean isLineageSupported()
isLineageSupported in class PipelineInputpublic 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 RecordSerializabletoRecord in class PipelineInputpublic OrcPipelineInput 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 PipelineInputpublic Element toXmlElement(Document document)
toXmlElement in interface XmlSerializabletoXmlElement in class PipelineInputpublic OrcPipelineInput fromXmlElement(Element pipelineInputElement)
fromXmlElement in interface XmlSerializablefromXmlElement in class PipelineInputCopyright (c) 2006-2025 North Concepts Inc. All Rights Reserved.