org.apache.lens.server.stats.store.log
Class PartitionEvent
java.lang.Object
org.apache.lens.server.api.events.LensEvent
org.apache.lens.server.stats.store.log.PartitionEvent
public class PartitionEvent
- extends LensEvent
Event class which encapsulates the partition information.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PartitionEvent
public PartitionEvent(String eventName,
Map<String,String> partMap,
String className)
- Instantiates a new partition event.
- Parameters:
eventName - the event namepartMap - the part mapclassName - the class name
getEventName
public String getEventName()
- Gets the statistics event for which partition event was raised
- Returns:
- name of the event class.
getPartMap
public Map<String,String> getPartMap()
- Gets the partition map with location of log files to partition key.
- Returns:
- partition map with partition name to log file location.
getEventId
public String getEventId()
- Specified by:
getEventId in class LensEvent
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.