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

HiveHistoryViewer.


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 Listener interface function.
 
Methods inherited from class java.lang.Object
equals, 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 Listener 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 © 2014 The Apache Software Foundation. All rights reserved.