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