public class ParquetPipelineInput extends FileSourcePipelineInput
internalId, internalName, log, TIMESTAMP_FORMAT
SERIALIZED_CLASS_NAME, TYPE
XML_SERIALIZED_CLASS_NAME
Constructor and Description |
---|
ParquetPipelineInput() |
Modifier and Type | Method and Description |
---|---|
DataReader |
createDataReader() |
ParquetPipelineInput |
fromRecord(Record source)
Loads this instance's state from a record and returns
this (for fluid API call chaining). |
ParquetPipelineInput |
fromXmlElement(Element pipelineInputElement) |
void |
generateJavaCode(JavaCodeBuilder code) |
Map<String,String> |
getConfiguration()
Returns the Parquet configuration parameters.
|
FileSource |
getFileSource() |
MetadataFilter |
getFilter() |
String |
getName() |
MessageType |
getSchema()
Indicates the schema used to read the file.
|
boolean |
isDebug()
Indicates if debugging is enabled to print log statements.
|
boolean |
isLineageSupported() |
boolean |
isMakeOptionalFieldsRequired() |
boolean |
isMakeRequiredFieldsOptional() |
boolean |
isRemoveFieldsWithoutColumnMetadata() |
boolean |
isRemoveFieldsWithoutValues() |
ParquetPipelineInput |
setConfiguration(Map<String,String> configuration)
Sets the Parquet configuration parameters.
|
ParquetPipelineInput |
setConfiguration(String key,
String value) |
ParquetPipelineInput |
setDebug(boolean debug)
Indicates if debugging is enabled to print log statements.
|
ParquetPipelineInput |
setFileSource(FileSource fileSource) |
ParquetPipelineInput |
setFilter(MetadataFilter filter) |
ParquetPipelineInput |
setMakeOptionalFieldsRequired(boolean makeOptionalFieldsRequired) |
ParquetPipelineInput |
setMakeRequiredFieldsOptional(boolean makeRequiredFieldsOptional) |
ParquetPipelineInput |
setRemoveFieldsWithoutColumnMetadata(boolean removeFieldsWithoutColumnMetadata) |
ParquetPipelineInput |
setRemoveFieldsWithoutValues(boolean removeFieldsWithoutValues) |
ParquetPipelineInput |
setSchema(MessageType schema)
Indicates the schema used to read the file.
|
Record |
toRecord() |
Element |
toXmlElement(Document document) |
getNestedPipelineInput, getRootPipelineInput, 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 String getName()
getName
in class FileSourcePipelineInput
public FileSource getFileSource()
getFileSource
in class FileSourcePipelineInput
public ParquetPipelineInput setFileSource(FileSource fileSource)
setFileSource
in class FileSourcePipelineInput
public DataReader createDataReader()
public void generateJavaCode(JavaCodeBuilder code)
public boolean isLineageSupported()
isLineageSupported
in class PipelineInput
public boolean isDebug()
public ParquetPipelineInput setDebug(boolean debug)
public Map<String,String> getConfiguration()
public ParquetPipelineInput setConfiguration(Map<String,String> configuration)
public ParquetPipelineInput setConfiguration(String key, String value)
public MetadataFilter getFilter()
public ParquetPipelineInput setFilter(MetadataFilter filter)
public MessageType getSchema()
public ParquetPipelineInput setSchema(MessageType schema)
public boolean isMakeRequiredFieldsOptional()
public ParquetPipelineInput setMakeRequiredFieldsOptional(boolean makeRequiredFieldsOptional)
public boolean isMakeOptionalFieldsRequired()
public ParquetPipelineInput setMakeOptionalFieldsRequired(boolean makeOptionalFieldsRequired)
public boolean isRemoveFieldsWithoutColumnMetadata()
public ParquetPipelineInput setRemoveFieldsWithoutColumnMetadata(boolean removeFieldsWithoutColumnMetadata)
public boolean isRemoveFieldsWithoutValues()
public ParquetPipelineInput setRemoveFieldsWithoutValues(boolean removeFieldsWithoutValues)
public Record toRecord()
toRecord
in interface RecordSerializable
toRecord
in class PipelineInput
public ParquetPipelineInput 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 ParquetPipelineInput fromXmlElement(Element pipelineInputElement)
fromXmlElement
in interface XmlSerializable
fromXmlElement
in class PipelineInput
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.