类 ElasticEndpoint

    • 构造器详细资料

      • ElasticEndpoint

        public ElasticEndpoint​(String url)
      • ElasticEndpoint

        public ElasticEndpoint​(String url,
                               String sqlPath)
    • 方法详细资料

      • 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()