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
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final intVersion of Drill's Parquet writer.Fields inherited from class org.apache.drill.exec.physical.base.AbstractSingle
childFields inherited from class org.apache.drill.exec.physical.base.AbstractBase
INIT_ALLOCATION, initialAllocation, MAX_ALLOCATION, maxAllocation, userName -
Constructor Summary
ConstructorsConstructorDescriptionParquetWriter(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 PhysicalOperatorgetNewWithChild(PhysicalOperator child) toString()Methods inherited from class org.apache.drill.exec.physical.base.AbstractWriter
accept, getStorageStrategy, setStorageStrategyMethods inherited from class org.apache.drill.exec.physical.base.AbstractSingle
getChild, getNewWithChildren, iteratorMethods inherited from class org.apache.drill.exec.physical.base.AbstractBase
accept, getCost, getInitialAllocation, getMaxAllocation, getOperatorId, getSVMode, getUserName, isBufferedOperator, isExecutable, setCost, setMaxAllocation, setOperatorIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.drill.common.graph.GraphValue
acceptMethods inherited from interface java.lang.Iterable
forEach, iterator, spliteratorMethods 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:
IOExceptionExecutionSetupException
-
ParquetWriter
public ParquetWriter(PhysicalOperator child, String location, List<String> partitionColumns, ParquetFormatPlugin formatPlugin)
-
-
Method Details
-
getLocation
-
getStorageConfig
-
getPartitionColumns
-
getFormatConfig
-
getFormatPlugin
-
getNewWithChild
- Specified by:
getNewWithChildin classAbstractSingle
-
getOperatorType
-
toString
-