| Modifier and Type | Field and Description | 
|---|---|
| static String | CLIENT_PFXThe Constant CLIENT_PFX. | 
| static String | DBNAME_KEYThe Constant DBNAME_KEY. | 
| static String | DEFAULT_DBNAME_VALUEThe Constant DEFAULT_DBNAME_VALUE. | 
| static String | DEFAULT_SERVER_BASE_URLThe Constant DEFAULT_SERVER_BASE_URL. | 
| static String | DEFAULT_SESSION_RESOURCE_PATHThe Constant DEFAULT_SESSION_RESOURCE_PATH. | 
| static String | DEFAULT_USER_NAMEThe Constant DEFAULT_USER_NAME. | 
| static String | SERVER_BASE_URLThe Constant SERVER_BASE_URL. | 
| static String | SESSION_CLUSTER_USERThe Constant SESSION_CLUSTER_USER. | 
| Constructor and Description | 
|---|
| LensClientConfig()Instantiates a new lens client config. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getBaseURL()Returns the configured lens server url | 
| String | getLensDatabase()Returns the configured lens server database client wants to access | 
| String | getMetastoreResourcePath() | 
| long | getQueryPollInterval() | 
| String | getQueryResourcePath()Returns the query service path on lens server | 
| String | getSessionResourcePath()Returns the session service path on lens server | 
| String | getUser()Get the username from config | 
| void | setBaseUrl(String baseUrl) | 
| void | setLensDatabase(String dbName)Sets the database to connect on lens server | 
| void | setUser(String user) | 
addDefaultResource, addDeprecation, addDeprecation, addDeprecation, addDeprecation, addDeprecations, addResource, addResource, addResource, addResource, addResource, addResource, clear, dumpConfiguration, dumpDeprecatedKeys, get, get, getBoolean, getClass, getClass, getClassByName, getClassByNameOrNull, getClasses, getClassLoader, getConfResourceAsInputStream, getConfResourceAsReader, getDouble, getEnum, getFile, getFinalParameters, getFloat, getInstances, getInt, getInts, getLocalPath, getLong, getLongBytes, getPattern, getPropertySources, getRange, getRaw, getResource, getSocketAddr, getStringCollection, getStrings, getStrings, getTimeDuration, getTrimmed, getTrimmed, getTrimmedStringCollection, getTrimmedStrings, getTrimmedStrings, getValByRegex, hasWarnedDeprecation, isDeprecated, iterator, main, readFields, reloadConfiguration, set, set, setBoolean, setBooleanIfUnset, setClass, setClassLoader, setDouble, setEnum, setFloat, setIfUnset, setInt, setLong, setPattern, setQuietMode, setSocketAddr, setStrings, setTimeDuration, size, toString, unset, updateConnectAddr, write, writeXml, writeXmlpublic static final String CLIENT_PFX
public static final String DBNAME_KEY
public static final String DEFAULT_DBNAME_VALUE
public static final String DEFAULT_USER_NAME
public static final String DEFAULT_SESSION_RESOURCE_PATH
public static final String SERVER_BASE_URL
public static final String DEFAULT_SERVER_BASE_URL
public static final String SESSION_CLUSTER_USER
public LensClientConfig()
public String getUser()
public void setUser(String user)
public String getBaseURL()
public String getLensDatabase()
public String getSessionResourcePath()
public String getQueryResourcePath()
public void setLensDatabase(String dbName)
dbName - database to connect topublic long getQueryPollInterval()
public String getMetastoreResourcePath()
public void setBaseUrl(String baseUrl)
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.