public class HiveJdbcBrowserClientFactory extends Object implements IJdbcBrowserClientFactory
IJdbcBrowserClient
objects. This is currently mostly
used to make sure we can instantiate a test browser client which does the browser flow
programmatically to run automated tests.Modifier and Type | Method and Description |
---|---|
IJdbcBrowserClient |
create(Utils.JdbcConnectionParams jdbcParams)
Returns an instance of
IJdbcBrowserClient as per the configuration. |
static HiveJdbcBrowserClientFactory |
get() |
public static HiveJdbcBrowserClientFactory get()
public IJdbcBrowserClient create(Utils.JdbcConnectionParams jdbcParams) throws IJdbcBrowserClient.HiveJdbcBrowserException
IJdbcBrowserClient
as per the configuration. If
hive.test.saml.browser.class is set on the HS2 server side, then this factory will
use its value to instantiate the given class name.create
in interface IJdbcBrowserClientFactory
jdbcParams
- as received from the urlIJdbcBrowserClient
IJdbcBrowserClient.HiveJdbcBrowserException
- In case the test browser class could not be
instantiated.Copyright © 2023 The Apache Software Foundation. All rights reserved.