org.apache.hadoop.hive.ql.history
Class HiveHistoryViewer

java.lang.Object
  extended by org.apache.hadoop.hive.ql.history.HiveHistoryViewer
All Implemented Interfaces:
HiveHistory.Listener

public class HiveHistoryViewer
extends Object
implements HiveHistory.Listener


Constructor Summary
HiveHistoryViewer(String path)
           
 
Method Summary
 Map<String,HiveHistory.QueryInfo> getJobInfoMap()
           
 String getSessionId()
           
 Map<String,HiveHistory.TaskInfo> getTaskInfoMap()
           
 void handle(HiveHistory.RecordTypes recType, Map<String,String> values)
          Implementation Listner interface function
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HiveHistoryViewer

public HiveHistoryViewer(String path)
Method Detail

getSessionId

public String getSessionId()

getJobInfoMap

public Map<String,HiveHistory.QueryInfo> getJobInfoMap()

getTaskInfoMap

public Map<String,HiveHistory.TaskInfo> getTaskInfoMap()

handle

public void handle(HiveHistory.RecordTypes recType,
                   Map<String,String> values)
Implementation Listner interface function

Specified by:
handle in interface HiveHistory.Listener
See Also:
HiveHistory.Listener.handle(org.apache.hadoop.hive.ql.history.HiveHistory.RecordTypes, java.util.Map)


Copyright © 2009 The Apache Software Foundation