Class EsEntityProviderConfigBuilder

    • Constructor Detail

      • EsEntityProviderConfigBuilder

        public EsEntityProviderConfigBuilder()
    • Method Detail

      • setEsUrl

        public EsEntityProviderConfigBuilder setEsUrl​(java.lang.String url)
        Sets the Es url.
        Parameters:
        url - the url
        Returns:
        this builder
      • setProxyUrl

        public EsEntityProviderConfigBuilder setProxyUrl​(java.lang.String proxyUrl)
        Sets the proxy url.
        Parameters:
        proxyUrl - the proxyUrl
        Returns:
        this builder
      • setScrollTime

        public EsEntityProviderConfigBuilder setScrollTime​(java.lang.String scrollTime)
        Sets the scroll time.
        Parameters:
        scrollTime - the scrollTime
        Returns:
        this builder
      • setUsername

        public EsEntityProviderConfigBuilder setUsername​(java.lang.String username)
        Sets the username.
        Parameters:
        username - the username
        Returns:
        this builder
      • setEsIndexName

        public EsEntityProviderConfigBuilder setEsIndexName​(java.lang.String esIndexName)
        Sets the table name in the database.
        Parameters:
        esIndexName - the nodes table name
        Returns:
        this builder
      • setEsQuery

        public EsEntityProviderConfigBuilder setEsQuery​(java.lang.String esQuery)
        Sets the Elasticsearch query to be executed upon loading
        Parameters:
        esQuery - the Elasticsearch query to be executed
        Returns:
        this builder
      • setKeyField

        public EsEntityProviderConfigBuilder setKeyField​(java.lang.String nKey)
        Sets the name for the Field holding the keys.
        Parameters:
        nKey - the name of the key Field
        Returns:
        this builder
      • setSourceField

        public EsEntityProviderConfigBuilder setSourceField​(java.lang.String fromVkey)
        Sets the name of the Field holding the keys of the source vertices.
        Parameters:
        fromVkey - the Field name
        Returns:
        this builder
      • setDestinationField

        public EsEntityProviderConfigBuilder setDestinationField​(java.lang.String toVkey)
        Sets the name of the Field holding the keys of the destination vertices.
        Parameters:
        toVkey - the Field id
        Returns:
        this builder
      • setMaxBatchSize

        public EsEntityProviderConfigBuilder setMaxBatchSize​(int maxPreFetchedRows)
        Sets the maximum number of prefetched rows.
        Parameters:
        maxPreFetchedRows - the maximum number of prefetched rows
        Returns:
        this builder