Hive2SimbaDatabaseDialect extends Hive2DatabaseDialect { @Override public String[] getUsedLibraries() { return new String[] { "HiveJDBC41.jar" }; } Hive2SimbaDatabaseDialect(); IDatabaseType getDatabaseType(); @Override String getNativeDriver(); @Override String getURL( IDatabaseConnection databaseConnection ); @Override String getNativeJdbcPre(); @Override String[] getUsedLibraries(); @Override boolean initialize( String classname ); boolean isKerberos( IDatabaseConnection databaseConnection ); static final String SOCKET_TIMEOUT_OPTION; static final String DEFAULT_SOCKET_TIMEOUT; }
@Test public void testGetUsedLibraries() { assertEquals( dialect.getUsedLibraries()[0], "HiveJDBC41.jar" ); }