@ThreadSafe public final class CompactConfig extends Object implements PlanConfig
Constructor and Description |
---|
CompactConfig(PartitionInfo partitionInfo,
String input,
String output,
String databaseType,
Integer maxNumFiles,
Long minFileSize) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getDatabaseType() |
String |
getInput() |
int |
getMaxNumFiles() |
long |
getMinFileSize() |
String |
getName() |
String |
getOutput() |
PartitionInfo |
getPartitionInfo() |
int |
hashCode() |
String |
toString() |
public CompactConfig(PartitionInfo partitionInfo, String input, String output, String databaseType, Integer maxNumFiles, Long minFileSize)
partitionInfo
- the partition infoinput
- the input directoryoutput
- the output directorydatabaseType
- the type of database to write the compacted table tomaxNumFiles
- the maximum number of files after compactionminFileSize
- the minimum file size for coalescingpublic PartitionInfo getPartitionInfo()
public String getInput()
public String getOutput()
public String getDatabaseType()
public int getMaxNumFiles()
public long getMinFileSize()
Copyright © 2023. All Rights Reserved.