Class ParquetWriter
java.lang.Object
org.apache.drill.exec.physical.base.AbstractBase
org.apache.drill.exec.physical.base.AbstractSingle
org.apache.drill.exec.physical.base.AbstractWriter
org.apache.drill.exec.store.parquet.ParquetWriter
- All Implemented Interfaces:
Iterable<PhysicalOperator>
,GraphValue<PhysicalOperator>
,PhysicalOperator
,Writer
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final int
Version of Drill's Parquet writer.Fields inherited from class org.apache.drill.exec.physical.base.AbstractSingle
child
Fields inherited from class org.apache.drill.exec.physical.base.AbstractBase
INIT_ALLOCATION, initialAllocation, MAX_ALLOCATION, maxAllocation, userName
-
Constructor Summary
ConstructorDescriptionParquetWriter
(PhysicalOperator child, String location, List<String> partitionColumns, ParquetFormatPlugin formatPlugin) ParquetWriter
(PhysicalOperator child, String location, List<String> partitionColumns, StorageStrategy storageStrategy, StoragePluginConfig storageConfig, StoragePluginRegistry engineRegistry) -
Method Summary
Modifier and TypeMethodDescriptionprotected PhysicalOperator
getNewWithChild
(PhysicalOperator child) toString()
Methods inherited from class org.apache.drill.exec.physical.base.AbstractWriter
accept, getStorageStrategy, setStorageStrategy
Methods inherited from class org.apache.drill.exec.physical.base.AbstractSingle
getChild, getNewWithChildren, iterator
Methods inherited from class org.apache.drill.exec.physical.base.AbstractBase
accept, getCost, getInitialAllocation, getMaxAllocation, getOperatorId, getSVMode, getUserName, isBufferedOperator, isExecutable, setCost, setMaxAllocation, setOperatorId
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.drill.common.graph.GraphValue
accept
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
Methods inherited from interface org.apache.drill.exec.physical.base.PhysicalOperator
getCost, getInitialAllocation, getMaxAllocation, getNewWithChildren, getOperatorId, getSVMode, getUserName, isBufferedOperator, isExecutable, setCost, setMaxAllocation, setOperatorId
-
Field Details
-
WRITER_VERSION
public static final int WRITER_VERSIONVersion of Drill's Parquet writer. Increment this version (by 1) any time we make any format change to the file. Format changes include:- Supporting new data types,
- Changes to the format of data fields,
- Adding new metadata to the file footer, etc.
- See Also:
-
OPERATOR_TYPE
- See Also:
-
-
Constructor Details
-
ParquetWriter
public ParquetWriter(PhysicalOperator child, String location, List<String> partitionColumns, StorageStrategy storageStrategy, StoragePluginConfig storageConfig, StoragePluginRegistry engineRegistry) throws IOException, ExecutionSetupException - Throws:
IOException
ExecutionSetupException
-
ParquetWriter
public ParquetWriter(PhysicalOperator child, String location, List<String> partitionColumns, ParquetFormatPlugin formatPlugin)
-
-
Method Details
-
getLocation
-
getStorageConfig
-
getPartitionColumns
-
getFormatConfig
-
getFormatPlugin
-
getNewWithChild
- Specified by:
getNewWithChild
in classAbstractSingle
-
getOperatorType
-
toString
-