public class DynamicPartitionCtx extends Object implements Serializable
Constructor and Description |
---|
DynamicPartitionCtx() |
DynamicPartitionCtx(DynamicPartitionCtx dp) |
DynamicPartitionCtx(List<String> partColNames,
String defaultPartName,
int maxParts)
This constructor is used for partitioned CTAS.
|
DynamicPartitionCtx(Map<String,String> partSpec,
String defaultPartName,
int maxParts) |
Modifier and Type | Method and Description |
---|---|
List<Function<List<ExprNodeDesc>,ExprNodeDesc>> |
getCustomSortExpressions() |
String |
getDefaultPartitionName() |
List<String> |
getDPColNames() |
int |
getMaxPartitionsPerNode() |
int |
getNumBuckets() |
int |
getNumDPCols() |
int |
getNumSPCols() |
Map<String,String> |
getPartSpec() |
org.apache.hadoop.fs.Path |
getRootPath() |
List<String> |
getSPColNames() |
String |
getSPPath() |
Pattern |
getWhiteListPattern() |
void |
setCustomSortExpressions(List<Function<List<ExprNodeDesc>,ExprNodeDesc>> customSortExpressions) |
void |
setDefaultPartitionName(String pname) |
void |
setDPColNames(List<String> dp) |
void |
setMaxPartitionsPerNode(int maxParts) |
void |
setNumBuckets(int bk) |
void |
setNumDPCols(int dp) |
void |
setNumSPCols(int sp) |
void |
setPartSpec(Map<String,String> ps) |
void |
setRootPath(org.apache.hadoop.fs.Path root) |
void |
setSPColNames(List<String> sp) |
void |
setSPPath(String sp) |
public DynamicPartitionCtx()
public DynamicPartitionCtx(List<String> partColNames, String defaultPartName, int maxParts) throws SemanticException
SemanticException
public DynamicPartitionCtx(Map<String,String> partSpec, String defaultPartName, int maxParts) throws SemanticException
SemanticException
public DynamicPartitionCtx(DynamicPartitionCtx dp)
public Pattern getWhiteListPattern()
public int getMaxPartitionsPerNode()
public void setMaxPartitionsPerNode(int maxParts)
public String getDefaultPartitionName()
public void setDefaultPartitionName(String pname)
public void setNumBuckets(int bk)
public int getNumBuckets()
public void setRootPath(org.apache.hadoop.fs.Path root)
public org.apache.hadoop.fs.Path getRootPath()
public void setNumDPCols(int dp)
public int getNumDPCols()
public void setNumSPCols(int sp)
public int getNumSPCols()
public void setSPPath(String sp)
public String getSPPath()
public List<Function<List<ExprNodeDesc>,ExprNodeDesc>> getCustomSortExpressions()
public void setCustomSortExpressions(List<Function<List<ExprNodeDesc>,ExprNodeDesc>> customSortExpressions)
Copyright © 2022 The Apache Software Foundation. All rights reserved.