| Modifier and Type | Class and Description |
|---|---|
static class |
QueryCompactor.Util
Collection of some helper functions.
|
FINAL_LOCATION| Constructor and Description |
|---|
QueryCompactor() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
commitCompaction(String dest,
String tmpTableName,
HiveConf conf,
ValidWriteIdList actualWriteIds,
long compactorTxnId)
This is the final step of the compaction, which can vary based on compaction type.
|
protected String |
getTempTableName(org.apache.hadoop.hive.metastore.api.Table table) |
protected SessionState |
setupQueryCompactionSession(HiveConf conf,
CompactionInfo compactionInfo,
Map<String,String> tblProperties) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCompactorTxnId, runprotected void commitCompaction(String dest, String tmpTableName, HiveConf conf, ValidWriteIdList actualWriteIds, long compactorTxnId) throws IOException, HiveException
dest - The final directory; basically an SD directory.tmpTableName - The name of the temporary table.conf - hive configuration.actualWriteIds - valid write Ids used to fetch the high watermark Id.compactorTxnId - transaction, that the compacter started.IOException - failed to execute file system operation.HiveException - failed to execute file operation within hive.protected SessionState setupQueryCompactionSession(HiveConf conf, CompactionInfo compactionInfo, Map<String,String> tblProperties)
protected String getTempTableName(org.apache.hadoop.hive.metastore.api.Table table)
Copyright © 2024 The Apache Software Foundation. All rights reserved.