public interface Compactor
| Modifier and Type | Field and Description |
|---|---|
static String |
FINAL_LOCATION |
| Modifier and Type | Method and Description |
|---|---|
static long |
getCompactorTxnId(org.apache.hadoop.conf.Configuration jobConf) |
boolean |
run(CompactorContext context)
Start a compaction.
|
static final String FINAL_LOCATION
static long getCompactorTxnId(org.apache.hadoop.conf.Configuration jobConf)
boolean run(CompactorContext context) throws IOException, HiveException, InterruptedException
context - CompactionContext which contains information to perform compaction.IOException - compaction cannot be finished.HiveExceptionInterruptedExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.