public class LensConnectionParams extends Object
Constructor and Description |
---|
LensConnectionParams()
Construct parameters required to connect to lens server using values in lens-client-site.xml
|
LensConnectionParams(LensClientConfig conf)
Construct parameters required to connect to lens server from values passed in configuration.
|
Modifier and Type | Method and Description |
---|---|
String |
getBaseConnectionUrl() |
LensClientConfig |
getConf() |
String |
getDbName()
Gets the Database to which lens client should connect to.
|
Map<String,String> |
getLensConfs() |
Map<String,String> |
getLensVars() |
String |
getLogResourcePath() |
String |
getMetastoreResourcePath() |
long |
getQueryPollInterval() |
String |
getQueryResourcePath() |
Set<Class<?>> |
getRequestFilters() |
LensConf |
getSessionConf() |
String |
getSessionResourcePath() |
Map<String,String> |
getSessionVars() |
String |
getUser() |
void |
setBaseUrl(String baseUrl) |
void |
setDbName(String dbName) |
String |
toString() |
public LensConnectionParams()
public LensConnectionParams(LensClientConfig conf)
conf
- from which connection parameters are defined.public String getDbName()
public void setDbName(String dbName)
public String getBaseConnectionUrl()
public LensClientConfig getConf()
public String getUser()
public String getSessionResourcePath()
public String getQueryResourcePath()
public String getMetastoreResourcePath()
public String getLogResourcePath()
public long getQueryPollInterval()
public LensConf getSessionConf()
public void setBaseUrl(String baseUrl)
@Generated(value="lombok") public Set<Class<?>> getRequestFilters()
Copyright © 2014–2016 Apache Software Foundation. All rights reserved.