org.apache.hadoop.hive.ql.profiler
Class HiveProfilePublisherInfo
java.lang.Object
org.apache.hadoop.hive.ql.profiler.HiveProfilePublisherInfo
- All Implemented Interfaces:
- HiveProfilerConnectionInfo
public class HiveProfilePublisherInfo
- extends Object
- implements HiveProfilerConnectionInfo
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HiveProfilePublisherInfo
public HiveProfilePublisherInfo(Configuration conf)
throws Exception
- Throws:
Exception
getDbClass
public String getDbClass()
- Specified by:
getDbClass
in interface HiveProfilerConnectionInfo
getTimeout
public int getTimeout()
- Specified by:
getTimeout
in interface HiveProfilerConnectionInfo
getMaxRetries
public int getMaxRetries()
- Specified by:
getMaxRetries
in interface HiveProfilerConnectionInfo
getWaitWindow
public int getWaitWindow()
- Specified by:
getWaitWindow
in interface HiveProfilerConnectionInfo
getConnectionString
public String getConnectionString()
- Specified by:
getConnectionString
in interface HiveProfilerConnectionInfo
getTableName
public String getTableName()
- Specified by:
getTableName
in interface HiveProfilerConnectionInfo
getConnection
public Connection getConnection()
- Specified by:
getConnection
in interface HiveProfilerConnectionInfo
getInsertStatement
protected PreparedStatement getInsertStatement()
prepareInsert
protected void prepareInsert()
throws SQLException
- Throws:
SQLException
closeInsertStatement
protected void closeInsertStatement()
throws SQLException
- Throws:
SQLException
getInsert
protected PreparedStatement getInsert(Map<String,String> stats)
throws SQLException
- Throws:
SQLException
Copyright © 2012 The Apache Software Foundation