Modifier and Type | Field and Description |
---|---|
static String |
CLIENT_PFX
The Constant CLIENT_PFX.
|
static String |
CONNECTION_TIMEOUT_MILLIS |
static String |
DBNAME_KEY
The Constant DBNAME_KEY.
|
static int |
DEFAULT_CONNECTION_TIMEOUT_MILLIS |
static String |
DEFAULT_DBNAME_VALUE
The Constant DEFAULT_DBNAME_VALUE.
|
static String |
DEFAULT_LOG_RESOURCE_PATH |
static int |
DEFAULT_READ_TIMEOUT_MILLIS |
static String |
DEFAULT_SERVER_BASE_URL
The Constant DEFAULT_SERVER_BASE_URL.
|
static String |
DEFAULT_SESSION_RESOURCE_PATH
The Constant DEFAULT_SESSION_RESOURCE_PATH.
|
static String |
DEFAULT_USER_NAME
The Constant DEFAULT_USER_NAME.
|
static String |
READ_TIMEOUT_MILLIS |
static String |
SERVER_BASE_URL
The Constant SERVER_BASE_URL.
|
static String |
SESSION_CLUSTER_USER
The Constant SESSION_CLUSTER_USER.
|
static String |
SESSION_FILTER_NAMES |
static String |
WS_FILTER_IMPL_SFX |
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 |
getLogResourcePath() |
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
|
static String |
getWSFilterImplConfKey(String filterName) |
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, getPassword, getPattern, getPropertySources, getRange, getRaw, getResource, getSocketAddr, getSocketAddr, getStringCollection, getStrings, getStrings, getTimeDuration, getTrimmed, getTrimmed, getTrimmedStringCollection, getTrimmedStrings, getTrimmedStrings, getValByRegex, hasWarnedDeprecation, isDeprecated, iterator, main, readFields, reloadConfiguration, set, set, setBoolean, setBooleanIfUnset, setClass, setClassLoader, setDeprecatedProperties, setDouble, setEnum, setFloat, setIfUnset, setInt, setLong, setPattern, setQuietMode, setSocketAddr, setStrings, setTimeDuration, size, toString, unset, updateConnectAddr, updateConnectAddr, write, writeXml, writeXml
public 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 DEFAULT_LOG_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 static final String SESSION_FILTER_NAMES
public static final String WS_FILTER_IMPL_SFX
public static final String READ_TIMEOUT_MILLIS
public static final int DEFAULT_READ_TIMEOUT_MILLIS
public static final String CONNECTION_TIMEOUT_MILLIS
public static final int DEFAULT_CONNECTION_TIMEOUT_MILLIS
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)
public String getLogResourcePath()
Copyright © 2014–2016 Apache Software Foundation. All rights reserved.