|
||||||||||
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 |