类 ElasticEndpoint
- java.lang.Object
-
- org.sagacity.sqltoy.config.model.ElasticEndpoint
-
- 所有已实现的接口:
Serializable
public class ElasticEndpoint extends Object implements Serializable
- 版本:
- v1.0,Date:2018年2月5日
- 作者:
- zhongxuchen
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 ElasticEndpoint(String url)ElasticEndpoint(String url, String sqlPath)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetCharset()intgetConnectTimeout()StringgetId()StringgetKeyStore()StringgetKeyStorePass()StringgetKeyStoreType()StringgetPassword()intgetRequestTimeout()org.elasticsearch.client.RestClientgetRestClient()intgetSocketTimeout()StringgetSqlPath()StringgetUrl()StringgetUsername()voidinitRestClient()booleanisAuthCaching()booleanisKeyStoreSelfSign()booleanisNativeSql()voidsetAuthCaching(boolean authCaching)voidsetCharset(String charset)voidsetConnectTimeout(int connectTimeout)voidsetId(String id)voidsetKeyStore(String keyStore)voidsetKeyStorePass(String keyStorePass)voidsetKeyStoreSelfSign(boolean keyStoreSelfSign)voidsetKeyStoreType(String keyStoreType)voidsetPassword(String password)voidsetRequestTimeout(int requestTimeout)voidsetSocketTimeout(int socketTimeout)voidsetSqlPath(String sqlPath)voidsetUrl(String url)voidsetUsername(String username)
-
-
-
方法详细资料
-
getSqlPath
public String getSqlPath()
-
setSqlPath
public void setSqlPath(String sqlPath)
-
getUrl
public String getUrl()
- 返回:
- the url
-
setUrl
public void setUrl(String url)
- 参数:
url- the url to set
-
getUsername
public String getUsername()
- 返回:
- the username
-
setUsername
public void setUsername(String username)
- 参数:
username- the username to set
-
getPassword
public String getPassword()
- 返回:
- the password
-
setPassword
public void setPassword(String password)
- 参数:
password- the password to set
-
getId
public String getId()
- 返回:
- the id
-
setId
public void setId(String id)
- 参数:
id- the id to set
-
getCharset
public String getCharset()
- 返回:
- the charset
-
setCharset
public void setCharset(String charset)
- 参数:
charset- the charset to set
-
getRequestTimeout
public int getRequestTimeout()
- 返回:
- the requestTimeout
-
setRequestTimeout
public void setRequestTimeout(int requestTimeout)
- 参数:
requestTimeout- the requestTimeout to set
-
getConnectTimeout
public int getConnectTimeout()
- 返回:
- the connectTimeout
-
setConnectTimeout
public void setConnectTimeout(int connectTimeout)
- 参数:
connectTimeout- the connectTimeout to set
-
getSocketTimeout
public int getSocketTimeout()
- 返回:
- the socketTimeout
-
setSocketTimeout
public void setSocketTimeout(int socketTimeout)
- 参数:
socketTimeout- the socketTimeout to set
-
getRestClient
public org.elasticsearch.client.RestClient getRestClient()
- 返回:
- the restClient
-
isNativeSql
public boolean isNativeSql()
-
getKeyStoreType
public String getKeyStoreType()
- 返回:
- the keyStoreType
-
setKeyStoreType
public void setKeyStoreType(String keyStoreType)
- 参数:
keyStoreType- the keyStoreType to set
-
getKeyStore
public String getKeyStore()
- 返回:
- the keyStore
-
setKeyStore
public void setKeyStore(String keyStore)
- 参数:
keyStore- the keyStore to set
-
getKeyStorePass
public String getKeyStorePass()
- 返回:
- the keyStorePass
-
setKeyStorePass
public void setKeyStorePass(String keyStorePass)
- 参数:
keyStorePass- the keyStorePass to set
-
isKeyStoreSelfSign
public boolean isKeyStoreSelfSign()
- 返回:
- the keyStoreSelfSign
-
setKeyStoreSelfSign
public void setKeyStoreSelfSign(boolean keyStoreSelfSign)
- 参数:
keyStoreSelfSign- the keyStoreSelfSign to set
-
isAuthCaching
public boolean isAuthCaching()
- 返回:
- the authCaching
-
setAuthCaching
public void setAuthCaching(boolean authCaching)
- 参数:
authCaching- the authCaching to set
-
initRestClient
public void initRestClient()
-
-