public class ElasticEndpoint extends Object implements Serializable
| 构造器和说明 |
|---|
ElasticEndpoint(String url) |
ElasticEndpoint(String url,
String sqlPath) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getCharset() |
int |
getConnectTimeout() |
String |
getId() |
String |
getKeyStore() |
String |
getKeyStorePass() |
String |
getKeyStoreType() |
String |
getPassword() |
int |
getRequestTimeout() |
org.elasticsearch.client.RestClient |
getRestClient() |
int |
getSocketTimeout() |
String |
getSqlPath() |
String |
getUrl() |
String |
getUsername() |
void |
initRestClient() |
boolean |
isAuthCaching() |
boolean |
isKeyStoreSelfSign() |
boolean |
isNativeSql() |
void |
setAuthCaching(boolean authCaching) |
void |
setCharset(String charset) |
void |
setConnectTimeout(int connectTimeout) |
void |
setId(String id) |
void |
setKeyStore(String keyStore) |
void |
setKeyStorePass(String keyStorePass) |
void |
setKeyStoreSelfSign(boolean keyStoreSelfSign) |
void |
setKeyStoreType(String keyStoreType) |
void |
setPassword(String password) |
void |
setRequestTimeout(int requestTimeout) |
void |
setSocketTimeout(int socketTimeout) |
void |
setSqlPath(String sqlPath) |
void |
setUrl(String url) |
void |
setUsername(String username) |
public ElasticEndpoint(String url)
public String getSqlPath()
public void setSqlPath(String sqlPath)
public String getUrl()
public void setUrl(String url)
url - the url to setpublic String getUsername()
public void setUsername(String username)
username - the username to setpublic String getPassword()
public void setPassword(String password)
password - the password to setpublic String getId()
public void setId(String id)
id - the id to setpublic String getCharset()
public void setCharset(String charset)
charset - the charset to setpublic int getRequestTimeout()
public void setRequestTimeout(int requestTimeout)
requestTimeout - the requestTimeout to setpublic int getConnectTimeout()
public void setConnectTimeout(int connectTimeout)
connectTimeout - the connectTimeout to setpublic int getSocketTimeout()
public void setSocketTimeout(int socketTimeout)
socketTimeout - the socketTimeout to setpublic org.elasticsearch.client.RestClient getRestClient()
public boolean isNativeSql()
public String getKeyStoreType()
public void setKeyStoreType(String keyStoreType)
keyStoreType - the keyStoreType to setpublic String getKeyStore()
public void setKeyStore(String keyStore)
keyStore - the keyStore to setpublic String getKeyStorePass()
public void setKeyStorePass(String keyStorePass)
keyStorePass - the keyStorePass to setpublic boolean isKeyStoreSelfSign()
public void setKeyStoreSelfSign(boolean keyStoreSelfSign)
keyStoreSelfSign - the keyStoreSelfSign to setpublic boolean isAuthCaching()
public void setAuthCaching(boolean authCaching)
authCaching - the authCaching to setpublic void initRestClient()
Copyright © 2023. All rights reserved.