public class ParquetWriter extends AbstractWriter
Modifier and Type | Field and Description |
---|---|
static String |
OPERATOR_TYPE |
static int |
WRITER_VERSION
Version of Drill's Parquet writer.
|
child
INIT_ALLOCATION, initialAllocation, MAX_ALLOCATION, maxAllocation, userName
Constructor and Description |
---|
ParquetWriter(PhysicalOperator child,
String location,
List<String> partitionColumns,
ParquetFormatPlugin formatPlugin) |
ParquetWriter(PhysicalOperator child,
String location,
List<String> partitionColumns,
StorageStrategy storageStrategy,
StoragePluginConfig storageConfig,
StoragePluginRegistry engineRegistry) |
Modifier and Type | Method and Description |
---|---|
FormatPluginConfig |
getFormatConfig() |
ParquetFormatPlugin |
getFormatPlugin() |
String |
getLocation() |
protected PhysicalOperator |
getNewWithChild(PhysicalOperator child) |
String |
getOperatorType() |
List<String> |
getPartitionColumns() |
StoragePluginConfig |
getStorageConfig() |
String |
toString() |
accept, getStorageStrategy, setStorageStrategy
getChild, getNewWithChildren, iterator
accept, getCost, getInitialAllocation, getMaxAllocation, getOperatorId, getSVMode, getUserName, isBufferedOperator, isExecutable, setCost, setMaxAllocation, setOperatorId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCost, getInitialAllocation, getMaxAllocation, getNewWithChildren, getOperatorId, getSVMode, getUserName, isBufferedOperator, isExecutable, setCost, setMaxAllocation, setOperatorId
accept
forEach, iterator, spliterator
public static final int WRITER_VERSION
public static final String OPERATOR_TYPE
public ParquetWriter(PhysicalOperator child, String location, List<String> partitionColumns, StorageStrategy storageStrategy, StoragePluginConfig storageConfig, StoragePluginRegistry engineRegistry) throws IOException, ExecutionSetupException
IOException
ExecutionSetupException
public ParquetWriter(PhysicalOperator child, String location, List<String> partitionColumns, ParquetFormatPlugin formatPlugin)
public String getLocation()
public StoragePluginConfig getStorageConfig()
public FormatPluginConfig getFormatConfig()
public ParquetFormatPlugin getFormatPlugin()
protected PhysicalOperator getNewWithChild(PhysicalOperator child)
getNewWithChild
in class AbstractSingle
public String getOperatorType()
Copyright © 1970 The Apache Software Foundation. All rights reserved.