|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PartitionMetahook
| Method Summary | |
|---|---|
void |
commitAddPartitions(List<StoragePartitionDesc> storagePartitionDesc)
Called after successfully adding the partition |
void |
commitDropPartition(String storageTableName,
List<String> partVals)
Called after successfully droping the partition |
void |
preAddPartitions(List<StoragePartitionDesc> storagePartitionDesc)
Called before calling add partition |
void |
preDropPartition(String storageTableName,
List<String> partVals)
Called before calling drop partition |
void |
rollbackAddPartitions(List<StoragePartitionDesc> storagePartitionDesc)
Called if add partition fails. |
void |
rollbackDropPartition(String storageTableName,
List<String> partVals)
Called if drop partition fails. |
| Method Detail |
|---|
void preAddPartitions(List<StoragePartitionDesc> storagePartitionDesc)
throws org.apache.hadoop.hive.ql.metadata.HiveException
storagePartitionDesc -
org.apache.hadoop.hive.ql.metadata.HiveException
void commitAddPartitions(List<StoragePartitionDesc> storagePartitionDesc)
throws org.apache.hadoop.hive.ql.metadata.HiveException
storagePartitionDesc -
org.apache.hadoop.hive.ql.metadata.HiveException
void rollbackAddPartitions(List<StoragePartitionDesc> storagePartitionDesc)
throws org.apache.hadoop.hive.ql.metadata.HiveException
storagePartitionDesc -
org.apache.hadoop.hive.ql.metadata.HiveException
void preDropPartition(String storageTableName,
List<String> partVals)
throws org.apache.hadoop.hive.ql.metadata.HiveException
storageTableName - partVals -
org.apache.hadoop.hive.ql.metadata.HiveException
void commitDropPartition(String storageTableName,
List<String> partVals)
throws org.apache.hadoop.hive.ql.metadata.HiveException
storageTableName - partVals -
org.apache.hadoop.hive.ql.metadata.HiveException
void rollbackDropPartition(String storageTableName,
List<String> partVals)
throws org.apache.hadoop.hive.ql.metadata.HiveException
storageTableName - partVals -
org.apache.hadoop.hive.ql.metadata.HiveException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||