|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lens.client.LensConnectionParams
public class LensConnectionParams
Top level class which encapsulates connections parameters required for lens connection.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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 |
getMetastoreResourcePath()
|
long |
getQueryPollInterval()
|
String |
getQueryResourcePath()
|
LensConf |
getSessionConf()
|
String |
getSessionResourcePath()
|
Map<String,String> |
getSessionVars()
|
String |
getUser()
|
void |
setBaseUrl(String baseUrl)
|
void |
setDbName(String dbName)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LensConnectionParams()
public LensConnectionParams(LensClientConfig conf)
conf
- from which connection parameters are defined.Method Detail |
---|
public String getDbName()
public Map<String,String> getLensConfs()
public Map<String,String> getLensVars()
public Map<String,String> getSessionVars()
public void setDbName(String dbName)
public String getBaseConnectionUrl()
public LensClientConfig getConf()
public String getUser()
public String getSessionResourcePath()
public String getQueryResourcePath()
public String getMetastoreResourcePath()
public long getQueryPollInterval()
public LensConf getSessionConf()
public String toString()
toString
in class Object
public void setBaseUrl(String baseUrl)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |