org.apache.hadoop.hive.metastore.events
Class AlterPartitionEvent

java.lang.Object
  extended by org.apache.hadoop.hive.metastore.events.ListenerEvent
      extended by org.apache.hadoop.hive.metastore.events.AlterPartitionEvent

public class AlterPartitionEvent
extends ListenerEvent


Constructor Summary
AlterPartitionEvent(Partition oldPart, Partition newPart, boolean status, HiveMetaStore.HMSHandler handler)
           
 
Method Summary
 Partition getNewPartition()
           
 Partition getOldPartition()
           
 
Methods inherited from class org.apache.hadoop.hive.metastore.events.ListenerEvent
getEnvironmentContext, getHandler, getStatus, setEnvironmentContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlterPartitionEvent

public AlterPartitionEvent(Partition oldPart,
                           Partition newPart,
                           boolean status,
                           HiveMetaStore.HMSHandler handler)
Method Detail

getOldPartition

public Partition getOldPartition()
Returns:
the old partition

getNewPartition

public Partition getNewPartition()
Returns:
the new partition


Copyright © 2011 The Apache Software Foundation