@ThreadSafe public final class CompactConfig extends Object implements PlanConfig
Constructor and Description |
---|
CompactConfig(PartitionInfo inputPartitionInfo,
String input,
PartitionInfo outputPartitionInfo,
String output,
Integer maxNumFiles,
Long minFileSize) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getInput() |
PartitionInfo |
getInputPartitionInfo() |
int |
getMaxNumFiles() |
long |
getMinFileSize() |
String |
getName() |
String |
getOutput() |
PartitionInfo |
getOutputPartitionInfo() |
int |
hashCode() |
String |
toString() |
public CompactConfig(PartitionInfo inputPartitionInfo, String input, PartitionInfo outputPartitionInfo, String output, Integer maxNumFiles, Long minFileSize)
inputPartitionInfo
- the input partition infoinput
- the input directoryoutputPartitionInfo
- the output partition infooutput
- the output directorymaxNumFiles
- the maximum number of files after compactionminFileSize
- the minimum file size for coalescingpublic PartitionInfo getInputPartitionInfo()
public PartitionInfo getOutputPartitionInfo()
public String getInput()
public String getOutput()
public int getMaxNumFiles()
public long getMinFileSize()
Copyright © 2023. All Rights Reserved.